Skip to content

Get list of purchase invoices

Endpoints

https://app.passelimerit.fi/api/v1/getpurchorders

Query Payload

json
{
  "PeriodStart": "YYYYmmDD",
  "PeriodEnd": "YYYYmmDD"
}
Click to see the query parameters
FieldTypeCommentRequired
PeriodStartDateIn format YYYYmmDDRequired
PeriodEndDateIn format YYYYmmDD. Period length max 3 months!Required
UnPaidBooltrue/false

Successful Result

json
[
  {
    "PIHId": "c28546dc-ab9a-4ecd-b9d5-1cf4a0a97348",
    "DepartmentCode": null,
    "DepartmentName": null,
    "ProjectCode": null,
    "CostCenterCode": null,
    "BatchInfo": "OS-4",
    "BillNo": "987654324",
    "DocumentDate": "2020-05-06T00:00:00",
    "TransactionDate": "2020-05-06T00:00:00",
    "VendorId": "cbd0cd6b-c6ce-42c5-9162-0eb4942f2dd5",
    "VendorName": "Mingi Firma AS",
    "VendorRegNo": "123456789",
    "DueDate": "2020-05-06T00:00:00",
    "Fine": 0.00,
    "CurrencyCode": "EUR",
    "CurrencyRate": 1.0000000,
    "TaxAmount": 0.00,
    "RoundingAmount": 0.00,
    "TotalAmount": 471.20,
    "ProfitAmount": 471.20,
    "TotalSum": 471.20,
    "ReferenceNo": null,
    "PriceInclVat": false,
    "VatRegNo": "EE123456789",
    "PaidAmount": 380.00,
    "FileExists": true,
    "InboundTime": "0001-01-01T00:00:00",
    "Operator": null,
    "Paid": false
  },
  // ...
]
Click to see the result parameters
FieldType
PIHIdGuid
DepartmentCodeStr
DepartmentNameStr
ProjectCodeStr
CostCenterCodeStr
BatchInfoStr
BillNoStr
DocumentDateDate
TransactionDateDate
VendorNameStr
VendorIdStr
VendorRegNoStr
DueDateDate
Fine
CurrencyCodeStr
CurrencyRate
TaxAmount
RoundingAmountDecimal 18.2
TotalAmountDecimal 18.2
ProfitAmountDec
TotalSumDec 18.2
ReferenceNoStr
PriceInclVatBool
VatRegNoStr 30
PaidAmountDecimal 18.2