GET B2BInvoice
Returns the first N downloadable Invoices for a given Supplier
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
int |
integer |
Required |
userName |
Username for Account to be used for Authentication/Authorization |
string |
Required |
password |
Password for Account to be used for Authentication/Authorization |
string |
Required |
internalUser | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
An invoice record with an HTTP 200, or null with the relevant HTTP error code.
InvoiceHeaderViewModelName | Description | Type | Additional information |
---|---|---|---|
HeaderVersion | string |
String length: inclusive between 0 and 50 |
|
SenderEAN | string |
String length: inclusive between 0 and 15 |
|
ReceiverEAN | string |
String length: inclusive between 0 and 15 |
|
InvoiceRefNo | globally unique identifier |
None. |
|
Standard | string |
String length: inclusive between 0 and 50 |
|
TypeVersion | string |
String length: inclusive between 0 and 50 |
|
InstanceIdentifier | string |
String length: inclusive between 0 and 50 |
|
InvoiceType | string |
String length: inclusive between 0 and 50 |
|
MultipleType | string |
String length: inclusive between 0 and 50 |
|
DocumentCreationDatetime | date |
None. |
|
MessageId | string |
String length: inclusive between 0 and 50 |
|
ContentOwnerGLN | string |
String length: inclusive between 0 and 20 |
|
CommandType | string |
String length: inclusive between 0 and 50 |
|
CommandOwnerGLN | string |
String length: inclusive between 0 and 20 |
|
DocumentStatus | string |
String length: inclusive between 0 and 50 |
|
ContentVersion | string |
String length: inclusive between 0 and 10 |
|
DocumentVersion | string |
String length: inclusive between 0 and 10 |
|
DocumentNumber | string |
String length: inclusive between 0 and 50 |
|
CurrencyISOCode | string |
String length: inclusive between 0 and 10 |
|
Type | string |
String length: inclusive between 0 and 50 |
|
CountryISOCode | string |
String length: inclusive between 0 and 10 |
|
BuyerGLN | string |
String length: inclusive between 0 and 20 |
|
SellerGLN | string |
String length: inclusive between 0 and 20 |
|
ShipToGLN | string |
String length: inclusive between 0 and 20 |
|
VATRegistrationNumber | string |
String length: inclusive between 0 and 20 |
|
DocumentTotalExVAT | decimal number |
None. |
|
DocumentTotalInclVAT | decimal number |
None. |
|
DocumentTotalVAT | decimal number |
None. |
|
OrderNumber | integer |
None. |
|
PurchaseOrder | string |
String length: inclusive between 0 and 25 |
|
InvoiceDate | date |
None. |
|
InvoiceNumber | string |
String length: inclusive between 0 and 20 |
|
InvoiceDetails | Collection of InvoiceDetailLineViewModel |
None. |
Response Formats
application/json, text/json
{ "HeaderVersion": "3.2.0", "SenderEAN": "70564", "ReceiverEAN": "6001001018104", "InvoiceRefNo": "383ea52e-ff19-442a-966b-7d1457f5d6b9", "Standard": "EDI 3.2.0", "TypeVersion": "3.2.0", "InstanceIdentifier": "-697390986", "InvoiceType": "INVOICE", "MultipleType": null, "DocumentCreationDatetime": "2025-05-04T09:41:39.4577049+02:00", "MessageId": "638819484994577049", "ContentOwnerGLN": "Supplier GLN", "CommandType": "ADD", "CommandOwnerGLN": "Supplier GLN", "DocumentStatus": "ORIGINAL", "ContentVersion": "3.2.0", "DocumentVersion": "1.0", "DocumentNumber": "DocNum", "CurrencyISOCode": "ZAR", "Type": "Invoice", "CountryISOCode": "ZA", "BuyerGLN": "6001001018104", "SellerGLN": "Supplier GLN", "ShipToGLN": "6001001018104", "VATRegistrationNumber": "VAT Reg No", "DocumentTotalExVAT": 1041.96, "DocumentTotalInclVAT": 914.0, "DocumentTotalVAT": 127.96, "OrderNumber": 1172006404, "PurchaseOrder": "1172006404", "InvoiceDate": "2025-05-09T09:41:39.4577049+02:00", "InvoiceNumber": "Invoice_Num", "InvoiceDetails": [ { "InvoiceDetailRefNo": "415c5d9b-f285-47e6-904b-bb08a1227968", "InvoiceRefNo": "383ea52e-ff19-442a-966b-7d1457f5d6b9", "LineNumber": 1, "EANNumber": "EANNumber.........20", "SupplierCode": 863222, "Quantity": 50.0, "PackSize": 12.0, "TaxPercentage": 14.0, "TaxFeeCategory": "STANDARD", "UnitOfMeasure": "UnitOfMeasure.....20", "TransferOfOwnershipDate": "2025-05-04T00:00:00", "CostPrice": 457.0, "LanguageISOCode": "LangISO.10", "Description": "Description...........50", "NettPrice": 520.98, "TaxFeeType": "VAT", "TaxAmount": 63.98 }, { "InvoiceDetailRefNo": "cc3f1b6d-8508-4c14-847f-a717af15bbff", "InvoiceRefNo": "383ea52e-ff19-442a-966b-7d1457f5d6b9", "LineNumber": 2, "EANNumber": "EANNumber.........20", "SupplierCode": 863222, "Quantity": 50.0, "PackSize": 12.0, "TaxPercentage": 14.0, "TaxFeeCategory": "STANDARD", "UnitOfMeasure": "UnitOfMeasure.....20", "TransferOfOwnershipDate": "2025-05-04T00:00:00", "CostPrice": 457.0, "LanguageISOCode": "LangISO.10", "Description": "Description...........50", "NettPrice": 520.98, "TaxFeeType": "VAT", "TaxAmount": 63.98 } ] }