Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/do/ncf.py
Commit message (Collapse)AuthorAgeFilesLines
* Use HTTPS for WSDL as HTTP was deprecatedGustavo Valverde2018-11-171-1/+1
| | | | | | | The regulator changed their site to use HTTPS by default; making this resource unavailable through HTTP. Closes https://github.com/arthurdejong/python-stdnum/pull/85
* Switch the NCF online check to the new formArthur de Jong2018-05-191-19/+37
| | | | | | | This tries to screen-scrape the new DGII form that is used to validate the new format of NCF numbers. Closes https://github.com/arthurdejong/python-stdnum/issues/71
* Support new style of NCF numbersArthur de Jong2018-04-091-8/+14
| | | | | | | | | This adds support for validating Dominican Republic invoice numbers that should be used since from 2018-05-01. http://www.dgii.gov.do/contribuyentes/personasFisicas/inicioOperaciones/ComprobantesFiscales/Paginas/SecuenciaDeNCF.aspx Closes https://github.com/arthurdejong/python-stdnum/issues/69
* Fix PySimpleSOAP DGII result parsing issueArthur de Jong2018-02-191-0/+2
| | | | | | | | This strips the wrapper that PySimpleSOAP puts around results from the DGII PySimpleSOAP SOAP call. Closes https://github.com/arthurdejong/python-stdnum/issues/64 Closes https://github.com/arthurdejong/python-stdnum/issues/65
* Allow configuring SOAP request timeoutArthur de Jong2018-02-061-4/+5
| | | | | | This adds a timeout parameter to all checks that use a SOAP web service to reduce the blocking time. The default timeout for all checks is 30 seconds.
* Fix Python 2.6 compatibilityArthur de Jong2018-01-011-3/+3
|
* Add stdnum.do.ncf.check_dgii()Arthur de Jong2017-10-221-1/+51
| | | | | | This adds functions for querying the Dirección General de Impuestos Internos (DGII) API to check if the RNC and NCF combination provided is valid.
* Add Dominican Republic receipt number (NCF)Arthur de Jong2017-10-221-0/+82
This number does not have a check digit but uses a distinctive enough format that it should not be too great of a problem.