GET api/invoice/get
Returns the complete list of invoices.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Formats
application/json, text/json
Sample:
[ { "CustomerCode": "sample string 2", "InvoiceNumber": "sample string 3", "PONumber": "sample string 4", "InvoiceDate": "2019-03-01", "InvoiceDateDue": "2019-03-15", "InvoiceText": "sample string 5", "InvoiceType": "sample string 6", "Currency": "EURO", "Addressee": { "Company": "sample string 1", "Contact": "sample string 2", "AddressLineOne": "sample string 3", "AddressLineTwo": "sample string 4", "PostalCode": "sample string 5", "City": "sample string 6", "CountryCode": "sample string 7", "Email": "sample string 8", "VatNumber": "sample string 9", "VatShift": true }, "EventDetails": { "Name": "sample string 1", "Id": 1 }, "OrderLines": [ { "ArticleCode": "sample string 1", "Description": "sample string 2", "Quantity": 3.1, "Unit": "sample string 4", "Price": 5.1, "Net": 6.1, "VatRate": 7.1, "VatTransfered": true, "SortOrder": 9 }, { "ArticleCode": "sample string 1", "Description": "sample string 2", "Quantity": 3.1, "Unit": "sample string 4", "Price": 5.1, "Net": 6.1, "VatRate": 7.1, "VatTransfered": true, "SortOrder": 9 } ], "Net": 7.1, "Vat": 8.1, "Gross": 9.1, "CustomFields": { "sample string 1": {}, "sample string 3": {} } }, { "CustomerCode": "sample string 2", "InvoiceNumber": "sample string 3", "PONumber": "sample string 4", "InvoiceDate": "2019-03-01", "InvoiceDateDue": "2019-03-15", "InvoiceText": "sample string 5", "InvoiceType": "sample string 6", "Currency": "EURO", "Addressee": { "Company": "sample string 1", "Contact": "sample string 2", "AddressLineOne": "sample string 3", "AddressLineTwo": "sample string 4", "PostalCode": "sample string 5", "City": "sample string 6", "CountryCode": "sample string 7", "Email": "sample string 8", "VatNumber": "sample string 9", "VatShift": true }, "EventDetails": { "Name": "sample string 1", "Id": 1 }, "OrderLines": [ { "ArticleCode": "sample string 1", "Description": "sample string 2", "Quantity": 3.1, "Unit": "sample string 4", "Price": 5.1, "Net": 6.1, "VatRate": 7.1, "VatTransfered": true, "SortOrder": 9 }, { "ArticleCode": "sample string 1", "Description": "sample string 2", "Quantity": 3.1, "Unit": "sample string 4", "Price": 5.1, "Net": 6.1, "VatRate": 7.1, "VatTransfered": true, "SortOrder": 9 } ], "Net": 7.1, "Vat": 8.1, "Gross": 9.1, "CustomFields": { "sample string 1": {}, "sample string 3": {} } } ]
application/xml, text/xml
Sample:
<ArrayOfInvoiceAccounting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Expodoc.Api.Classes.Contracts.Invoicing"> <InvoiceAccounting> <Addressee> <AddressLineOne>sample string 3</AddressLineOne> <AddressLineTwo>sample string 4</AddressLineTwo> <City>sample string 6</City> <Company>sample string 1</Company> <Contact>sample string 2</Contact> <CountryCode>sample string 7</CountryCode> <Email>sample string 8</Email> <PostalCode>sample string 5</PostalCode> <VatNumber>sample string 9</VatNumber> <VatShift>true</VatShift> </Addressee> <Currency>EURO</Currency> <CustomFields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> </CustomFields> <CustomerCode>sample string 2</CustomerCode> <EventDetails> <Id>1</Id> <Name>sample string 1</Name> </EventDetails> <Gross>9.1</Gross> <InvoiceDate>2019-03-01</InvoiceDate> <InvoiceDateDue>2019-03-15</InvoiceDateDue> <InvoiceNumber>sample string 3</InvoiceNumber> <InvoiceText>sample string 5</InvoiceText> <InvoiceType>sample string 6</InvoiceType> <Net>7.1</Net> <OrderLines> <InvoiceAccountingOrderLine> <ArticleCode>sample string 1</ArticleCode> <Description>sample string 2</Description> <Net>6.1</Net> <Price>5.1</Price> <Quantity>3.1</Quantity> <SortOrder>9</SortOrder> <Unit>sample string 4</Unit> <VatRate>7.1</VatRate> <VatTransfered>true</VatTransfered> </InvoiceAccountingOrderLine> <InvoiceAccountingOrderLine> <ArticleCode>sample string 1</ArticleCode> <Description>sample string 2</Description> <Net>6.1</Net> <Price>5.1</Price> <Quantity>3.1</Quantity> <SortOrder>9</SortOrder> <Unit>sample string 4</Unit> <VatRate>7.1</VatRate> <VatTransfered>true</VatTransfered> </InvoiceAccountingOrderLine> </OrderLines> <PONumber>sample string 4</PONumber> <Vat>8.1</Vat> </InvoiceAccounting> <InvoiceAccounting> <Addressee> <AddressLineOne>sample string 3</AddressLineOne> <AddressLineTwo>sample string 4</AddressLineTwo> <City>sample string 6</City> <Company>sample string 1</Company> <Contact>sample string 2</Contact> <CountryCode>sample string 7</CountryCode> <Email>sample string 8</Email> <PostalCode>sample string 5</PostalCode> <VatNumber>sample string 9</VatNumber> <VatShift>true</VatShift> </Addressee> <Currency>EURO</Currency> <CustomFields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> </CustomFields> <CustomerCode>sample string 2</CustomerCode> <EventDetails> <Id>1</Id> <Name>sample string 1</Name> </EventDetails> <Gross>9.1</Gross> <InvoiceDate>2019-03-01</InvoiceDate> <InvoiceDateDue>2019-03-15</InvoiceDateDue> <InvoiceNumber>sample string 3</InvoiceNumber> <InvoiceText>sample string 5</InvoiceText> <InvoiceType>sample string 6</InvoiceType> <Net>7.1</Net> <OrderLines> <InvoiceAccountingOrderLine> <ArticleCode>sample string 1</ArticleCode> <Description>sample string 2</Description> <Net>6.1</Net> <Price>5.1</Price> <Quantity>3.1</Quantity> <SortOrder>9</SortOrder> <Unit>sample string 4</Unit> <VatRate>7.1</VatRate> <VatTransfered>true</VatTransfered> </InvoiceAccountingOrderLine> <InvoiceAccountingOrderLine> <ArticleCode>sample string 1</ArticleCode> <Description>sample string 2</Description> <Net>6.1</Net> <Price>5.1</Price> <Quantity>3.1</Quantity> <SortOrder>9</SortOrder> <Unit>sample string 4</Unit> <VatRate>7.1</VatRate> <VatTransfered>true</VatTransfered> </InvoiceAccountingOrderLine> </OrderLines> <PONumber>sample string 4</PONumber> <Vat>8.1</Vat> </InvoiceAccounting> </ArrayOfInvoiceAccounting>