curl -X GET "https://app.usatimbre.com/api/profile/XAXX010101000/tax-info" \
-H "Authorization: Bearer tmb_your_api_key_here"
const response = await fetch('https://app.usatimbre.com/api/profile/XAXX010101000/tax-info', {
headers: {
'Authorization': 'Bearer tmb_your_api_key_here'
}
});
const taxInfo = await response.json();
import requests
response = requests.get(
'https://app.usatimbre.com/api/profile/XAXX010101000/tax-info',
headers={'Authorization': 'Bearer tmb_your_api_key_here'}
)
tax_info = response.json()
{
"tax_id": "XAXX010101000",
"taxpayer": "Juan Pérez",
"street": "Calle Principal 123",
"ext_num": "123",
"neighborhood": "Centro",
"city": "Ciudad de México",
"state": "CDMX",
"country": "México",
"postal_code": "12345",
"fiscal_regimen": "601",
"cfdi_use": "G03"
}
{
"error": "Not Found",
"message": "Profile not found"
}
Gestión de Perfiles
Get Tax Info
Get tax information for a profile
GET
/
api
/
profile
/
{rfc}
/
tax-info
curl -X GET "https://app.usatimbre.com/api/profile/XAXX010101000/tax-info" \
-H "Authorization: Bearer tmb_your_api_key_here"
const response = await fetch('https://app.usatimbre.com/api/profile/XAXX010101000/tax-info', {
headers: {
'Authorization': 'Bearer tmb_your_api_key_here'
}
});
const taxInfo = await response.json();
import requests
response = requests.get(
'https://app.usatimbre.com/api/profile/XAXX010101000/tax-info',
headers={'Authorization': 'Bearer tmb_your_api_key_here'}
)
tax_info = response.json()
{
"tax_id": "XAXX010101000",
"taxpayer": "Juan Pérez",
"street": "Calle Principal 123",
"ext_num": "123",
"neighborhood": "Centro",
"city": "Ciudad de México",
"state": "CDMX",
"country": "México",
"postal_code": "12345",
"fiscal_regimen": "601",
"cfdi_use": "G03"
}
{
"error": "Not Found",
"message": "Profile not found"
}
Overview
Retrieve the tax information associated with a profile. This includes the RFC, postal code, fiscal regimen, and CFDI usage.Path Parameters
string
required
The RFC (Mexican tax ID) or UUID of the profile
Response
string
RFC (Registro Federal de Contribuyentes)
string
Legal name of the taxpayer
string
Street address
string
External number
string
Neighborhood (Colonia)
string
City
string
State
string
Country
string
Postal code (Código Postal)
string
Fiscal regimen code (e.g.,
601 for General de Ley Personas Morales)string
CFDI usage code (e.g.,
G03 for Gastos en general)curl -X GET "https://app.usatimbre.com/api/profile/XAXX010101000/tax-info" \
-H "Authorization: Bearer tmb_your_api_key_here"
const response = await fetch('https://app.usatimbre.com/api/profile/XAXX010101000/tax-info', {
headers: {
'Authorization': 'Bearer tmb_your_api_key_here'
}
});
const taxInfo = await response.json();
import requests
response = requests.get(
'https://app.usatimbre.com/api/profile/XAXX010101000/tax-info',
headers={'Authorization': 'Bearer tmb_your_api_key_here'}
)
tax_info = response.json()
{
"tax_id": "XAXX010101000",
"taxpayer": "Juan Pérez",
"street": "Calle Principal 123",
"ext_num": "123",
"neighborhood": "Centro",
"city": "Ciudad de México",
"state": "CDMX",
"country": "México",
"postal_code": "12345",
"fiscal_regimen": "601",
"cfdi_use": "G03"
}
{
"error": "Not Found",
"message": "Profile not found"
}