python-stdnum icon indicating copy to clipboard operation
python-stdnum copied to clipboard

DO ncf check_dgii returning None.

Open ctactuk opened this issue 1 year ago • 1 comments

import stdnum.do.ncf as ncf

ncf.check_dgii(ncf_number, rnc_number)

the method check_dgii always returning None.

ctactuk avatar Mar 12 '24 18:03 ctactuk

The tests still work:

>>> import stdnum.do.ncf as ncf
>>> ncf.check_dgii('130546312', 'A010010011500000038')
{'validation_message': 'El NCF digitado es válido.', 'rnc': '130546312', 'name': 'PROMO NATIONAL SRL', 'type': 'COMPROBANTE GUBERNAMENTAL', 'ncf': 'A010010011500000038', 'status': 'VENCIDO', 'valid_until': '30/04/2018'}

arthurdejong avatar Mar 17 '24 12:03 arthurdejong