v1
latestOpenAPI 3.0.22026-08-061464031.4 MBTax retentions
Get a tax retention's details
Get the details of a specific tax retention.
get/api/tax-retentions/{id}/
Path parameters
idstring uuid required
The tax-retention.id you want to get detailed information about.
Query parameters
omitstring
Omit certain fields from being returned in the response. For more information, see our <a href="https://developers.belvo.com/docs/searching-and-filtering" target="_blank">Filtering responses</a> DevPortal article.
fieldsstring
Return only the specified fields in the response. For more information, see our <a href="https://developers.belvo.com/docs/searching-and-filtering" target="_blank">Filtering responses</a> DevPortal article.
Response
Ok
Example response
{
"id": "0d3ffb69-f83b-456e-ad8e-208d0998d71d",
"link": "30cb4806-6e00-48a4-91c9-ca55968576c8",
"collected_at": "2022-02-09T08:45:50.406032Z",
"created_at": "2022-02-09T08:45:50.406032Z",
"invoice_identification": "def404af-5eef-4112-aa99-d1ec8493b89a",
"version": "1.0",
"code": 25,
"issued_at": "2019-01-03T21:10:40.000Z",
"certified_at": "2019-01-03T21:10:41.000Z",
"sender_id": "JKUF980404P0",
"sender_name": "Roberto Nunez Batman",
"receiver_nationality": "NATIONAL",
"receiver_id": "GYGK3207809L1",
"receiver_name": "ACME LTD",
"total_invoice_amount": 53249.8,
"total_exempt_amount": 1000.8,
"total_retained_amount": 1550.7,
"total_taxable_amount": 43249,
"retention_breakdown": [
{
"base_amount": 0.03,
"tax_type": "01",
"payment_status": "PAID"
}
],
"xml": "=XML-STRING="
}