Transactions
Create ephemeral transaction
Given the details of an invoice, calculate sales tax without saving the transaction in Anrok. Ephemeral transactions are not used by Anrok to file sales tax returns or monitor sales thresholds.
post/v1/seller/transactions/createEphemeral
Request
- Base URL: https://api.anrok.com
- URL: https://api.anrok.com/v1/seller/transactions/createEphemeral
- 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"
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.