Skip to main content
PATCH
https://app.usatimbre.com
/
api
/
profile
/
{rfc}
/
tax-info
curl -X PATCH "https://app.usatimbre.com/api/profile/XAXX010101000/tax-info" \
  -H "Authorization: Bearer tmb_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "tax_id": "XAXX010101000",
    "postal_code": "12345",
    "invoice_fiscal_regimen": "601",
    "invoice_cfdi_use": "G03"
  }'
{
  "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"
}

Overview

Update the tax information associated with a profile. This is used for invoice generation.

Path Parameters

rfc
string
required
The RFC (Mexican tax ID) or UUID of the profile

Request Body

tax_id
string
RFC (Registro Federal de Contribuyentes)
postal_code
string
Postal code (Código Postal). Must be a valid Mexican postal code.
invoice_fiscal_regimen
string
Fiscal regimen code. Common values:
  • 601 - General de Ley Personas Morales
  • 603 - Personas Morales con Fines no Lucrativos
  • 605 - Sueldos y Salarios
  • 606 - Arrendamiento
  • 612 - Personas Físicas con Actividades Empresariales
  • 616 - Sin obligaciones fiscales
  • 625 - Régimen Simplificado de Confianza
invoice_cfdi_use
string
CFDI usage code. Common values:
  • G01 - Adquisición de mercancías
  • G02 - Devoluciones, descuentos o bonificaciones
  • G03 - Gastos en general
  • P01 - Por definir

Response

Returns the updated tax information object.
curl -X PATCH "https://app.usatimbre.com/api/profile/XAXX010101000/tax-info" \
  -H "Authorization: Bearer tmb_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "tax_id": "XAXX010101000",
    "postal_code": "12345",
    "invoice_fiscal_regimen": "601",
    "invoice_cfdi_use": "G03"
  }'
{
  "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"
}