# Retrieve tax statuses for a link Retrieve tax status information for a specific fiscal link. Endpoint: POST /api/tax-status/ Version: 1.222.0 Security: basicAuth ## Query parameters: - `omit` (string) Omit certain fields from being returned in the response. For more information, see our Filtering responses DevPortal article. - `fields` (string) Return only the specified fields in the response. For more information, see our Filtering responses DevPortal article. ## Request fields (application/json): - `link` (string, required) The you want to retrieve information for. Example: "c81a1dea-6dd6-4999-8b9f-541ee8197058" - `attach_pdf` (boolean) When set to , you will receive the PDF in binary format in the response. Example: true - `save_data` (boolean) Indicates whether or not to persist the data in Belvo. By default, this is set to and we return a 201 Created response. When set to , the data won't be persisted and we return a 200 OK response. Example: true ## Response 200 fields (application/json): - `id` (string, required) Belvo's unique identifier for the current item. Example: "0d3ffb69-f83b-456e-ad8e-208d0998d71d" - `link` (string,null, required) The the data belongs to. Example: "30cb4806-6e00-48a4-91c9-ca55968576c8" - `collected_at` (string, required) The ISO-8601 timestamp when the data point was collected. Example: "2022-02-09T08:45:50.406032Z" - `created_at` (string, required) The ISO-8601 timestamp of when the data point was created in Belvo's database. Example: "2022-02-09T08:45:50.406032Z" - `place_and_date_of_issuance` (string,null, required) The place and date of that the tax status was issued. Example: "TLALPAN , CIUDAD DE MEXICO A 19 DE MARZO DE 2020" - `official_name` (string,null, required) The name of the person or business. Example: "John Doe" - `id_cif` (string,null, required) The taxpayer's (CIF) ID. Example: "12345678901" - `tax_payer_information` (object,null, required) Details regarding the taxpayer. - `tax_payer_information.rfc` (string,null, required) The tax payers's identification number (For Mexico, this is the RFC). Example: "BEMP12345G58" - `tax_payer_information.curp` (string,null) The tax payers's (CURP) number. - `tax_payer_information.name` (string,null) The tax payers's first name. Example: "JOHN" - `tax_payer_information.first_last_name` (string,null) The tax payers's first last name. Example: "DOE" - `tax_payer_information.second_last_name` (string,null) The tax payers's second last name. Example: "SCHMOE" - `tax_payer_information.start_operations_date` (string,null, required) Date when the tax payer commenced taxable commercial activities, in format. - `tax_payer_information.status_padron` (string,null, required) Status of the taxpayer in the Federal Register of Taxpayers (RFC). Can be or . - `tax_payer_information.last_status_change_date` (string,null, required) Date when was most recently updated, in format. - `tax_payer_information.commercial_name` (string,null) The name of the business designated for consumers and the general public. : Only applicable for businesses. Example: "Jar Jar Transport" - `tax_payer_information.social_name` (string,null) The unique and exclusive name within the national territory that companies receive for legal or administrative purposes. : Only applicable for businesses. Example: "John Doe SA DE CV" - `tax_payer_information.email` (string,null) Contact email address for the tax payer. Example: "john_doe@gmail.com" - `tax_payer_information.phone` (string,null) Contact phone number for the tax payer. Example: "1234567890" - `address` (object,null, required) The tax payer's address details. - `address.postal_code` (string,null, required) The postcode of the address. Example: "21255" - `address.street_type` (string,null) The type. Example: "CALLE" - `address.street` (string,null) The tax payers street. Example: "LA MALINCHE" - `address.exterior_number` (string,null) The street number. Example: "432" - `address.interior_number` (string,null) Additional address information. Example: "PLANTA BAJA" - `address.suburb` (string,null) The suburb of the tax payer. Example: "BUENAVENTURA" - `address.locality` (string,null) The locality of the address. Example: "none" - `address.municipality` (string,null) The municipality of the address. Example: "CDMX DC" - `address.state` (string,null) The state that the address is in. Example: "Federal" - `address.between_street` (array,null) Additional information about where the is located. - `address.between_street.street_one` (string,null) The first street that is located between. Example: "CALLE PRINCIPE" - `address.between_street.street_two` (string,null) The second street that is located between. Example: "CALLE NUEVA ROMA" - `economic_activity` (array,null, required) A list of economic activity objects. - `economic_activity.economic_activity` (string,null) The description of the economic activity. Example: "Asalariado" - `economic_activity.initial_date` (string,null) The start date of the economic activity, in format. Example: "2020-12-06" - `economic_activity.end_date` (string,null) The end date of the economic activity, in format. - `economic_activity.order` (string,null) The order of the economic activity. Example: "2" - `economic_activity.percentage` (string,null) The percentage of the economic activity. Example: "1" - `regimes` (array,null, required) A list of regimen objects. - `regimes.end_date` (string,null, required) The end date of the regimen, in format. - `regimes.initial_date` (string,null, required) The start date of the regimen, in format. Example: "2020-12-06" - `regimes.regimen` (string,null, required) The description of the regimen. Example: "Régimen de Ingresos por Dividendos (socios y accionistas)" - `obligations` (array,null, required) Details regarding a business's obligations. ℹ️ For non-business accounts, this field will return empty. - `obligations.obligation` (string,null) The description of the obligation. Example: "Declaración informativa de IVA con la anual de ISR" - `obligations.expiration` (string,null) The deadline to fulfill the obligation, as imposed by the tax authority. Example: "Conjuntamente con la declaración anual del ejercicio." - `obligations.initial_date` (string,null) The date when obligation started, in format. Example: "2020-12-06" - `obligations.end_date` (string,null) The date when obligation ended, in format. - `digital_stamp` (string,null, required) The validation certificate of the document. Example: "||2020/04/26|GHTF980303F7|CONSTANCIA DE SITUACIÓN\nFISCAL|2044441088666600000034||\n" - `digital_stamp_chain` (string,null, required) A data chain containing the basic structure of a fiscal digital check. For Mexico, this is the (CFDI). Example: "EtenSA9t1adG7bn+Jj23kj43JK+XbMPxdOppwabhXD+pXseSqYowWWDna0mpUk3264lkj2345j23faNZB852dCDt9KAjow=\n" - `pdf` (string,null, required) Tax status PDF as a binary string. Example: "=PDF-STRING=" ## Response 201 fields (application/json): - `id` (string, required) Belvo's unique identifier for the current item. Example: "0d3ffb69-f83b-456e-ad8e-208d0998d71d" - `link` (string,null, required) The the data belongs to. Example: "30cb4806-6e00-48a4-91c9-ca55968576c8" - `collected_at` (string, required) The ISO-8601 timestamp when the data point was collected. Example: "2022-02-09T08:45:50.406032Z" - `created_at` (string, required) The ISO-8601 timestamp of when the data point was created in Belvo's database. Example: "2022-02-09T08:45:50.406032Z" - `place_and_date_of_issuance` (string,null, required) The place and date of that the tax status was issued. Example: "TLALPAN , CIUDAD DE MEXICO A 19 DE MARZO DE 2020" - `official_name` (string,null, required) The name of the person or business. Example: "John Doe" - `id_cif` (string,null, required) The taxpayer's (CIF) ID. Example: "12345678901" - `tax_payer_information` (object,null, required) Details regarding the taxpayer. - `tax_payer_information.rfc` (string,null, required) The tax payers's identification number (For Mexico, this is the RFC). Example: "BEMP12345G58" - `tax_payer_information.curp` (string,null) The tax payers's (CURP) number. - `tax_payer_information.name` (string,null) The tax payers's first name. Example: "JOHN" - `tax_payer_information.first_last_name` (string,null) The tax payers's first last name. Example: "DOE" - `tax_payer_information.second_last_name` (string,null) The tax payers's second last name. Example: "SCHMOE" - `tax_payer_information.start_operations_date` (string,null, required) Date when the tax payer commenced taxable commercial activities, in format. - `tax_payer_information.status_padron` (string,null, required) Status of the taxpayer in the Federal Register of Taxpayers (RFC). Can be or . - `tax_payer_information.last_status_change_date` (string,null, required) Date when was most recently updated, in format. - `tax_payer_information.commercial_name` (string,null) The name of the business designated for consumers and the general public. : Only applicable for businesses. Example: "Jar Jar Transport" - `tax_payer_information.social_name` (string,null) The unique and exclusive name within the national territory that companies receive for legal or administrative purposes. : Only applicable for businesses. Example: "John Doe SA DE CV" - `tax_payer_information.email` (string,null) Contact email address for the tax payer. Example: "john_doe@gmail.com" - `tax_payer_information.phone` (string,null) Contact phone number for the tax payer. Example: "1234567890" - `address` (object,null, required) The tax payer's address details. - `address.postal_code` (string,null, required) The postcode of the address. Example: "21255" - `address.street_type` (string,null) The type. Example: "CALLE" - `address.street` (string,null) The tax payers street. Example: "LA MALINCHE" - `address.exterior_number` (string,null) The street number. Example: "432" - `address.interior_number` (string,null) Additional address information. Example: "PLANTA BAJA" - `address.suburb` (string,null) The suburb of the tax payer. Example: "BUENAVENTURA" - `address.locality` (string,null) The locality of the address. Example: "none" - `address.municipality` (string,null) The municipality of the address. Example: "CDMX DC" - `address.state` (string,null) The state that the address is in. Example: "Federal" - `address.between_street` (array,null) Additional information about where the is located. - `address.between_street.street_one` (string,null) The first street that is located between. Example: "CALLE PRINCIPE" - `address.between_street.street_two` (string,null) The second street that is located between. Example: "CALLE NUEVA ROMA" - `economic_activity` (array,null, required) A list of economic activity objects. - `economic_activity.economic_activity` (string,null) The description of the economic activity. Example: "Asalariado" - `economic_activity.initial_date` (string,null) The start date of the economic activity, in format. Example: "2020-12-06" - `economic_activity.end_date` (string,null) The end date of the economic activity, in format. - `economic_activity.order` (string,null) The order of the economic activity. Example: "2" - `economic_activity.percentage` (string,null) The percentage of the economic activity. Example: "1" - `regimes` (array,null, required) A list of regimen objects. - `regimes.end_date` (string,null, required) The end date of the regimen, in format. - `regimes.initial_date` (string,null, required) The start date of the regimen, in format. Example: "2020-12-06" - `regimes.regimen` (string,null, required) The description of the regimen. Example: "Régimen de Ingresos por Dividendos (socios y accionistas)" - `obligations` (array,null, required) Details regarding a business's obligations. ℹ️ For non-business accounts, this field will return empty. - `obligations.obligation` (string,null) The description of the obligation. Example: "Declaración informativa de IVA con la anual de ISR" - `obligations.expiration` (string,null) The deadline to fulfill the obligation, as imposed by the tax authority. Example: "Conjuntamente con la declaración anual del ejercicio." - `obligations.initial_date` (string,null) The date when obligation started, in format. Example: "2020-12-06" - `obligations.end_date` (string,null) The date when obligation ended, in format. - `digital_stamp` (string,null, required) The validation certificate of the document. Example: "||2020/04/26|GHTF980303F7|CONSTANCIA DE SITUACIÓN\nFISCAL|2044441088666600000034||\n" - `digital_stamp_chain` (string,null, required) A data chain containing the basic structure of a fiscal digital check. For Mexico, this is the (CFDI). Example: "EtenSA9t1adG7bn+Jj23kj43JK+XbMPxdOppwabhXD+pXseSqYowWWDna0mpUk3264lkj2345j23faNZB852dCDt9KAjow=\n" - `pdf` (string,null, required) Tax status PDF as a binary string. Example: "=PDF-STRING=" ## Response 403 fields (application/json): - `code` (string) A unique error code () that allows you to classify and handle the error programmatically. ℹ️ Check our DevPortal for more information on how to handle 403 access_to_resource_denied. Example: "access_to_resource_denied" - `message` (string) A short description of the error. For errors, the description is: - . Example: "You don't have access to this resource." - `request_id` (string) A 32-character unique ID of the request (matching a regex pattern of: ). Provide this ID when contacting the Belvo support team to accelerate investigations. Example: "9e7b283c6efa449c9c028a16b5c249fb" ## Response 404 fields (application/json): - `code` (string) A unique error code () that allows you to classify and handle the error programmatically. Example: "not_found" - `message` (string) A short description of the error. For errors, the description is: - Example: "Not found" - `request_id` (string) A 32-character unique ID of the request (matching a regex pattern of: ). Provide this ID when contacting the Belvo support team to accelerate investigations. Example: "9e7b283c6efa449c9c028a16b5c249fb" ## Response 408 fields (application/json): - `code` (string) A unique error code () that allows you to classify and handle the error programmatically. ℹ️ Check our DevPortal for more information on how to handle 408 request_timeout errors. Example: "request_timeout" - `message` (string) A short description of the error. For errors, the description is: - . Example: "The request timed out, you can retry asking for less data by changing your query parameters" - `request_id` (string) A 32-character unique ID of the request (matching a regex pattern of: ). Provide this ID when contacting the Belvo support team to accelerate investigations. Example: "9e7b283c6efa449c9c028a16b5c249fb" ## Response 428 fields (application/json): - `code` (string) A unique error code () that allows you to classify and handle the error programmatically. ℹ️ Check our DevPortal for more information on how to handle 428 token_required errors. Example: "token_required" - `message` (string) A short description of the error. For errors, the description is: - . Example: "A MFA token is required by the institution to login" - `request_id` (string) A 32-character unique ID of the request (matching a regex pattern of: ). Provide this ID when contacting the Belvo support team to accelerate investigations. Example: "9e7b283c6efa449c9c028a16b5c249fb" - `session` (string) A 32-character unique ID of the login session (matching a regex pattern of: ). Example: "2675b703b9d4451f8d4861a3eee54449" - `expiry` (integer) Session duration time in seconds. Example: 9600 - `link` (string) Unique identifier created by Belvo, used to reference the current Link. Example: "30cb4806-6e00-48a4-91c9-ca55968576c8" - `token_generation_data` (object) Details on how to generate the token. - `token_generation_data.instructions` (string) Instructions for token generation. Example: "Use this code to generate the token" - `token_generation_data.type` (string) Type of the data to generate the token (QR code, numeric challenge). Example: "numeric" - `token_generation_data.value` (string) Value to use to generate the token. Example: "12345" - `token_generation_data.expects_user_input` (boolean) Indicates whether the user needs to provide input in order to complete the authentication. When set to , your user may need to: - confirm the login on another device - scan a QR code You will still need to make a PATCH call to complete the request. Example: true ## Response 500 fields (application/json): - `code` (string) A unique error code () that allows you to classify and handle the error programmatically. ℹ️ Check our DevPortal for more information on how to handle 500 unexpected_error errors. Example: "unexpected_error" - `message` (string) A short description of the error. For errors, the description is: - . Example: "Belvo is unable to process the request due to an internal system issue or to an unsupported response from an institution" - `request_id` (string) A 32-character unique ID of the request (matching a regex pattern of: ). Provide this ID when contacting the Belvo support team to accelerate investigations. Example: "9e7b283c6efa449c9c028a16b5c249fb"