Validador de DUI y NIT de El Salvador

Check a DUI check digit and the 14-digit NIT format before you put them on a DTE electronic invoice.

Tool

DUI · NIT
¿Implementando DTE? Read our guide to DTE 2.0 with SAP B1.DTE guide →
Invoicing in Guatemala too? Check the NIT verification digit (including K) before you issue FEL.Guatemala NIT validator →
Other LatAm validators: Mexico RFC and CURP · Colombia NIT · Chile RUT · Peru RUC

How do you validate a DUI or NIT from El Salvador?

Multiply the first eight digits of the DUI by 9, 8, 7, 6, 5, 4, 3 and 2 and add them up; the check digit is (10 − sum mod 10) mod 10. For individuals the DUI has been homologated as the NIT. Companies keep their 14-digit NIT, which the tool checks for structure and a real date (ddmmyy).

How it works

Three steps, no signup

1

Pegue el DUI o NIT

DUI: 9 digits (00000000-0). NIT: 14 digits (0000-000000-000-0).

2

Validamos

The DUI check digit is recalculated. The NIT is checked for length, format and a real issue date.

3

Emita el DTE

Use the clean number on the customer in SAP Business One and on your DTE electronic documents.

FAQ

Questions about this tool

¿Cómo se valida el dígito verificador del DUI?

Multiply the first eight digits by 9, 8, 7, 6, 5, 4, 3 and 2, add the results, and the check digit is (10 − sum mod 10) mod 10.

¿Se puede usar el DUI como NIT en El Salvador?

Yes. For natural persons the DUI was homologated as NIT, so on DTE documents a person can be identified with the DUI. Companies keep their 14-digit NIT.

Does the tool verify the NIT check digit?

It checks the 14-digit structure and that the middle six digits are a real date (ddmmyy). The official NIT check digit rule is not public in a reliable form, so the tool does not mark a NIT as wrong because of it.

Can SAP Business One issue DTE documents in El Salvador?

Yes, with an integration to the Ministerio de Hacienda transmission service. We build DTE integrations for SAP B1.

DTE El Salvador en SAP Business One

We connect SAP B1 to the Ministerio de Hacienda: JSON, signing, transmission and PDF. Fixed price, usually quoted within 24 hours.