salesInvoice

GET {{url}}/{{environment}}/api/v2.0/companies({{companyId}})/salesInvoices({{salesInvoiceId}})?tenant={{tenant}}

Request Params

KeyDatatypeRequiredDescription
tenantstring

RESPONSES

status: OK

{"@odata.context":"http://bcserver:7048/BC/api/v2.0/$metadata#companies(a19eca60-4a86-ed11-aad5-000d3a38ed32)/salesInvoices/$entity","@odata.etag":"W/\"JzIwOzExNTg5NTkxODg5MDY2Nzk4NTAxMTswMDsn\"","id":"0166f28d-4a86-ed11-aad5-000d3a38ed32","number":"102001","externalDocumentNumber":"","invoiceDate":"2021-01-19","postingDate":"2021-01-19","dueDate":"2021-01-19","customerPurchaseOrderReference":"","customerId":"4753076f-4a86-ed11-aad5-000d3a38ed32","customerNumber":"20000","customerName":"Trey Research","billToName":"Trey Research","billToCustomerId":"4753076f-4a86-ed11-aad5-000d3a38ed32","billToCustomerNumber":"20000","shipToName":"Trey Research","shipToContact":"Helen Ray","sellToAddressLine1":"Southwark Bridge Rd, 91-95","sellToAddressLine2":"","sellToCity":"London","sellToCountry":"GB","sellToState":"","sellToPostCode":"SE1 0AX","billToAddressLine1":"Southwark Bridge Rd, 91-95","billToAddressLine2":"","billToCity":"London","billToCountry":"GB","billToState":"","billToPostCode":"SE1 0AX","shipToAddressLine1":"Southwark Bridge Rd, 91-95","shipToAddressLine2":"","shipToCity":"London","shipToCountry":"GB","shipToState":"","shipToPostCode":"SE1 0AX","currencyId":"00000000-0000-0000-0000-000000000000","shortcutDimension1Code":"","shortcutDimension2Code":"LARGE","currencyCode":"GBP","orderId":"00000000-0000-0000-0000-000000000000","orderNumber":"","paymentTermsId":"7b15f968-4a86-ed11-aad5-000d3a38ed32","shipmentMethodId":"fa52076f-4a86-ed11-aad5-000d3a38ed32","salesperson":"JO","pricesIncludeTax":false,"remainingAmount":133.5,"discountAmount":0,"discountAppliedBeforeTax":true,"totalAmountExcludingTax":106.8,"totalTaxAmount":26.7,"totalAmountIncludingTax":133.5,"status":"Draft","lastModifiedDateTime":"2022-12-28T00:57:40.89Z","phoneNumber":"","email":"helen.ray@contoso.com"}