Add or Replace an Account Receipt
Create a BigChange payment POST (AccountReceiptSave)
This service creates a payment against an invoice in BigChange. The service will remove any existing payments and it will replace the payment with a single line based on the value specified in the Net Amount. The service requires a JSON payload containing the below field and values.
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | AccountReceiptSave | Required |
AccountRef | String | The contacts account reference located in CRM => Financial => Terms. This is a validation field only to confirm that the contacts account reference exists. | Required |
Date | String | The date of the payment. | Required |
TaxCode | String | The tax code of the payment. | Required |
NetAmount | Double | The net amount of the payment value. | Required |
TaxAmount | Double | The tax amount of the payment value. | Required |
InvoiceRef | String | The invoice reference in BigChange. | Required |
PaymentRef | String | The payments reference. | Required |
Response Codes
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=accountreceiptsave
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" } ] }