Feat: Se agrega ApplicationResponse a AttachedDocument

This commit is contained in:
2025-01-01 16:56:15 -05:00
parent 3a385c63e3
commit a758b8678b
7 changed files with 221 additions and 19 deletions

View File

@@ -57,6 +57,7 @@ Bogota = tz.gettz('America/Bogota')
NAMESPACES = {
'apr': 'urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2',
'atd': 'urn:oasis:names:specification:ubl:schema:xsd:AttachedDocument-2',
'fe': 'http://www.dian.gov.co/contratos/facturaelectronica/v1',
'cac': 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2',
@@ -111,6 +112,7 @@ class FeXML(FachoXML):
'AttachedDocument': 'urn:oasis:names:specification:ubl:schema:xsd:AttachedDocument-2',
'Invoice': 'urn:oasis:names:specification:ubl:schema:xsd:Invoice-2',
'CreditNote': 'urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2',
'ApplicationResponse': 'urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2'
}
root_namespace = self.root_namespace()