[FIX] l10n_be: VAT Declaration
The VAT declaration produces an error when uploaded to the official website. Although the structure is correct, the "Representative" and the "Declarant" contain the same information, which is not consistent. opw-702066
This commit is contained in:
parent
1e8d9e1c64
commit
bbbf317fd3
|
@ -135,16 +135,6 @@ class l10n_be_vat_declaration(osv.osv_memory):
|
||||||
|
|
||||||
data_of_file = """<?xml version="1.0"?>
|
data_of_file = """<?xml version="1.0"?>
|
||||||
<ns2:VATConsignment xmlns="http://www.minfin.fgov.be/InputCommon" xmlns:ns2="http://www.minfin.fgov.be/VATConsignment" VATDeclarationsNbr="1">
|
<ns2:VATConsignment xmlns="http://www.minfin.fgov.be/InputCommon" xmlns:ns2="http://www.minfin.fgov.be/VATConsignment" VATDeclarationsNbr="1">
|
||||||
<ns2:Representative>
|
|
||||||
<RepresentativeID identificationType="NVAT" issuedBy="%(issued_by)s">%(only_vat)s</RepresentativeID>
|
|
||||||
<Name>%(cmpny_name)s</Name>
|
|
||||||
<Street>%(address)s</Street>
|
|
||||||
<PostCode>%(post_code)s</PostCode>
|
|
||||||
<City>%(city)s</City>
|
|
||||||
<CountryCode>%(country_code)s</CountryCode>
|
|
||||||
<EmailAddress>%(email)s</EmailAddress>
|
|
||||||
<Phone>%(phone)s</Phone>
|
|
||||||
</ns2:Representative>
|
|
||||||
<ns2:VATDeclaration SequenceNumber="1" DeclarantReference="%(send_ref)s">
|
<ns2:VATDeclaration SequenceNumber="1" DeclarantReference="%(send_ref)s">
|
||||||
<ns2:Declarant>
|
<ns2:Declarant>
|
||||||
<VATNumber xmlns="http://www.minfin.fgov.be/InputCommon">%(only_vat)s</VATNumber>
|
<VATNumber xmlns="http://www.minfin.fgov.be/InputCommon">%(only_vat)s</VATNumber>
|
||||||
|
|
Loading…
Reference in New Issue