Reverse a Transaction
Learn about reversing transactions.
Reverse a transaction
Endpoint | Method | Key values | Required fields |
---|---|---|---|
/v2/transactions/{id}/reversal | POST | id | id |
This request performs a Reversal operation. It creates a second transaction with negated taxability amounts to "reverse" the original transaction.
Path parameters
Parameter | Details | Description |
---|---|---|
id | Required string length between 1 and 40 | The Transaction ID of the transaction to be reversed. This is a unique user-defined value that was provided on the original tax calculation. |
Sample request - Reversal
{
"data": {
"transactionId": "string",
"postingDate": "2024-03-07",
"documentNumber": "string"
}
}
Sample response - Reversal
{
"data": {
"transactionId": "string",
"postingDate": "2024-03-07",
"documentNumber": "string"
},
"meta": {
"app": "string",
"timeElapsed(ms)": 0,
"timeReceived": "2024-03-07T22:45:29Z",
"timeElapsedDetails": [
{
"key": "string",
"value": "string"
}
]
}
}
Updated 3 months ago