curl --request GET \
--url https://api.numeralhq.com/tax/transactions/{transaction_id}/refunds \
--header 'Authorization: Bearer <token>'{
"refunds": [
{
"id": "ref_tr_123456789",
"object": "tax.refund",
"testmode": "false",
"refund_processed_at": 1714787673,
"line_items": [
{
"product": {
"reference_product_name": "Widget",
"reference_line_item_id": "line_987654321",
"reference_product_id": "p-1233543",
"product_tax_code": "GENERAL_MERCHANDISE"
},
"tax_jurisdictions": [
{
"tax_rate": 0.07,
"rate_type": "SALES TAX",
"jurisdiction_name": "Indiana",
"fee_amount": 0,
"note": "Cross-border B2B sale to VAT-registered business, reverse charge applies"
}
],
"quantity": 2,
"tax_amount": -14,
"amount_excluding_tax": -200,
"amount_including_tax": -214
}
]
}
]
}Retrieve the refunds for a specific transaction
curl --request GET \
--url https://api.numeralhq.com/tax/transactions/{transaction_id}/refunds \
--header 'Authorization: Bearer <token>'{
"refunds": [
{
"id": "ref_tr_123456789",
"object": "tax.refund",
"testmode": "false",
"refund_processed_at": 1714787673,
"line_items": [
{
"product": {
"reference_product_name": "Widget",
"reference_line_item_id": "line_987654321",
"reference_product_id": "p-1233543",
"product_tax_code": "GENERAL_MERCHANDISE"
},
"tax_jurisdictions": [
{
"tax_rate": 0.07,
"rate_type": "SALES TAX",
"jurisdiction_name": "Indiana",
"fee_amount": 0,
"note": "Cross-border B2B sale to VAT-registered business, reverse charge applies"
}
],
"quantity": 2,
"tax_amount": -14,
"amount_excluding_tax": -200,
"amount_including_tax": -214
}
]
}
]
}X-API-Version: 2025-05-12 header in your request to use this API version.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The transaction ID used to fetch associated refunds
List of refunds for a specific transaction
Show child attributes
The ID of the refund
"ref_tr_123456789"
The type of object: tax.refund.
"tax.refund"
True if using a production API key. False if using a test API key.
"false"
Unix timestamp in seconds representing the date and time the refund was made. If not provided, the time the refund was created will be used.
1714787673
Show child attributes
Show child attributes
"Widget"
"line_987654321"
"p-1233543"
"GENERAL_MERCHANDISE"
Show child attributes
The tax rate percentage applied to this transaction.
0.07
"SALES TAX"
"Indiana"
The flat fee that is added to this transaction. Like all numeric values, this will be returned in cents and should be added directly to the tax amount independent of other percentages. For example, a $100 transaction taxed at 5% and with a fee_amount: 50 will lead to ($100 * 5% + 0.50) = $5.50 in tax being charged
0
Additional information about the tax jurisdiction. Available with API version 2025-05-12. For B2B transactions, reverse charge is determined by comparing origin_address.address_country vs customer.address.address_country (same country = domestic VAT, different countries = reverse charge).
"Cross-border B2B sale to VAT-registered business, reverse charge applies"
The quantity of this product being refunded.
2
The tax amount, which should be a negative number for refunds.
-14
The amount excluding tax, which should be a negative number for refunds.
-200
The amount including tax, which should be a negative number for refunds.
-214