POST dealer/invoices
Get invoice detail by dealer and invoice id
Request Information
Parameters
| Name | Description |
|---|---|
dealer
[Mandatory, string]
|
Dealer number. Length must be 5. A five-digit number, made up of a unique 4-digit numerical dealer number and a single digit Nth numerical digit that denotes department type. Or corresponding SapBoNumber, length must be 8. |
key
[Mandatory, Guid]
|
Dealer API key: The dealer provided the authorization key. The key can be foun by the dealer in the Dealernet portal under the "Dealer" menu option. |
ID
[Mandatory, int]
|
Invoice id (can get from the dealer/dealer_invoices api) |
Request body formats
application/json
Example:
{
"dealer": "83289",
"key": "********-****-****-****-***********",
"ID": "838328"
}
Response Information
Response body formats
application/json
Example:
{
"Delivery": "S8328",
"Charge": "S8328",
"InvoiceNumber": "838328",
"InvoiceDate": "20/07/16",
"CompanyName": "HONDA DEALERSHIP",
"Address1": "123 SOME STREET",
"Address2": "SOMEPLACE",
"Postcode": "5000",
"CustomerABN": "84 123 456 789",
"CustomerReference": "ABCD1234",
"DeliveryDate": "20/07/16",
"DeliveryMethod": "STARTRACK - AIR",
"DeliveryMethod2": "PHONE 13 23 45",
"DeliveryNumber": "00000001",
"DeliveryReference": "00000001",
"OrderNumber": "01111111",
"OrderDate": "19/07/16",
"OrderType": "Daily",
"OrderTypeName": "HOOS Quick Order",
"HoosInvoiceItems": [
{
"LineNumber": "90",
"PartNumber": "90321-MM5-000",
"PartDescription": "NUT,CLIP,6MM",
"PartQuantityOrdered": 6,
"PartQuantityAllocated": 6,
"PartQuantityBackorder": 0,
"ListPrice": 6.31,
"WholesalePrice": 4.73,
"Extension": 28.38
},
{
"LineNumber": "10",
"PartNumber": "19300-KZ4-A90",
"PartDescription": "ROD COMP,TIE",
"PartQuantityOrdered": 1,
"PartQuantityAllocated": 0,
"PartQuantityBackorder": 1,
"ListPrice": 59.54,
"WholesalePrice": 0,
"Extension": 0
}
],
"SubTotal": 28.38,
"Gst": 2.84,
"GrandTotal": 31.22
}
Or Bad Response:
The invoice source has returned data. Please contact Honda web services with your query settings...
Notes
The 'key' in the request body example is masked for security.