Fix: Se corrige digito de verificación del Emisor
This commit is contained in:
parent
172758767b
commit
861eefa079
|
@ -121,7 +121,8 @@ class XmlAttach():
|
|||
invoice_id = xml_soup_de.Invoice.ID.string
|
||||
party_name = xml_soup_de.Invoice.AccountingSupplierParty.Party.PartyName.Name.string
|
||||
party_company = xml_soup_de.Invoice.AccountingSupplierParty.Party.PartyTaxScheme.CompanyID.string
|
||||
party_tax = xml_soup_de.Invoice.AccountingSupplierParty.TaxLevelCode.string
|
||||
party_tax = xml_soup_de.Invoice.AccountingSupplierParty.TaxLevelCode.string
|
||||
party_dv = xml_soup_de.Invoice.AccountingSupplierParty.Party.CompanyID['schemeID']
|
||||
customer_party = xml_soup_de.Invoice.AccountingCustomerParty.Party.PartyName.Name.string
|
||||
customer_id = xml_soup_de.Invoice.AccountingCustomerParty.Party.PartyTaxScheme.CompanyID.string
|
||||
customer_tax = xml_soup_de.Invoice.AccountingCustomerParty.TaxLevelCode.string
|
||||
|
@ -137,6 +138,7 @@ class XmlAttach():
|
|||
party_name = xml_soup_de.CreditNote.AccountingSupplierParty.Party.PartyName.Name.string
|
||||
party_company = xml_soup_de.CreditNote.AccountingSupplierParty.Party.PartyTaxScheme.CompanyID.string
|
||||
party_tax = xml_soup_de.CreditNote.AccountingSupplierParty.TaxLevelCode.string
|
||||
party_dv = xml_soup_de.CreditNote.AccountingSupplierParty.Party.CompanyID['schemeID']
|
||||
customer_party = xml_soup_de.CreditNote.AccountingCustomerParty.Party.PartyName.Name.string
|
||||
customer_id = xml_soup_de.CreditNote.AccountingCustomerParty.Party.PartyTaxScheme.CompanyID.string
|
||||
customer_tax = xml_soup_de.CreditNote.AccountingCustomerParty.TaxLevelCode.string
|
||||
|
@ -177,6 +179,7 @@ class XmlAttach():
|
|||
party_company
|
||||
xml_soup_att.SenderParty.PartyTaxScheme.TaxLevelCode.string = \
|
||||
party_tax
|
||||
xml_soup_att.SenderParty.CompanyID['schemeID'] = party_dv
|
||||
xml_soup_att.ReceiverParty.PartyTaxScheme.RegistrationName.string = \
|
||||
customer_party
|
||||
xml_soup_att.ReceiverParty.PartyTaxScheme.CompanyID.string = \
|
||||
|
|
Loading…
Reference in New Issue