Get an Invoice
This service generates and returns a copy of the invoice for the given Id or reference.
The invoice is generated in real-time.
The invoice is not attached to a BigChange job.
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | InvoiceDownload | Required |
InvoiceId | Int | Invoice Id. | Required |
InvoiceRef | String | Invoice Reference. | Required |
note
InvoiceId takes precedence over InvoiceRef if both are supplied.
Response Codes
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=invoicedownload
Response Data
{ "Code": 0, "Result": [ { "JourneyId": "12345", "StartTime": "2024-08-18T08:00:00Z", "EndTime": "2024-08-18T10:00:00Z", "StartLocation": "Location A", "EndLocation": "Location B", "Distance": 25.6, "Unit": "kilometers" } ] }