---
title: "Get a tax retention's details"
method: GET
path: "/api/tax-retentions/{id}/"
tags: ["Tax retentions"]
---

# Get a tax retention's details

`GET /api/tax-retentions/{id}/`

Get the details of a specific tax retention.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `omit` string
- `fields` string

## Response `200`

Ok

- TaxRetentions
  - `id` string, uuid — Belvo's unique identifier for the current item.
  - `link` string, uuid, nullable — The `link.id` the data belongs to.
  - `collected_at` string, date-time, required — The ISO-8601 timestamp when the data point was collected.
  - `created_at` string, date-time — The ISO-8601 timestamp of when the data point was created in Belvo's database.
  - `invoice_identification` string, uuid, nullable, required — The fiscal institution's unique ID for the invoice that the tax retention relates to.
  - `version` string, nullable, required — The CFDI version of the tax retentions.
  - `code` integer, nullable, required — The tax retention code. For more information, see our <a href="https://developers.belvo.com/docs/sat-catalogs#retention-code" target="_blank">SAT Catalogs DevPortal article</a>.
  - `issued_at` string, date-time, nullable, required — The ISO-8601 timestamp of when the tax retention was issued.
  - `certified_at` string, date-time, nullable, required — The ISO-8601 timestamp of when the tax retention was certified.
  - `cancelled_at` string, date-time, nullable, required — The ISO-8601 timestamp of when the tax retention was canceled (if applicable).
  - `sender_id` string, nullable, required — The fiscal ID of the invoice sender.
  - `sender_name` string, nullable, required — The name of the invoice sender.
  - `receiver_nationality` 'NATIONAL' | 'FOREIGN', nullable, required — Whether the invoice receiver is a Mexican national or not. If the receiver is not considered a Mexican national, the retained taxes can be calculated differently. Possible values: - `NATIONAL` - `FOREIGN`
  - `receiver_id` string, nullable, required — The fiscal ID of the invoice receiver.
  - `receiver_name` string, nullable, required — The name of the invoice receiver.
  - `total_invoice_amount` number, float, nullable, required — The total amount of the invoice that the tax retention relates to.
  - `total_exempt_amount` number, float, nullable, required — Total amount that is exempt from taxation.
  - `total_retained_amount` number, float, nullable, required — Total tax retained.
  - `total_taxable_amount` number, float, nullable, required — The total amount that can be taxed. Calculated as `total_invoice_amount` - `total_exempt_amount`.
  - `retention_breakdown` RetentionBreakdown[], nullable, required — A breakdown of the retained taxes.
    - `base_amount` number, float, nullable, required — The base amount that was used to calculate the tax retention.
    - `tax_type` string, nullable, required — Optional attribute to indicate the type of tax withheld for the period or year according to the <a href="https://developers.belvo.com/docs/sat-catalogs#retention-code" target="_blank">SAT catalog</a>.
    - `retained_amount` number, float, nullable, required — The amount retained.
    - `payment_status` 'PAID' | 'PROVISIONED', nullable, required — Indicates whether or not the tax has been paid or not. Can be either: - `PAID` - `PROVISIONED`
  - `xml` string, nullable, required — The tax retention document in XML form.

## Other responses

- `401` — Unauthorized
- `403` — Access to Belvo API denied
- `404` — Not Found Error
- `408` — Request Timeout
- `428` — MFA Token Required
- `500` — Unexpected Error

---

[API](https://skmtc.net/belvo/apis/belvo-api-docs.md) · [All operations](https://skmtc.net/belvo/apis/belvo-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/belvo/belvo-api-docs/versions/3423c786ece5/schema)
