🔠 Table of codes

The following are the codes to be used on mexican operations. Use the navigation on your right to quickly move to different id.

All request to the API should be made using the first column ID. External codes are to be considered only for reference purposes.

country_id

country_idname
83Perú

currency_id

country_idnameexternal_code
7SolPEN
5Dolar USAUSD
38EuroEUR

tax_id_type

tax_id_typename
PE-RUCRegistro único contribuyente peruano

document_type_id

document_type_idNamereceived_issued_flagExternal Code
96Factura emitida101
97Boleta de venta emitida103
98Nota de crédito emitida107
99Nota de débito emitida108
100Guia de remisión para remitente emitida109
101Guia de remisión para Transportista emitida131
102Factura recibida001
103Boleta de venta recibida003
104Nota de crédito recibida007
105Nota de débito recibida008
107Guia de remisión para remitente recibida009
108Guia de remisión para Transportista recibida031
109Comprobante de retención emitido120
110Comprobante de retención recibido120

tax_type_id

tax_type_idnametax_typevalueexternal_code
412IGV 16%216,00001000
413IGV 18%218,00001000
414IGV 0%20,00009997
415ISC Alcohol 20%220,00002000
416ISC Alcohol 50%250,00002000
417ISC Bebidas azucaradas 17%217,00002000
418ISC Cigarrillos30,00002000
419ISC Combustibles30,00002000
420ISC Vehículos 10%210,00002000
421ISC Vehículos 20%220,00002000
422ISC Vehículos Otros30,00002000
423ISC Bebidas azucaradas 25%225,00002000
424ISC Alcohol30,00002000
425Exportación20,00009995
426Operaciones gratuitas20,00009996
427Operaciones exoneradas20,00009997
428Operaciones inafectas20,00009998
429Otros conceptos de pago30,00009999

Notes: tax_type values: 1 = fixed value in money 2 = fixed percentage 3 = variable value in money to be defined by user as part of the request

tax_value: Positive numbers will add to the final amount, while negative values are retentions and will decrease the final amount

account certification_status

certification_statusnamecustomer_action_requiredexplanation
0Account createdYesThe account was created, but no certificate has been uploaded
21Tax situationYesThe SUNAT is not allowing the process to continue. Check status details and take action.
22InactiveYesThere is a problem on the certification process that the customer hasn’t resolved
23Scheduled for eliminationYesThis account is scheduled for elimination
70Ready to be activatedNoThe information was succesfully received and we are ready to activate invoices.
71On hold: Declaration paused by clientYesThe declaration process is paused due to a request or action by the client.
72On hold: Declaration paused due to tax issueYesThe declaration process is paused due to a tax-related issue identified by the SUNAT. Check status details and take action.
80Invoice certificationNoThe account is certified to issue invoices.