Transactions
Create or update transaction
Given the details of an invoice, calculate sales tax and save it as a transaction in Anrok. Saved transactions are used by Anrok to file sales tax returns and monitor sales thresholds.
post/v1/seller/transactions/createOrUpdate
Request
- Base URL: https://api.anrok.com
- URL: https://api.anrok.com/v1/seller/transactions/createOrUpdate
- Auth: HTTP bearer
Request body
Example request
{
"currencyCode": "USD",
"customerAddress": {
"country": "ENGLAND",
"line1": "2045 ROYAL ROAD",
"city": "LONDON",
"postalCode": "WIP 6HQ"
},
"customerName": "Acme Inc",
"customerEmailAddress": "john.doe@example.com",
"shipFromAddress": {
"country": "ENGLAND",
"line1": "2045 ROYAL ROAD",
"city": "LONDON",
"postalCode": "WIP 6HQ"
},
"accountingDate": "2017-07-21",
"accountingTime": "2017-07-21T17:32:28Z",
"taxDate": "2017-07-21",
"userFriendlyId": "INV-2706174",
"taxAmountAdded": 200,
"customerId": "v1:1292",
"id": "v1:2706174"
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.