-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Panama TIN #102
Labels
Comments
unho
added a commit
to unho/python-stdnum
that referenced
this issue
Jan 9, 2023
Note this only adds support for the legal person's TIN number. Closes arthurdejong#102
unho
added a commit
to unho/python-stdnum
that referenced
this issue
Jan 9, 2023
Note this only adds support for the legal person's TIN number. Closes arthurdejong#102
unho
added a commit
to unho/python-stdnum
that referenced
this issue
Jan 9, 2023
Note this only adds support for the legal person's TIN number. Closes arthurdejong#102
unho
added a commit
to unho/python-stdnum
that referenced
this issue
Jan 9, 2023
Note this only adds support for the legal person's TIN number. Closes arthurdejong#102
unho
added a commit
to unho/python-stdnum
that referenced
this issue
Jan 9, 2023
Note this only adds support for the legal person's TIN number. Closes arthurdejong#102
unho
added a commit
to unho/python-stdnum
that referenced
this issue
Jan 9, 2023
Note this only adds support for the legal person's TIN number. Closes arthurdejong#102
unho
added a commit
to unho/python-stdnum
that referenced
this issue
Jan 9, 2023
Note this only adds support for the legal person's TIN number. Closes arthurdejong#102
unho
added a commit
to unho/python-stdnum
that referenced
this issue
Jan 10, 2023
Note this only adds support for the legal person's TIN number. Closes arthurdejong#102
unho
added a commit
to unho/python-stdnum
that referenced
this issue
Jan 10, 2023
Note this only adds support for the legal person's TIN number. Closes arthurdejong#102
unho
added a commit
to unho/python-stdnum
that referenced
this issue
Jan 10, 2023
Note this only adds support for the legal person's TIN number. Closes arthurdejong#102
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This document details how the validation algorithm works: https://dgi.mef.gob.pa/N-prensa/Calculo_DV_RUC_20180523.pdf (This was found in https://dgi.mef.gob.pa/Registro.html )
Algorithm:
Video explaning how to get verification digit for a RUC: https://www.youtube.com/watch?v=KDEpYiXpT64 For example for querying a company with RUC 1870951-1-1751 and DV 18 enter 1870951 as "Rollo/Tomo", 1 as "Folio/Imagen" and 1751 as "Asiento/Ficha" and will give you 18 to be the DV.
Regarding the format the DV is always 2 digits.
Regarding RUC the limitation is 20 digits. There are two RUC numbers: regular RUC and the NT numbers.
Examples (DV stands for "Digito Verificador", "Verifying Digit")
Lots of examples from https://dgi.mef.gob.pa/itbms/Pdf-Retencion/LISTADO%20DE%20AGENTES%20DE%20RETENCION%20DEL%20ITBMS%20(GRANDES%20COMPRADORES)%202022.pdf (attached here just in case it disappears
LISTADO DE AGENTES DE RETENCION DEL ITBMS (GRANDES COMPRADORES) 2022.pdf)
More examples https://www.presidencia.gob.pa/tmp/file/933/Informe-de-RendicinEn-de-Cuentas.pdf (attached here as well
Informe-de-RendicinEn-de-Cuentas.pdf
) (copied here only a few examples that could be extracted using
pdftotext
)Even more examples (not all of them with DV) on http://www.momentofiscal.com/images/DGI%20ENERO%202016%20AVISONOTIFICACIONES.pdf (attached
DGI ENERO 2016 AVISONOTIFICACIONES.pdf
)
Examples from https://www.gacetaoficial.gob.pa/pdfTemp/29103/80611.pdf (attached here as well
80611.pdf
)
More examples in https://www.superseguros.gob.pa/wp-content/uploads/2019/09/7.listado.pdf (attached
7.listado.pdf
)
Plenty of examples in http://www.css.gob.pa/PROVEEDORES%20CSS.pdf
Examples from http://docs.panamacompra.gob.pa/conveniomarco/Circulares/Pasajes%20A%C3%A9reos/Circulares%20y%20Documentos%20Nuevos%20Agosto%202014/GUIA%20DE%20COMPRADORES%20DE%20PASAJES%20AEREOS.pdf:
Examples from https://www.superseguros.gob.pa/images/files/comunicados/BBA_Corp/7.listado.pdf
Examples from https://www.superseguros.gob.pa/images/files/comunicados/BBA_Corp/6.listado.pdf
Other examples picked from the web:
More examples (not retrieved):
List with RUC numbers but without DV: http://www.bdo.com.pa/getmedia/059cdd11-c76c-43a1-8de1-f5993d6d5193/Boletin-1-Enero-2017-Agentes-de-Retencion.pdf.aspx?ext=.pdf&disposition=attachment
Another list with RUC numbers but without DV: https://dgi.mef.gob.pa/_7FacturaElectronica/Listadofe.php
Another list without DV: https://www.rbc.com.pa/images/banners/RBC/LEYES_DECRETOS_GACETAS/LISTADO%20DE%20MOROSOS%202.pdf
The text was updated successfully, but these errors were encountered: