GET v1/Orders/{orderId}/Invoices
Get a list with all Invoices for a given order.
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
orderId |
The order identifier. |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A list of the OrderComment objects.
Collection of InvoiceBase
Name | Description | Type | Additional information |
---|---|---|---|
Id |
Gets or sets the identifier. |
integer |
Required |
InvoiceCode |
Gets or sets the invoice code. |
string |
Max length: 20 |
OrderId |
Gets or sets the corresponding Order Id. |
integer |
Required |
OrderCode |
Gets or sets the corresponding Order code. |
string |
None. |
InvoiceDate |
Gets or sets the date. |
date |
None. |
InvoiceTotalIncVat |
Gets or sets the invoice total with the 'VAT'. |
decimal number |
Required |
InvoiceTotalExVat |
Gets or sets the invoice total without the 'VAT'. |
decimal number |
Required |
CurrencyId |
Gets or sets the currency identifier. |
integer |
None. |
CurrencyCode |
Gets or sets the currency code. |
string |
None. |
Deleted |
Gets or sets a value indicating whether this |
boolean |
None. |
ChangeTimestamp |
Gets or sets the change timestamp. |
date |
None. |
MainStatusId |
Gets or sets the main status identifier. |
integer |
None. |
DocumentFileId |
Gets the document File ID (pdf). |
integer |
None. |
Response Formats
application/json, text/json
[ { "Id": 1, "InvoiceCode": "sample string 2", "OrderId": 3, "OrderCode": "sample string 4", "InvoiceDate": "2021-12-02T20:19:34.310359+01:00", "InvoiceTotalIncVat": 5.0, "InvoiceTotalExVat": 6.0, "CurrencyId": 7, "CurrencyCode": "sample string 8", "Deleted": true, "ChangeTimestamp": "2021-12-02T20:19:34.310359+01:00", "MainStatusId": 1, "DocumentFileId": 1 }, { "Id": 1, "InvoiceCode": "sample string 2", "OrderId": 3, "OrderCode": "sample string 4", "InvoiceDate": "2021-12-02T20:19:34.310359+01:00", "InvoiceTotalIncVat": 5.0, "InvoiceTotalExVat": 6.0, "CurrencyId": 7, "CurrencyCode": "sample string 8", "Deleted": true, "ChangeTimestamp": "2021-12-02T20:19:34.310359+01:00", "MainStatusId": 1, "DocumentFileId": 1 } ]
application/xml, text/xml
<ArrayOfInvoiceBase xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <InvoiceBase> <Id>1</Id> <InvoiceCode>sample string 2</InvoiceCode> <OrderId>3</OrderId> <OrderCode>sample string 4</OrderCode> <InvoiceDate>2021-12-02T20:19:34.310359+01:00</InvoiceDate> <InvoiceTotalIncVat>5</InvoiceTotalIncVat> <InvoiceTotalExVat>6</InvoiceTotalExVat> <CurrencyId>7</CurrencyId> <CurrencyCode>sample string 8</CurrencyCode> <Deleted>true</Deleted> <ChangeTimestamp>2021-12-02T20:19:34.310359+01:00</ChangeTimestamp> <MainStatusId>1</MainStatusId> <DocumentFileId>1</DocumentFileId> </InvoiceBase> <InvoiceBase> <Id>1</Id> <InvoiceCode>sample string 2</InvoiceCode> <OrderId>3</OrderId> <OrderCode>sample string 4</OrderCode> <InvoiceDate>2021-12-02T20:19:34.310359+01:00</InvoiceDate> <InvoiceTotalIncVat>5</InvoiceTotalIncVat> <InvoiceTotalExVat>6</InvoiceTotalExVat> <CurrencyId>7</CurrencyId> <CurrencyCode>sample string 8</CurrencyCode> <Deleted>true</Deleted> <ChangeTimestamp>2021-12-02T20:19:34.310359+01:00</ChangeTimestamp> <MainStatusId>1</MainStatusId> <DocumentFileId>1</DocumentFileId> </InvoiceBase> </ArrayOfInvoiceBase>