Get Invoice Synchronisation Status
As remote systems retrieve invoice details BigChange will set the Invoice Sync Status to "2 – Sending". BigChange expects the remote system to reply using the InvoiceSetStatus web service to update the sync status for each invoice returned.
If after a period of 5 minutes no status update is received the invoice will be reset to the status of "1 – Unsent".
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | Invoices | Required |
SyncStatus | Int | Retrieves Invoice details for specified status. | Required |
Start | DateTime | Specifies the start date from which invoices will be retrieved. | Required |
End | DateTime | Specifies the end date to which invoices will be retrieved. | Required |
Response Codes
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=invoices
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" } ] }