lists.arthurdejong.org
RSS feed

python-stdnum branch master updated. 1.13-1-g77a77ba

[Date Prev][Date Next] [Thread Prev][Thread Next]

python-stdnum branch master updated. 1.13-1-g77a77ba



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-stdnum".

The branch, master has been updated
       via  77a77ba75706f8ebae5c5ef87146944ce5322c88 (commit)
      from  d5666b8bfe379688a38bb0fd6764a8c536dd3c75 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://arthurdejong.org/git/python-stdnum/commit/?id=77a77ba75706f8ebae5c5ef87146944ce5322c88

commit 77a77ba75706f8ebae5c5ef87146944ce5322c88
Author: Gustavo Valverde <gustavo@iterativo.do>
Date:   Wed Jan 22 13:16:57 2020 -0400

    Add missing NCF document types for validation
    
    These document types are in the official documentation, but were not
    being validated:
    
https://dgii.gov.do/cicloContribuyente/facturacion/comprobantesFiscales/Paginas/tiposComprobantes.aspx
    
    Closes https://github.com/arthurdejong/python-stdnum/pull/186

diff --git a/stdnum/do/ncf.py b/stdnum/do/ncf.py
index 8a9038f..b9bb3d9 100644
--- a/stdnum/do/ncf.py
+++ b/stdnum/do/ncf.py
@@ -73,10 +73,12 @@ _ncf_document_types = (
     '03',  # debit note
     '04',  # credit note (refunds)
     '11',  # informal supplier invoices (purchases)
-    '12',  # single income record
+    '12',  # single income invoices
     '13',  # minor expenses invoices (purchases)
     '14',  # invoices for special customers (tourists, free zones)
     '15',  # invoices for the government
+    '16',  # invoices for export
+    '17',  # invoices for payments abroad
 )
 
 _ecf_document_types = (

-----------------------------------------------------------------------

Summary of changes:
 stdnum/do/ncf.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
python-stdnum