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
80México

currency_id

country_idnameexternal_code
31Peso mexicanoMXN
5Dolar USAUSD
38EuroEUR

tax_id_type

tax_id_typename
MX-RFCRegistro federal de contribuyente mexicano

document_type_id

document_type_idnamereceived_issued_flagexternal_code
76Factura de ingreso emitida1I
77Factura de egreso emitida1E
78Factura de traslado emitida1T
79Factura de ingreso recibida0I
80Factura de egreso recibida0E
81Factura de traslado recibida0T

tax_type_id

tax_type_idnametax_typevalueexternal_code
360IVA 0%20,0000002
361IVA 8%28,0000002
362IVA 16%216,0000002
363Retención IVA 0%20,0000002
364Retención IVA 8%2-8,0000002
365Retención IVA 16%2-16,0000002
366Retención ISR 10%2-10,0000001
367IEPS 0%20,0000003
368IEPS 3%23,0000003
369IEPS 6%26,0000003
370IEPS 7%27,0000003
371IEPS 8%28,0000003
372IEPS 25%225,0000003
373IEPS 30%230,0000003
374IEPS 53%253,0000003
375IEPS 160%2160,0000003
376IEPS Cuota30,0000003
377Retención IEPS 0%20,0000003
378Retención IEPS 3%2-3,0000003
379Retención IEPS 6%2-6,0000003
380Retención IEPS 7%2-7,0000003
381Retención IEPS 8%2-8,0000003
382Retención IEPS 25%2-25,0000003
383Retención IEPS 30%2-30,0000003
384Retención IEPS 53%2-53,0000003
385Retención IEPS 160%2-160,0000003
386Retención IEPS Cuota30,0000003

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

state_id

state_idnameexternal_code
18AguascalientesAGU
19Baja CaliforniaBCN
20Baja California SurBCS
21CampecheCAM
22ChiapasCHP
23ChihuahuaCHH
24CoahuilaCOA
25ColimaCOL
26Circunscripción 1CR1
27Circunscripción 2CR2
28Circunscripción 3CR3
29Circunscripción 4CR4
30Circunscripción 5CR5
31Ciudad de MéxicoCMX
32DurangoDUR
33GuanajuatoGUA
34GuerreroGRO
35HidalgoHID
36JaliscoJAL
37MéxicoMEX
38MichoacánMIC
39MorelosMOR
40NacionalNAC
41NayaritNAY
42Nuevo LeónNLE
43OaxacaOAX
44PueblaPUE
45QuerétaroQUE
46Quintana RooROO
47San Luis PotosíSLP
48SinaloaSIN
49SonoraSON
50TabascoTAB
51TamaulipasTAM
114YucatánYUC
115TlaxcalaTLA
116VeracruzVER
117ZacatecasZAC