GET Integrations/CSV/V1/GetCreditNotes
Returns the credit notes 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-06T12:22:12.8789361",
"EndDate": "2026-10-06T12:22:12.8789361",
"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 CreditNoteExportLineDto| Name | Type | Description | Additional information |
|---|---|---|---|
| Site | string |
None. |
|
| CreditNoteID | integer |
None. |
|
| Reference | string |
None. |
|
| CompanyCode | string |
None. |
|
| SupplierID | integer |
None. |
|
| SupplierCode | string |
None. |
|
| CreditDateUtc | datetime |
None. |
|
| CreditNoteLineID | integer |
None. |
|
| PurchaseOrderID | 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. |
|
| VATCode | string |
None. |
|
| AcceptanceDateUtc | datetime |
None. |
|
| ApprovalDateUtc | datetime |
None. |
|
| CompleteDateUtc | datetime |
None. |
|
| LastModifiedUtc | datetime |
None. |
|
| LastModifiedBy | string |
None. |
|
| DeductStock | boolean |
None. |
|
| ProductTypeID | integer |
None. |
|
| ProductTypeName | string |
None. |
|
| ProductGroupID | integer |
None. |
|
| ProductGroupName | string |
None. |
|
| StockLocationID | integer |
None. |
|
| StockLocationName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Site": "sample string 1",
"CreditNoteID": 2,
"Reference": "sample string 3",
"CompanyCode": "sample string 4",
"SupplierID": 5,
"SupplierCode": "sample string 6",
"CreditDateUtc": "2026-10-06T12:22:12.8789361",
"CreditNoteLineID": 7,
"PurchaseOrderID": 1,
"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,
"VATCode": "sample string 15",
"AcceptanceDateUtc": "2026-10-06T12:22:12.8789361",
"ApprovalDateUtc": "2026-10-06T12:22:12.8789361",
"CompleteDateUtc": "2026-10-06T12:22:12.8789361",
"LastModifiedUtc": "2026-10-06T12:22:12.8789361",
"LastModifiedBy": "sample string 16",
"DeductStock": true,
"ProductTypeID": 18,
"ProductTypeName": "sample string 19",
"ProductGroupID": 20,
"ProductGroupName": "sample string 21",
"StockLocationID": 22,
"StockLocationName": "sample string 23"
},
{
"Site": "sample string 1",
"CreditNoteID": 2,
"Reference": "sample string 3",
"CompanyCode": "sample string 4",
"SupplierID": 5,
"SupplierCode": "sample string 6",
"CreditDateUtc": "2026-10-06T12:22:12.8789361",
"CreditNoteLineID": 7,
"PurchaseOrderID": 1,
"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,
"VATCode": "sample string 15",
"AcceptanceDateUtc": "2026-10-06T12:22:12.8789361",
"ApprovalDateUtc": "2026-10-06T12:22:12.8789361",
"CompleteDateUtc": "2026-10-06T12:22:12.8789361",
"LastModifiedUtc": "2026-10-06T12:22:12.8789361",
"LastModifiedBy": "sample string 16",
"DeductStock": true,
"ProductTypeID": 18,
"ProductTypeName": "sample string 19",
"ProductGroupID": 20,
"ProductGroupName": "sample string 21",
"StockLocationID": 22,
"StockLocationName": "sample string 23"
}
]
application/xml, text/xml
Sample:
System.Xml.XmlDocument