GET Integrations/CSV/V1/GetPurchaseInvoices
Returns the purchase invoices export data
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| SiteIDs | Collection of integer |
List of Site IDs to get export data for |
None. |
| StartDate | datetime |
Start time range for the export |
None. |
| EndDate | datetime |
End time range for the export |
None. |
| StockLocationID | integer |
Stock Location ID filter |
None. |
| SupplierCode | string |
Supplier Code filter |
None. |
| SupplierID | integer |
Supplier ID filter |
None. |
Body Parameters
CSVExportRequestCommand| Name | Type | Description | Additional information |
|---|---|---|---|
| SiteIDs | Collection of integer |
List of Site IDs to get export data for |
None. |
| StartDate | datetime |
Start time range for the export |
None. |
| EndDate | datetime |
End time range for the export |
None. |
| StockLocationID | integer |
Stock Location ID filter |
None. |
| SupplierCode | string |
Supplier Code filter |
None. |
| SupplierID | integer |
Supplier ID filter |
None. |
Request Formats
application/json, text/json
Sample:
{
"SiteIDs": [
1,
2
],
"StartDate": "2026-10-10T23:18:46.6746995",
"EndDate": "2026-10-10T23:18:46.6746995",
"StockLocationID": 3,
"SupplierCode": "sample string 4",
"SupplierID": 5
}
application/xml, text/xml
Sample:
System.Xml.XmlDocument
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of PurchaseInvoiceExportLineDto| Name | Type | Description | Additional information |
|---|---|---|---|
| Site | string |
None. |
|
| PurchaseOrderID | integer |
None. |
|
| InvoiceNumber | string |
None. |
|
| CompanyCode | string |
None. |
|
| SupplierCode | string |
None. |
|
| DeliveryDateUtc | datetime |
None. |
|
| OrderLineID | integer |
None. |
|
| CurrencyCode | string |
None. |
|
| Description | string |
None. |
|
| AccountCode | string |
None. |
|
| CostCentreCode | string |
None. |
|
| Quantity | decimal number |
None. |
|
| UnitNetCost | decimal number |
None. |
|
| UnitVATAmount | decimal number |
None. |
|
| HandlingFeeNet | decimal number |
None. |
|
| HandlingFeeTax | decimal number |
None. |
|
| VATCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Site": "sample string 1",
"PurchaseOrderID": 2,
"InvoiceNumber": "sample string 3",
"CompanyCode": "sample string 4",
"SupplierCode": "sample string 5",
"DeliveryDateUtc": "2026-10-10T23:18:46.6746995",
"OrderLineID": 7,
"CurrencyCode": "sample string 8",
"Description": "sample string 9",
"AccountCode": "sample string 10",
"CostCentreCode": "sample string 11",
"Quantity": 12.0,
"UnitNetCost": 13.0,
"UnitVATAmount": 14.0,
"HandlingFeeNet": 15.0,
"HandlingFeeTax": 16.0,
"VATCode": "sample string 17"
},
{
"Site": "sample string 1",
"PurchaseOrderID": 2,
"InvoiceNumber": "sample string 3",
"CompanyCode": "sample string 4",
"SupplierCode": "sample string 5",
"DeliveryDateUtc": "2026-10-10T23:18:46.6746995",
"OrderLineID": 7,
"CurrencyCode": "sample string 8",
"Description": "sample string 9",
"AccountCode": "sample string 10",
"CostCentreCode": "sample string 11",
"Quantity": 12.0,
"UnitNetCost": 13.0,
"UnitVATAmount": 14.0,
"HandlingFeeNet": 15.0,
"HandlingFeeTax": 16.0,
"VATCode": "sample string 17"
}
]
application/xml, text/xml
Sample:
System.Xml.XmlDocument