[FIX] l10n_es_edi_facturae: add PaymentDetails
When invoicing public administrations, they expect the facturae electronic invoice to contain the optional `<PaymentDetails>` node that contains e.g. the bank account number to which they need to issue the payment. We didn't provide these details. This commit adds the necessary `<Installment>` nodes in the `<PaymentDetails>` node for each installment in Odoo according to the payment terms of the invoice. Since we are fixing this in stable, we only add the payment details for inbound payments and fix the `<PaymentMeans>` to `04` (Credit Transfer). We also removed the stripping of whitespace for the signature, since it turned out not necessary after introduced in [1] [1] e5d69a73e2e781d00f67c0590a8fc13b09a06ebf task-3734341 closes odoo/odoo#153931 X-original-commit: 7f88e41fb6b723c8d240344a50a5b4b8b4aa3f2f Signed-off-by: Josse Colpaert <jco@odoo.com> Signed-off-by: Dylan Kiss (dyki) <dyki@odoo.com>
This commit is contained in:
@@ -237,6 +237,17 @@
|
||||
<Items>
|
||||
<t t-foreach="invoice['Items']" t-as="line"><t t-call="l10n_es_edi_facturae.invoice_line_type"/></t>
|
||||
</Items>
|
||||
<PaymentDetails t-if="invoice['PaymentDetails']">
|
||||
<Installment t-foreach="invoice['PaymentDetails']" t-as="installment">
|
||||
<InstallmentDueDate t-out="installment['InstallmentDueDate']"/>
|
||||
<InstallmentAmount t-out="float_repr(installment['InstallmentAmount'], 2)"/>
|
||||
<PaymentMeans t-out="installment['PaymentMeans']"/>
|
||||
<AccountToBeCredited>
|
||||
<IBAN t-out="installment['AccountToBeCredited']['IBAN']"/>
|
||||
<BIC t-out="installment['AccountToBeCredited']['BIC']"/>
|
||||
</AccountToBeCredited>
|
||||
</Installment>
|
||||
</PaymentDetails>
|
||||
<LegalLiterals t-if="invoice.get('LegalLiterals')">
|
||||
<t t-foreach="invoice['LegalLiterals']" t-as="reference"><LegalReference t-out="reference"/></t>
|
||||
</LegalLiterals>
|
||||
|
||||
@@ -171,6 +171,28 @@ class AccountMove(models.Model):
|
||||
},
|
||||
}
|
||||
|
||||
def _l10n_es_edi_facturae_convert_payment_terms_to_installments(self):
|
||||
"""
|
||||
Convert the payments terms to a list of <Installment> elements to be used in the
|
||||
<PaymentDetails> node of the Facturae XML generation.
|
||||
|
||||
For now we only use the hardcoded '04' value (Credit Transfer).
|
||||
"""
|
||||
self.ensure_one()
|
||||
installments = []
|
||||
if self.is_inbound() and self.partner_bank_id:
|
||||
for payment_term in self.line_ids.filtered(lambda l: l.display_type == 'payment_term').sorted('date_maturity'):
|
||||
installments.append({
|
||||
'InstallmentDueDate': payment_term.date_maturity,
|
||||
'InstallmentAmount': payment_term.amount_residual_currency,
|
||||
'PaymentMeans': '04', # Credit Transfer
|
||||
'AccountToBeCredited': {
|
||||
'IBAN': self.partner_bank_id.sanitized_acc_number,
|
||||
'BIC': self.partner_bank_id.bank_bic,
|
||||
},
|
||||
})
|
||||
return installments
|
||||
|
||||
def _l10n_es_edi_facturae_inv_lines_to_items(self, conversion_rate=None):
|
||||
"""
|
||||
Convert the invoice lines to a list of items required for the Facturae xml generation
|
||||
@@ -353,7 +375,7 @@ class AccountMove(models.Model):
|
||||
} if totals['amounts_withheld'] else False,
|
||||
'TotalExecutableAmount': total_exec_am_in_currency,
|
||||
'Items': items,
|
||||
'PaymentDetails': [],
|
||||
'PaymentDetails': self._l10n_es_edi_facturae_convert_payment_terms_to_installments(),
|
||||
'LegalLiterals': legal_literals,
|
||||
}],
|
||||
}
|
||||
|
||||
@@ -248,110 +248,86 @@
|
||||
</Items>
|
||||
</Invoice>
|
||||
</Invoices>
|
||||
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<ds:SignedInfo>
|
||||
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
|
||||
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
|
||||
<ds:Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="" Id="Reference-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<ds:Transforms>
|
||||
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
||||
</ds:Transforms>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference Type="http://uri.etsi.org/01903#SignedProperties" URI="#SignatureProperties-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>Tf2Mjxm9l6+Y4M8azDTj4gbHNWyRfKr8QtVGZCoBTho=</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference URI="#KeyInfo-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>ARCif8tQIKagVfeHX4Fit5ZfK3mXQCPclQISywh7h44=</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
</ds:SignedInfo>
|
||||
<ds:SignatureValue>___ignore___</ds:SignatureValue>
|
||||
<ds:KeyInfo Id="KeyInfo-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<ds:X509Data>
|
||||
<ds:X509Certificate>MIID8jCCAtqgAwIBAgIUYBl+61DsTkNyyUFGveskbaGP/SkwDQYJKoZIhvcNAQELBQAwgYoxCzAJ
|
||||
BgNVBAYTAkJFMRIwEAYDVQQIDAlXYWxsb25uaWExEjAQBgNVBAcMCVJhbWlsbGllczENMAsGA1UE
|
||||
CgwET2RvbzEMMAoGA1UECwwDUiZEMRgwFgYDVQQDDA9ydW5ib3Qub2Rvby5jb20xHDAaBgkqhkiG
|
||||
9w0BCQEWDWluZm9Ab2Rvby5jb20wHhcNMjIwNDI2MDczMTUwWhcNMjMwNDI2MDczMTUwWjCBlTEL
|
||||
MAkGA1UEBhMCQkUxEjAQBgNVBAgMCVdhbGxvbm5pYTESMBAGA1UEBwwJUmFtaWxsaWVzMRIwEAYD
|
||||
VQQKDAlPZG9vIFMuQS4xGTAXBgNVBAsMEFImRCAtIEFjY291bnRpbmcxETAPBgNVBAMMCG9kb28u
|
||||
Y29tMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9kb28uY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A
|
||||
MIIBCgKCAQEAtGUbyNJrA3yyOC01gIMR1A1rWIHCHD+afLCLCddBDZwC4Q034yFBuMqQFNWaxxLc
|
||||
9s+wFbNZqu5D7rynN3qXvWJj40VZxygoV/09y71IhaspuAZ0rdzYsqjDmTJiPSrEl6iydF2eq6sJ
|
||||
4J0ItCUFc2e88B25wz7esslAN249C20oQj5ZiGifR4P0CRQSmDy0SPYZGxTurVwtq6IsYbOqEw8/
|
||||
Wqx6ApOltperFX88DZCdbY59ZedqQrGQh2Z5Au7h/8nhmdbpz7Ixw2zocxVigR0ClNDpKKxvolX1
|
||||
virQpICkfWcAaWAYAMCL4KhvISclysD+5juDLpGCLHPtKxBXTQIDAQABo0MwQTAfBgNVHSMEGDAW
|
||||
gBTmxEG4Ub7b5wRXqWea94Vs1hB13zAJBgNVHRMEAjAAMBMGA1UdEQQMMAqCCG9kb28uY29tMA0G
|
||||
CSqGSIb3DQEBCwUAA4IBAQAFLvTlSELTVWRfIlGthoFOmkv8MrwJuo8y7qTmvsFXeA2hZtsPdNxx
|
||||
iwAGPobiUO0GCEPUFKZ7NksQa7DAKGXfb5RSwfujDfEMAhgi00+wF1VIKeKqnGt4idzCr+2NtiQY
|
||||
e9oK+Ee7o82llnNFwbWvRKx55lhHW3bwN6Tl31qUYbxacJyA9z5sQpe2zImWMVsm4g7OAjzg3Cn2
|
||||
0TFu+0XekB892n7DYh4gHiMWaMOVYmi/aEWLSqxMlbiHQr75FmPftozFvTxW26jU3ALhq+yXPVa4
|
||||
lg4r/h6HH5TbtSjYzTSJ4MvMyrECgIQYf0zsS4D6K/GvCZbu7LKHRwuC0fis
|
||||
</ds:X509Certificate>
|
||||
</ds:X509Data>
|
||||
<ds:KeyValue>
|
||||
<ds:RSAKeyValue>
|
||||
<ds:Modulus>tGUbyNJrA3yyOC01gIMR1A1rWIHCHD+afLCLCddBDZwC4Q034yFBuMqQFNWaxxLc9s+wFbNZqu5D
|
||||
7rynN3qXvWJj40VZxygoV/09y71IhaspuAZ0rdzYsqjDmTJiPSrEl6iydF2eq6sJ4J0ItCUFc2e8
|
||||
8B25wz7esslAN249C20oQj5ZiGifR4P0CRQSmDy0SPYZGxTurVwtq6IsYbOqEw8/Wqx6ApOltper
|
||||
FX88DZCdbY59ZedqQrGQh2Z5Au7h/8nhmdbpz7Ixw2zocxVigR0ClNDpKKxvolX1virQpICkfWcA
|
||||
aWAYAMCL4KhvISclysD+5juDLpGCLHPtKxBXTQ==
|
||||
</ds:Modulus>
|
||||
<ds:Exponent>AQAB
|
||||
</ds:Exponent>
|
||||
</ds:RSAKeyValue>
|
||||
</ds:KeyValue>
|
||||
</ds:KeyInfo>
|
||||
<ds:Object>
|
||||
<xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Target="#Signature-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<xades:SignedProperties Id="SignatureProperties-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<xades:SignedSignatureProperties>
|
||||
<xades:SigningTime>2023-01-01T00:00:00</xades:SigningTime>
|
||||
<xades:SigningCertificate>
|
||||
<xades:Cert>
|
||||
<xades:CertDigest>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>FHf2lN+5FALNa7JXV2+pByL92/dr8LeCVhpItYic5oA=</ds:DigestValue>
|
||||
</xades:CertDigest>
|
||||
<xades:IssuerSerial>
|
||||
<ds:X509IssuerName>C=BE, CN=runbot.odoo.com, L=Ramillies, O=Odoo, OU=R&D, ST=Wallonnia</ds:X509IssuerName>
|
||||
<ds:X509SerialNumber>548631688851000697209704649636588277530075594025</ds:X509SerialNumber>
|
||||
</xades:IssuerSerial>
|
||||
</xades:Cert>
|
||||
</xades:SigningCertificate>
|
||||
<xades:SignaturePolicyIdentifier>
|
||||
<xades:SignaturePolicyId>
|
||||
<xades:SigPolicyId>
|
||||
<xades:Identifier>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:Identifier>
|
||||
<xades:Description>Política de firma electrónica para facturación electrónica con formato Facturae</xades:Description>
|
||||
</xades:SigPolicyId>
|
||||
<xades:SigPolicyHash>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
|
||||
<ds:DigestValue>Ohixl6upD6av8N7pEvDABhEL6hM=</ds:DigestValue>
|
||||
</xades:SigPolicyHash>
|
||||
<xades:SigPolicyQualifiers>
|
||||
<xades:SigPolicyQualifier>
|
||||
<xades:SPURI>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:SPURI>
|
||||
</xades:SigPolicyQualifier>
|
||||
</xades:SigPolicyQualifiers>
|
||||
</xades:SignaturePolicyId>
|
||||
</xades:SignaturePolicyIdentifier>
|
||||
</xades:SignedSignatureProperties>
|
||||
<xades:SignedDataObjectProperties>
|
||||
<xades:DataObjectFormat ObjectReference="#Reference-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<xades:Description/>
|
||||
<xades:ObjectIdentifier>
|
||||
<xades:Identifier Qualifier="OIDAsURN">urn:oid:1.2.840.10003.5.109.10</xades:Identifier>
|
||||
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="___ignore___">
|
||||
<ds:SignedInfo>
|
||||
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
|
||||
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
|
||||
<ds:Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="___ignore___" Id="___ignore___">
|
||||
<ds:Transforms>
|
||||
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
||||
</ds:Transforms>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference Type="http://uri.etsi.org/01903#SignedProperties" URI="___ignore___">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference URI="___ignore___">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
</ds:SignedInfo>
|
||||
<ds:SignatureValue>___ignore___</ds:SignatureValue>
|
||||
<ds:KeyInfo Id="___ignore___">
|
||||
<ds:X509Data>
|
||||
<ds:X509Certificate>___ignore___</ds:X509Certificate>
|
||||
</ds:X509Data>
|
||||
<ds:KeyValue>
|
||||
<ds:RSAKeyValue>
|
||||
<ds:Modulus>___ignore___</ds:Modulus>
|
||||
<ds:Exponent>___ignore___</ds:Exponent>
|
||||
</ds:RSAKeyValue>
|
||||
</ds:KeyValue>
|
||||
</ds:KeyInfo>
|
||||
<ds:Object>
|
||||
<xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Target="___ignore___">
|
||||
<xades:SignedProperties Id="___ignore___">
|
||||
<xades:SignedSignatureProperties>
|
||||
<xades:SigningTime>___ignore___</xades:SigningTime>
|
||||
<xades:SigningCertificate>
|
||||
<xades:Cert>
|
||||
<xades:CertDigest>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</xades:CertDigest>
|
||||
<xades:IssuerSerial>
|
||||
<ds:X509IssuerName>___ignore___</ds:X509IssuerName>
|
||||
<ds:X509SerialNumber>___ignore___</ds:X509SerialNumber>
|
||||
</xades:IssuerSerial>
|
||||
</xades:Cert>
|
||||
</xades:SigningCertificate>
|
||||
<xades:SignaturePolicyIdentifier>
|
||||
<xades:SignaturePolicyId>
|
||||
<xades:SigPolicyId>
|
||||
<xades:Identifier>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:Identifier>
|
||||
<xades:Description>Política de firma electrónica para facturación electrónica con formato Facturae</xades:Description>
|
||||
</xades:SigPolicyId>
|
||||
<xades:SigPolicyHash>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
|
||||
<ds:DigestValue>Ohixl6upD6av8N7pEvDABhEL6hM=</ds:DigestValue>
|
||||
</xades:SigPolicyHash>
|
||||
<xades:SigPolicyQualifiers>
|
||||
<xades:SigPolicyQualifier>
|
||||
<xades:SPURI>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:SPURI>
|
||||
</xades:SigPolicyQualifier>
|
||||
</xades:SigPolicyQualifiers>
|
||||
</xades:SignaturePolicyId>
|
||||
</xades:SignaturePolicyIdentifier>
|
||||
</xades:SignedSignatureProperties>
|
||||
<xades:SignedDataObjectProperties>
|
||||
<xades:DataObjectFormat ObjectReference="___ignore___">
|
||||
<xades:Description/>
|
||||
</xades:ObjectIdentifier>
|
||||
<xades:MimeType>text/xml</xades:MimeType>
|
||||
<xades:Encoding/>
|
||||
</xades:DataObjectFormat>
|
||||
</xades:SignedDataObjectProperties>
|
||||
</xades:SignedProperties>
|
||||
</xades:QualifyingProperties>
|
||||
</ds:Object>
|
||||
</ds:Signature>
|
||||
<xades:ObjectIdentifier>
|
||||
<xades:Identifier Qualifier="OIDAsURN">urn:oid:1.2.840.10003.5.109.10</xades:Identifier>
|
||||
<xades:Description/>
|
||||
</xades:ObjectIdentifier>
|
||||
<xades:MimeType>text/xml</xades:MimeType>
|
||||
<xades:Encoding/>
|
||||
</xades:DataObjectFormat>
|
||||
</xades:SignedDataObjectProperties>
|
||||
</xades:SignedProperties>
|
||||
</xades:QualifyingProperties>
|
||||
</ds:Object>
|
||||
</ds:Signature>
|
||||
</fac:Facturae>
|
||||
|
||||
@@ -155,110 +155,86 @@
|
||||
</Items>
|
||||
</Invoice>
|
||||
</Invoices>
|
||||
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<ds:SignedInfo>
|
||||
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
|
||||
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
|
||||
<ds:Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="" Id="Reference-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<ds:Transforms>
|
||||
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
||||
</ds:Transforms>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference Type="http://uri.etsi.org/01903#SignedProperties" URI="#SignatureProperties-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>Tf2Mjxm9l6+Y4M8azDTj4gbHNWyRfKr8QtVGZCoBTho=</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference URI="#KeyInfo-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>ARCif8tQIKagVfeHX4Fit5ZfK3mXQCPclQISywh7h44=</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
</ds:SignedInfo>
|
||||
<ds:SignatureValue>___ignore___</ds:SignatureValue>
|
||||
<ds:KeyInfo Id="KeyInfo-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<ds:X509Data>
|
||||
<ds:X509Certificate>MIID8jCCAtqgAwIBAgIUYBl+61DsTkNyyUFGveskbaGP/SkwDQYJKoZIhvcNAQELBQAwgYoxCzAJ
|
||||
BgNVBAYTAkJFMRIwEAYDVQQIDAlXYWxsb25uaWExEjAQBgNVBAcMCVJhbWlsbGllczENMAsGA1UE
|
||||
CgwET2RvbzEMMAoGA1UECwwDUiZEMRgwFgYDVQQDDA9ydW5ib3Qub2Rvby5jb20xHDAaBgkqhkiG
|
||||
9w0BCQEWDWluZm9Ab2Rvby5jb20wHhcNMjIwNDI2MDczMTUwWhcNMjMwNDI2MDczMTUwWjCBlTEL
|
||||
MAkGA1UEBhMCQkUxEjAQBgNVBAgMCVdhbGxvbm5pYTESMBAGA1UEBwwJUmFtaWxsaWVzMRIwEAYD
|
||||
VQQKDAlPZG9vIFMuQS4xGTAXBgNVBAsMEFImRCAtIEFjY291bnRpbmcxETAPBgNVBAMMCG9kb28u
|
||||
Y29tMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9kb28uY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A
|
||||
MIIBCgKCAQEAtGUbyNJrA3yyOC01gIMR1A1rWIHCHD+afLCLCddBDZwC4Q034yFBuMqQFNWaxxLc
|
||||
9s+wFbNZqu5D7rynN3qXvWJj40VZxygoV/09y71IhaspuAZ0rdzYsqjDmTJiPSrEl6iydF2eq6sJ
|
||||
4J0ItCUFc2e88B25wz7esslAN249C20oQj5ZiGifR4P0CRQSmDy0SPYZGxTurVwtq6IsYbOqEw8/
|
||||
Wqx6ApOltperFX88DZCdbY59ZedqQrGQh2Z5Au7h/8nhmdbpz7Ixw2zocxVigR0ClNDpKKxvolX1
|
||||
virQpICkfWcAaWAYAMCL4KhvISclysD+5juDLpGCLHPtKxBXTQIDAQABo0MwQTAfBgNVHSMEGDAW
|
||||
gBTmxEG4Ub7b5wRXqWea94Vs1hB13zAJBgNVHRMEAjAAMBMGA1UdEQQMMAqCCG9kb28uY29tMA0G
|
||||
CSqGSIb3DQEBCwUAA4IBAQAFLvTlSELTVWRfIlGthoFOmkv8MrwJuo8y7qTmvsFXeA2hZtsPdNxx
|
||||
iwAGPobiUO0GCEPUFKZ7NksQa7DAKGXfb5RSwfujDfEMAhgi00+wF1VIKeKqnGt4idzCr+2NtiQY
|
||||
e9oK+Ee7o82llnNFwbWvRKx55lhHW3bwN6Tl31qUYbxacJyA9z5sQpe2zImWMVsm4g7OAjzg3Cn2
|
||||
0TFu+0XekB892n7DYh4gHiMWaMOVYmi/aEWLSqxMlbiHQr75FmPftozFvTxW26jU3ALhq+yXPVa4
|
||||
lg4r/h6HH5TbtSjYzTSJ4MvMyrECgIQYf0zsS4D6K/GvCZbu7LKHRwuC0fis
|
||||
</ds:X509Certificate>
|
||||
</ds:X509Data>
|
||||
<ds:KeyValue>
|
||||
<ds:RSAKeyValue>
|
||||
<ds:Modulus>tGUbyNJrA3yyOC01gIMR1A1rWIHCHD+afLCLCddBDZwC4Q034yFBuMqQFNWaxxLc9s+wFbNZqu5D
|
||||
7rynN3qXvWJj40VZxygoV/09y71IhaspuAZ0rdzYsqjDmTJiPSrEl6iydF2eq6sJ4J0ItCUFc2e8
|
||||
8B25wz7esslAN249C20oQj5ZiGifR4P0CRQSmDy0SPYZGxTurVwtq6IsYbOqEw8/Wqx6ApOltper
|
||||
FX88DZCdbY59ZedqQrGQh2Z5Au7h/8nhmdbpz7Ixw2zocxVigR0ClNDpKKxvolX1virQpICkfWcA
|
||||
aWAYAMCL4KhvISclysD+5juDLpGCLHPtKxBXTQ==
|
||||
</ds:Modulus>
|
||||
<ds:Exponent>AQAB
|
||||
</ds:Exponent>
|
||||
</ds:RSAKeyValue>
|
||||
</ds:KeyValue>
|
||||
</ds:KeyInfo>
|
||||
<ds:Object>
|
||||
<xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Target="#Signature-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<xades:SignedProperties Id="SignatureProperties-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<xades:SignedSignatureProperties>
|
||||
<xades:SigningTime>2023-01-01T00:00:00</xades:SigningTime>
|
||||
<xades:SigningCertificate>
|
||||
<xades:Cert>
|
||||
<xades:CertDigest>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>FHf2lN+5FALNa7JXV2+pByL92/dr8LeCVhpItYic5oA=</ds:DigestValue>
|
||||
</xades:CertDigest>
|
||||
<xades:IssuerSerial>
|
||||
<ds:X509IssuerName>C=BE, CN=runbot.odoo.com, L=Ramillies, O=Odoo, OU=R&D, ST=Wallonnia</ds:X509IssuerName>
|
||||
<ds:X509SerialNumber>548631688851000697209704649636588277530075594025</ds:X509SerialNumber>
|
||||
</xades:IssuerSerial>
|
||||
</xades:Cert>
|
||||
</xades:SigningCertificate>
|
||||
<xades:SignaturePolicyIdentifier>
|
||||
<xades:SignaturePolicyId>
|
||||
<xades:SigPolicyId>
|
||||
<xades:Identifier>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:Identifier>
|
||||
<xades:Description>Política de firma electrónica para facturación electrónica con formato Facturae</xades:Description>
|
||||
</xades:SigPolicyId>
|
||||
<xades:SigPolicyHash>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
|
||||
<ds:DigestValue>Ohixl6upD6av8N7pEvDABhEL6hM=</ds:DigestValue>
|
||||
</xades:SigPolicyHash>
|
||||
<xades:SigPolicyQualifiers>
|
||||
<xades:SigPolicyQualifier>
|
||||
<xades:SPURI>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:SPURI>
|
||||
</xades:SigPolicyQualifier>
|
||||
</xades:SigPolicyQualifiers>
|
||||
</xades:SignaturePolicyId>
|
||||
</xades:SignaturePolicyIdentifier>
|
||||
</xades:SignedSignatureProperties>
|
||||
<xades:SignedDataObjectProperties>
|
||||
<xades:DataObjectFormat ObjectReference="#Reference-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<xades:Description/>
|
||||
<xades:ObjectIdentifier>
|
||||
<xades:Identifier Qualifier="OIDAsURN">urn:oid:1.2.840.10003.5.109.10</xades:Identifier>
|
||||
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="___ignore___">
|
||||
<ds:SignedInfo>
|
||||
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
|
||||
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
|
||||
<ds:Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="___ignore___" Id="___ignore___">
|
||||
<ds:Transforms>
|
||||
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
||||
</ds:Transforms>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference Type="http://uri.etsi.org/01903#SignedProperties" URI="___ignore___">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference URI="___ignore___">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
</ds:SignedInfo>
|
||||
<ds:SignatureValue>___ignore___</ds:SignatureValue>
|
||||
<ds:KeyInfo Id="___ignore___">
|
||||
<ds:X509Data>
|
||||
<ds:X509Certificate>___ignore___</ds:X509Certificate>
|
||||
</ds:X509Data>
|
||||
<ds:KeyValue>
|
||||
<ds:RSAKeyValue>
|
||||
<ds:Modulus>___ignore___</ds:Modulus>
|
||||
<ds:Exponent>___ignore___</ds:Exponent>
|
||||
</ds:RSAKeyValue>
|
||||
</ds:KeyValue>
|
||||
</ds:KeyInfo>
|
||||
<ds:Object>
|
||||
<xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Target="___ignore___">
|
||||
<xades:SignedProperties Id="___ignore___">
|
||||
<xades:SignedSignatureProperties>
|
||||
<xades:SigningTime>___ignore___</xades:SigningTime>
|
||||
<xades:SigningCertificate>
|
||||
<xades:Cert>
|
||||
<xades:CertDigest>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</xades:CertDigest>
|
||||
<xades:IssuerSerial>
|
||||
<ds:X509IssuerName>___ignore___</ds:X509IssuerName>
|
||||
<ds:X509SerialNumber>___ignore___</ds:X509SerialNumber>
|
||||
</xades:IssuerSerial>
|
||||
</xades:Cert>
|
||||
</xades:SigningCertificate>
|
||||
<xades:SignaturePolicyIdentifier>
|
||||
<xades:SignaturePolicyId>
|
||||
<xades:SigPolicyId>
|
||||
<xades:Identifier>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:Identifier>
|
||||
<xades:Description>Política de firma electrónica para facturación electrónica con formato Facturae</xades:Description>
|
||||
</xades:SigPolicyId>
|
||||
<xades:SigPolicyHash>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
|
||||
<ds:DigestValue>Ohixl6upD6av8N7pEvDABhEL6hM=</ds:DigestValue>
|
||||
</xades:SigPolicyHash>
|
||||
<xades:SigPolicyQualifiers>
|
||||
<xades:SigPolicyQualifier>
|
||||
<xades:SPURI>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:SPURI>
|
||||
</xades:SigPolicyQualifier>
|
||||
</xades:SigPolicyQualifiers>
|
||||
</xades:SignaturePolicyId>
|
||||
</xades:SignaturePolicyIdentifier>
|
||||
</xades:SignedSignatureProperties>
|
||||
<xades:SignedDataObjectProperties>
|
||||
<xades:DataObjectFormat ObjectReference="___ignore___">
|
||||
<xades:Description/>
|
||||
</xades:ObjectIdentifier>
|
||||
<xades:MimeType>text/xml</xades:MimeType>
|
||||
<xades:Encoding/>
|
||||
</xades:DataObjectFormat>
|
||||
</xades:SignedDataObjectProperties>
|
||||
</xades:SignedProperties>
|
||||
</xades:QualifyingProperties>
|
||||
</ds:Object>
|
||||
</ds:Signature>
|
||||
<xades:ObjectIdentifier>
|
||||
<xades:Identifier Qualifier="OIDAsURN">urn:oid:1.2.840.10003.5.109.10</xades:Identifier>
|
||||
<xades:Description/>
|
||||
</xades:ObjectIdentifier>
|
||||
<xades:MimeType>text/xml</xades:MimeType>
|
||||
<xades:Encoding/>
|
||||
</xades:DataObjectFormat>
|
||||
</xades:SignedDataObjectProperties>
|
||||
</xades:SignedProperties>
|
||||
</xades:QualifyingProperties>
|
||||
</ds:Object>
|
||||
</ds:Signature>
|
||||
</fac:Facturae>
|
||||
|
||||
@@ -246,6 +246,17 @@
|
||||
</TaxesOutputs>
|
||||
</InvoiceLine>
|
||||
</Items>
|
||||
<PaymentDetails>
|
||||
<Installment>
|
||||
<InstallmentDueDate>2023-01-01</InstallmentDueDate>
|
||||
<InstallmentAmount>2904.00</InstallmentAmount>
|
||||
<PaymentMeans>04</PaymentMeans>
|
||||
<AccountToBeCredited>
|
||||
<IBAN>ES9121000418450200051332</IBAN>
|
||||
<BIC>CAIXESBBXXX</BIC>
|
||||
</AccountToBeCredited>
|
||||
</Installment>
|
||||
</PaymentDetails>
|
||||
</Invoice>
|
||||
</Invoices>
|
||||
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
@@ -257,7 +268,7 @@
|
||||
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
||||
</ds:Transforms>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>jmyIG4idEVMFXy59HSx1XJZPAjcjIBxf8CJzP4n8BVE=</ds:DigestValue>
|
||||
<ds:DigestValue>xdun3jji1k9eALHA/tTDx0KWCC4xbATtubCTzOufo0o=</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference Type="http://uri.etsi.org/01903#SignedProperties" URI="#SignatureProperties-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
@@ -268,7 +279,12 @@
|
||||
<ds:DigestValue>ARCif8tQIKagVfeHX4Fit5ZfK3mXQCPclQISywh7h44=</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
</ds:SignedInfo>
|
||||
<ds:SignatureValue>___ignore___</ds:SignatureValue>
|
||||
<ds:SignatureValue>ZDR0+T0hBbb3nUFvr5RS8EFMMrtC6bWFOpQsc80NxR5Lf3PUplDbBje7nnh3jW+bdCJs3O49inUh
|
||||
5ZhCTcBL/KAsRPTT2tz70KCWt9dzDCx2LYzU4fDgUdRIrvWKyrAmCwO4C3Hoz3kFXhDhcTct46xX
|
||||
IvDAaOItH3jKpoURmNSDCaT3GvrtHgvxt8zpWX2SisoYOwgVs/VYptgurRRJ7JIMSQBJzXc35YsM
|
||||
S7ObfL0MMfaZxZJQR8Y4YzomXXQt3vf3yNXXIkjfTjqmpwOwVRPvxbV1CYjI9zQp3kqUpSOkNj0c
|
||||
BGTyOg45cPB1GDpJA4M4yhDPd3twU2HH9dSwXg==
|
||||
</ds:SignatureValue>
|
||||
<ds:KeyInfo Id="KeyInfo-Document-da39a3ee5e6b4b0d3255bfef95601890afd80709">
|
||||
<ds:X509Data>
|
||||
<ds:X509Certificate>MIID8jCCAtqgAwIBAgIUYBl+61DsTkNyyUFGveskbaGP/SkwDQYJKoZIhvcNAQELBQAwgYoxCzAJ
|
||||
|
||||
@@ -240,88 +240,99 @@
|
||||
</TaxesWithheld>
|
||||
</InvoiceLine>
|
||||
</Items>
|
||||
<PaymentDetails>
|
||||
<Installment>
|
||||
<InstallmentDueDate>2023-01-01</InstallmentDueDate>
|
||||
<InstallmentAmount>400.00</InstallmentAmount>
|
||||
<PaymentMeans>04</PaymentMeans>
|
||||
<AccountToBeCredited>
|
||||
<IBAN>ES9121000418450200051332</IBAN>
|
||||
<BIC>CAIXESBBXXX</BIC>
|
||||
</AccountToBeCredited>
|
||||
</Installment>
|
||||
</PaymentDetails>
|
||||
</Invoice>
|
||||
</Invoices>
|
||||
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="___ignore___">
|
||||
<ds:SignedInfo>
|
||||
<ds:CanonicalizationMethod Algorithm="___ignore___"/>
|
||||
<ds:SignatureMethod Algorithm="___ignore___"/>
|
||||
<ds:Reference Type="___ignore___" URI="___ignore___" Id="___ignore___">
|
||||
<ds:Transforms>
|
||||
<ds:Transform Algorithm="___ignore___"/>
|
||||
</ds:Transforms>
|
||||
<ds:DigestMethod Algorithm="___ignore___"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference Type="___ignore___" URI="___ignore___">
|
||||
<ds:DigestMethod Algorithm="___ignore___"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference URI="___ignore___">
|
||||
<ds:DigestMethod Algorithm="___ignore___"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
</ds:SignedInfo>
|
||||
<ds:SignatureValue>___ignore___</ds:SignatureValue>
|
||||
<ds:SignedInfo>
|
||||
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
|
||||
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
|
||||
<ds:Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="___ignore___" Id="___ignore___">
|
||||
<ds:Transforms>
|
||||
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
||||
</ds:Transforms>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference Type="http://uri.etsi.org/01903#SignedProperties" URI="___ignore___">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference URI="___ignore___">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
</ds:SignedInfo>
|
||||
<ds:SignatureValue>___ignore___</ds:SignatureValue>
|
||||
<ds:KeyInfo Id="___ignore___">
|
||||
<ds:X509Data>
|
||||
<ds:X509Certificate>___ignore___</ds:X509Certificate>
|
||||
</ds:X509Data>
|
||||
<ds:KeyValue>
|
||||
<ds:RSAKeyValue>
|
||||
<ds:Modulus>___ignore___</ds:Modulus>
|
||||
<ds:Exponent>___ignore___</ds:Exponent>
|
||||
</ds:RSAKeyValue>
|
||||
</ds:KeyValue>
|
||||
</ds:KeyInfo>
|
||||
<ds:Object>
|
||||
<xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Target="___ignore___">
|
||||
<xades:SignedProperties Id="___ignore___">
|
||||
<xades:SignedSignatureProperties>
|
||||
<xades:SigningTime>___ignore___</xades:SigningTime>
|
||||
<xades:SigningCertificate>
|
||||
<xades:Cert>
|
||||
<xades:CertDigest>
|
||||
<ds:DigestMethod Algorithm="___ignore___"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</xades:CertDigest>
|
||||
<xades:IssuerSerial>
|
||||
<ds:X509IssuerName>___ignore___</ds:X509IssuerName>
|
||||
<ds:X509SerialNumber>___ignore___</ds:X509SerialNumber>
|
||||
</xades:IssuerSerial>
|
||||
</xades:Cert>
|
||||
</xades:SigningCertificate>
|
||||
<xades:SignaturePolicyIdentifier>
|
||||
<xades:SignaturePolicyId>
|
||||
<xades:SigPolicyId>
|
||||
<xades:Identifier>___ignore___</xades:Identifier>
|
||||
<xades:Description>___ignore___</xades:Description>
|
||||
</xades:SigPolicyId>
|
||||
<xades:SigPolicyHash>
|
||||
<ds:DigestMethod Algorithm="___ignore___"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</xades:SigPolicyHash>
|
||||
<xades:SigPolicyQualifiers>
|
||||
<xades:SigPolicyQualifier>
|
||||
<xades:SPURI>___ignore___</xades:SPURI>
|
||||
</xades:SigPolicyQualifier>
|
||||
</xades:SigPolicyQualifiers>
|
||||
</xades:SignaturePolicyId>
|
||||
</xades:SignaturePolicyIdentifier>
|
||||
</xades:SignedSignatureProperties>
|
||||
<xades:SignedDataObjectProperties>
|
||||
<xades:DataObjectFormat ObjectReference="___ignore___">
|
||||
<xades:Description/>
|
||||
<xades:ObjectIdentifier>
|
||||
<xades:Identifier Qualifier="OIDAsURN">___ignore___</xades:Identifier>
|
||||
<ds:X509Data>
|
||||
<ds:X509Certificate>___ignore___</ds:X509Certificate>
|
||||
</ds:X509Data>
|
||||
<ds:KeyValue>
|
||||
<ds:RSAKeyValue>
|
||||
<ds:Modulus>___ignore___</ds:Modulus>
|
||||
<ds:Exponent>___ignore___</ds:Exponent>
|
||||
</ds:RSAKeyValue>
|
||||
</ds:KeyValue>
|
||||
</ds:KeyInfo>
|
||||
<ds:Object>
|
||||
<xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Target="___ignore___">
|
||||
<xades:SignedProperties Id="___ignore___">
|
||||
<xades:SignedSignatureProperties>
|
||||
<xades:SigningTime>___ignore___</xades:SigningTime>
|
||||
<xades:SigningCertificate>
|
||||
<xades:Cert>
|
||||
<xades:CertDigest>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</xades:CertDigest>
|
||||
<xades:IssuerSerial>
|
||||
<ds:X509IssuerName>___ignore___</ds:X509IssuerName>
|
||||
<ds:X509SerialNumber>___ignore___</ds:X509SerialNumber>
|
||||
</xades:IssuerSerial>
|
||||
</xades:Cert>
|
||||
</xades:SigningCertificate>
|
||||
<xades:SignaturePolicyIdentifier>
|
||||
<xades:SignaturePolicyId>
|
||||
<xades:SigPolicyId>
|
||||
<xades:Identifier>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:Identifier>
|
||||
<xades:Description>Política de firma electrónica para facturación electrónica con formato Facturae</xades:Description>
|
||||
</xades:SigPolicyId>
|
||||
<xades:SigPolicyHash>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
|
||||
<ds:DigestValue>Ohixl6upD6av8N7pEvDABhEL6hM=</ds:DigestValue>
|
||||
</xades:SigPolicyHash>
|
||||
<xades:SigPolicyQualifiers>
|
||||
<xades:SigPolicyQualifier>
|
||||
<xades:SPURI>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:SPURI>
|
||||
</xades:SigPolicyQualifier>
|
||||
</xades:SigPolicyQualifiers>
|
||||
</xades:SignaturePolicyId>
|
||||
</xades:SignaturePolicyIdentifier>
|
||||
</xades:SignedSignatureProperties>
|
||||
<xades:SignedDataObjectProperties>
|
||||
<xades:DataObjectFormat ObjectReference="___ignore___">
|
||||
<xades:Description/>
|
||||
</xades:ObjectIdentifier>
|
||||
<xades:MimeType>___ignore___</xades:MimeType>
|
||||
<xades:Encoding/>
|
||||
</xades:DataObjectFormat>
|
||||
</xades:SignedDataObjectProperties>
|
||||
</xades:SignedProperties>
|
||||
</xades:QualifyingProperties>
|
||||
</ds:Object>
|
||||
</ds:Signature>
|
||||
<xades:ObjectIdentifier>
|
||||
<xades:Identifier Qualifier="OIDAsURN">urn:oid:1.2.840.10003.5.109.10</xades:Identifier>
|
||||
<xades:Description/>
|
||||
</xades:ObjectIdentifier>
|
||||
<xades:MimeType>text/xml</xades:MimeType>
|
||||
<xades:Encoding/>
|
||||
</xades:DataObjectFormat>
|
||||
</xades:SignedDataObjectProperties>
|
||||
</xades:SignedProperties>
|
||||
</xades:QualifyingProperties>
|
||||
</ds:Object>
|
||||
</ds:Signature>
|
||||
</fac:Facturae>
|
||||
|
||||
@@ -36,6 +36,18 @@ class TestEdiFacturaeXmls(AccountTestInvoicingCommon):
|
||||
'country_id': cls.env.ref('base.us').id, # -> ResidenceTypeCode 'R'
|
||||
})
|
||||
|
||||
cls.caixabank = cls.env['res.bank'].create({
|
||||
'name': 'CAIXABANK',
|
||||
'bic': 'CAIXESBBXXX',
|
||||
})
|
||||
|
||||
cls.env['res.partner.bank'].create({
|
||||
'acc_number': 'ES9121000418450200051332',
|
||||
'partner_id': cls.company_data['company'].partner_id.id,
|
||||
'bank_id': cls.caixabank.id,
|
||||
'acc_type': 'iban',
|
||||
})
|
||||
|
||||
# ==== Business ====
|
||||
cls.partner_a.write({ # -> PersonTypeCode 'F'
|
||||
'country_id': cls.env.ref('base.be').id, # -> ResidenceTypeCode 'U'
|
||||
|
||||
@@ -151,117 +151,108 @@
|
||||
</TaxesOutputs>
|
||||
</InvoiceLine>
|
||||
</Items>
|
||||
<PaymentDetails>
|
||||
<Installment>
|
||||
<InstallmentDueDate>2023-01-01</InstallmentDueDate>
|
||||
<InstallmentAmount>36.30</InstallmentAmount>
|
||||
<PaymentMeans>04</PaymentMeans>
|
||||
<AccountToBeCredited>
|
||||
<IBAN>ES9121000418450200051332</IBAN>
|
||||
<BIC>CAIXESBBXXX</BIC>
|
||||
</AccountToBeCredited>
|
||||
</Installment>
|
||||
<Installment>
|
||||
<InstallmentDueDate>2023-02-28</InstallmentDueDate>
|
||||
<InstallmentAmount>84.70</InstallmentAmount>
|
||||
<PaymentMeans>04</PaymentMeans>
|
||||
<AccountToBeCredited>
|
||||
<IBAN>ES9121000418450200051332</IBAN>
|
||||
<BIC>CAIXESBBXXX</BIC>
|
||||
</AccountToBeCredited>
|
||||
</Installment>
|
||||
</PaymentDetails>
|
||||
</Invoice>
|
||||
</Invoices>
|
||||
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-Document-d6c35cd34a32582d4a379bd7e7c26ac95b3d2974">
|
||||
<ds:SignedInfo>
|
||||
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
|
||||
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
|
||||
<ds:Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="" Id="Reference-Document-d6c35cd34a32582d4a379bd7e7c26ac95b3d2974">
|
||||
<ds:Transforms>
|
||||
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
||||
</ds:Transforms>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>urompTUIWaKzL528cuOOuM8Lh/fUUgxrngI3Fg2r++s=</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference Type="http://uri.etsi.org/01903#SignedProperties" URI="#SignatureProperties-Document-d6c35cd34a32582d4a379bd7e7c26ac95b3d2974">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>p3O3P7yN7ifUcHxyiyitT8QXtJ5RB0RE9J8eZZw4Wa4=</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference URI="#KeyInfo-Document-d6c35cd34a32582d4a379bd7e7c26ac95b3d2974">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>srbcYkX+wYhxw3fk/CIkmKpiHUIjC4LiVyUCoGGJzNQ=</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
</ds:SignedInfo>
|
||||
<ds:SignatureValue>BAnMGMYIo24C0XwuHkCmtQ7ahOvMMYbeHeB17af189q1rNPyrqoCNiDpoSmsUQvSGeURRDWZbi7O
|
||||
8Q+BgNxL0sOxoHr/KCrKHKytYp5Rum4WhOqSb4HfJgg4FAiO6g2arucEOrmuLhdw+A7eo7td9aP4
|
||||
EdEAKUu/SxTD8q3kxcxz8BJQbaY80Qgq9334GwfvYpYe15h+eHv+TfzctGC7gCwkEHPCJoH0qPZc
|
||||
o70qoXvt4ogt6qJdnoQEIxSDsT8aO8oQ1ONum+vHnE+9VCR9pJQaxMc6KZaJuP2J2kZHG53UgIza
|
||||
OL3Bw2gRIDPd/F6vNw4aAjqJulrRDZuhRzge7A==
|
||||
</ds:SignatureValue>
|
||||
<ds:KeyInfo Id="KeyInfo-Document-d6c35cd34a32582d4a379bd7e7c26ac95b3d2974">
|
||||
<ds:X509Data>
|
||||
<ds:X509Certificate>MIID8jCCAtqgAwIBAgIUYBl+61DsTkNyyUFGveskbaGP/SkwDQYJKoZIhvcNAQELBQAwgYoxCzAJ
|
||||
BgNVBAYTAkJFMRIwEAYDVQQIDAlXYWxsb25uaWExEjAQBgNVBAcMCVJhbWlsbGllczENMAsGA1UE
|
||||
CgwET2RvbzEMMAoGA1UECwwDUiZEMRgwFgYDVQQDDA9ydW5ib3Qub2Rvby5jb20xHDAaBgkqhkiG
|
||||
9w0BCQEWDWluZm9Ab2Rvby5jb20wHhcNMjIwNDI2MDczMTUwWhcNMjMwNDI2MDczMTUwWjCBlTEL
|
||||
MAkGA1UEBhMCQkUxEjAQBgNVBAgMCVdhbGxvbm5pYTESMBAGA1UEBwwJUmFtaWxsaWVzMRIwEAYD
|
||||
VQQKDAlPZG9vIFMuQS4xGTAXBgNVBAsMEFImRCAtIEFjY291bnRpbmcxETAPBgNVBAMMCG9kb28u
|
||||
Y29tMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9kb28uY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A
|
||||
MIIBCgKCAQEAtGUbyNJrA3yyOC01gIMR1A1rWIHCHD+afLCLCddBDZwC4Q034yFBuMqQFNWaxxLc
|
||||
9s+wFbNZqu5D7rynN3qXvWJj40VZxygoV/09y71IhaspuAZ0rdzYsqjDmTJiPSrEl6iydF2eq6sJ
|
||||
4J0ItCUFc2e88B25wz7esslAN249C20oQj5ZiGifR4P0CRQSmDy0SPYZGxTurVwtq6IsYbOqEw8/
|
||||
Wqx6ApOltperFX88DZCdbY59ZedqQrGQh2Z5Au7h/8nhmdbpz7Ixw2zocxVigR0ClNDpKKxvolX1
|
||||
virQpICkfWcAaWAYAMCL4KhvISclysD+5juDLpGCLHPtKxBXTQIDAQABo0MwQTAfBgNVHSMEGDAW
|
||||
gBTmxEG4Ub7b5wRXqWea94Vs1hB13zAJBgNVHRMEAjAAMBMGA1UdEQQMMAqCCG9kb28uY29tMA0G
|
||||
CSqGSIb3DQEBCwUAA4IBAQAFLvTlSELTVWRfIlGthoFOmkv8MrwJuo8y7qTmvsFXeA2hZtsPdNxx
|
||||
iwAGPobiUO0GCEPUFKZ7NksQa7DAKGXfb5RSwfujDfEMAhgi00+wF1VIKeKqnGt4idzCr+2NtiQY
|
||||
e9oK+Ee7o82llnNFwbWvRKx55lhHW3bwN6Tl31qUYbxacJyA9z5sQpe2zImWMVsm4g7OAjzg3Cn2
|
||||
0TFu+0XekB892n7DYh4gHiMWaMOVYmi/aEWLSqxMlbiHQr75FmPftozFvTxW26jU3ALhq+yXPVa4
|
||||
lg4r/h6HH5TbtSjYzTSJ4MvMyrECgIQYf0zsS4D6K/GvCZbu7LKHRwuC0fis
|
||||
</ds:X509Certificate>
|
||||
</ds:X509Data>
|
||||
<ds:KeyValue>
|
||||
<ds:RSAKeyValue>
|
||||
<ds:Modulus>tGUbyNJrA3yyOC01gIMR1A1rWIHCHD+afLCLCddBDZwC4Q034yFBuMqQFNWaxxLc9s+wFbNZqu5D
|
||||
7rynN3qXvWJj40VZxygoV/09y71IhaspuAZ0rdzYsqjDmTJiPSrEl6iydF2eq6sJ4J0ItCUFc2e8
|
||||
8B25wz7esslAN249C20oQj5ZiGifR4P0CRQSmDy0SPYZGxTurVwtq6IsYbOqEw8/Wqx6ApOltper
|
||||
FX88DZCdbY59ZedqQrGQh2Z5Au7h/8nhmdbpz7Ixw2zocxVigR0ClNDpKKxvolX1virQpICkfWcA
|
||||
aWAYAMCL4KhvISclysD+5juDLpGCLHPtKxBXTQ==
|
||||
</ds:Modulus>
|
||||
<ds:Exponent>AQAB
|
||||
</ds:Exponent>
|
||||
</ds:RSAKeyValue>
|
||||
</ds:KeyValue>
|
||||
</ds:KeyInfo>
|
||||
<ds:Object>
|
||||
<xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Target="#Signature-Document-d6c35cd34a32582d4a379bd7e7c26ac95b3d2974">
|
||||
<xades:SignedProperties Id="SignatureProperties-Document-d6c35cd34a32582d4a379bd7e7c26ac95b3d2974">
|
||||
<xades:SignedSignatureProperties>
|
||||
<xades:SigningTime>2023-01-01T00:00:00</xades:SigningTime>
|
||||
<xades:SigningCertificate>
|
||||
<xades:Cert>
|
||||
<xades:CertDigest>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>FHf2lN+5FALNa7JXV2+pByL92/dr8LeCVhpItYic5oA=</ds:DigestValue>
|
||||
</xades:CertDigest>
|
||||
<xades:IssuerSerial>
|
||||
<ds:X509IssuerName>C=BE, CN=runbot.odoo.com, L=Ramillies, O=Odoo, OU=R&D, ST=Wallonnia</ds:X509IssuerName>
|
||||
<ds:X509SerialNumber>548631688851000697209704649636588277530075594025</ds:X509SerialNumber>
|
||||
</xades:IssuerSerial>
|
||||
</xades:Cert>
|
||||
</xades:SigningCertificate>
|
||||
<xades:SignaturePolicyIdentifier>
|
||||
<xades:SignaturePolicyId>
|
||||
<xades:SigPolicyId>
|
||||
<xades:Identifier>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:Identifier>
|
||||
<xades:Description>Política de firma electrónica para facturación electrónica con formato Facturae</xades:Description>
|
||||
</xades:SigPolicyId>
|
||||
<xades:SigPolicyHash>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
|
||||
<ds:DigestValue>Ohixl6upD6av8N7pEvDABhEL6hM=</ds:DigestValue>
|
||||
</xades:SigPolicyHash>
|
||||
<xades:SigPolicyQualifiers>
|
||||
<xades:SigPolicyQualifier>
|
||||
<xades:SPURI>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:SPURI>
|
||||
</xades:SigPolicyQualifier>
|
||||
</xades:SigPolicyQualifiers>
|
||||
</xades:SignaturePolicyId>
|
||||
</xades:SignaturePolicyIdentifier>
|
||||
</xades:SignedSignatureProperties>
|
||||
<xades:SignedDataObjectProperties>
|
||||
<xades:DataObjectFormat ObjectReference="#Reference-Document-d6c35cd34a32582d4a379bd7e7c26ac95b3d2974">
|
||||
<xades:Description/>
|
||||
<xades:ObjectIdentifier>
|
||||
<xades:Identifier Qualifier="OIDAsURN">urn:oid:1.2.840.10003.5.109.10</xades:Identifier>
|
||||
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="___ignore___">
|
||||
<ds:SignedInfo>
|
||||
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
|
||||
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
|
||||
<ds:Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="___ignore___" Id="___ignore___">
|
||||
<ds:Transforms>
|
||||
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
||||
</ds:Transforms>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference Type="http://uri.etsi.org/01903#SignedProperties" URI="___ignore___">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference URI="___ignore___">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
</ds:SignedInfo>
|
||||
<ds:SignatureValue>___ignore___</ds:SignatureValue>
|
||||
<ds:KeyInfo Id="___ignore___">
|
||||
<ds:X509Data>
|
||||
<ds:X509Certificate>___ignore___</ds:X509Certificate>
|
||||
</ds:X509Data>
|
||||
<ds:KeyValue>
|
||||
<ds:RSAKeyValue>
|
||||
<ds:Modulus>___ignore___</ds:Modulus>
|
||||
<ds:Exponent>___ignore___</ds:Exponent>
|
||||
</ds:RSAKeyValue>
|
||||
</ds:KeyValue>
|
||||
</ds:KeyInfo>
|
||||
<ds:Object>
|
||||
<xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Target="___ignore___">
|
||||
<xades:SignedProperties Id="___ignore___">
|
||||
<xades:SignedSignatureProperties>
|
||||
<xades:SigningTime>___ignore___</xades:SigningTime>
|
||||
<xades:SigningCertificate>
|
||||
<xades:Cert>
|
||||
<xades:CertDigest>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</xades:CertDigest>
|
||||
<xades:IssuerSerial>
|
||||
<ds:X509IssuerName>___ignore___</ds:X509IssuerName>
|
||||
<ds:X509SerialNumber>___ignore___</ds:X509SerialNumber>
|
||||
</xades:IssuerSerial>
|
||||
</xades:Cert>
|
||||
</xades:SigningCertificate>
|
||||
<xades:SignaturePolicyIdentifier>
|
||||
<xades:SignaturePolicyId>
|
||||
<xades:SigPolicyId>
|
||||
<xades:Identifier>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:Identifier>
|
||||
<xades:Description>Política de firma electrónica para facturación electrónica con formato Facturae</xades:Description>
|
||||
</xades:SigPolicyId>
|
||||
<xades:SigPolicyHash>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
|
||||
<ds:DigestValue>Ohixl6upD6av8N7pEvDABhEL6hM=</ds:DigestValue>
|
||||
</xades:SigPolicyHash>
|
||||
<xades:SigPolicyQualifiers>
|
||||
<xades:SigPolicyQualifier>
|
||||
<xades:SPURI>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:SPURI>
|
||||
</xades:SigPolicyQualifier>
|
||||
</xades:SigPolicyQualifiers>
|
||||
</xades:SignaturePolicyId>
|
||||
</xades:SignaturePolicyIdentifier>
|
||||
</xades:SignedSignatureProperties>
|
||||
<xades:SignedDataObjectProperties>
|
||||
<xades:DataObjectFormat ObjectReference="___ignore___">
|
||||
<xades:Description/>
|
||||
</xades:ObjectIdentifier>
|
||||
<xades:MimeType>text/xml</xades:MimeType>
|
||||
<xades:Encoding/>
|
||||
</xades:DataObjectFormat>
|
||||
</xades:SignedDataObjectProperties>
|
||||
</xades:SignedProperties>
|
||||
</xades:QualifyingProperties>
|
||||
</ds:Object>
|
||||
</ds:Signature>
|
||||
<xades:ObjectIdentifier>
|
||||
<xades:Identifier Qualifier="OIDAsURN">urn:oid:1.2.840.10003.5.109.10</xades:Identifier>
|
||||
<xades:Description/>
|
||||
</xades:ObjectIdentifier>
|
||||
<xades:MimeType>text/xml</xades:MimeType>
|
||||
<xades:Encoding/>
|
||||
</xades:DataObjectFormat>
|
||||
</xades:SignedDataObjectProperties>
|
||||
</xades:SignedProperties>
|
||||
</xades:QualifyingProperties>
|
||||
</ds:Object>
|
||||
</ds:Signature>
|
||||
</fac:Facturae>
|
||||
|
||||
+92
-110
@@ -116,117 +116,99 @@
|
||||
</TaxesOutputs>
|
||||
</InvoiceLine>
|
||||
</Items>
|
||||
<PaymentDetails>
|
||||
<Installment>
|
||||
<InstallmentDueDate>2023-01-01</InstallmentDueDate>
|
||||
<InstallmentAmount>121.00</InstallmentAmount>
|
||||
<PaymentMeans>04</PaymentMeans>
|
||||
<AccountToBeCredited>
|
||||
<IBAN>ES9121000418450200051332</IBAN>
|
||||
<BIC>CAIXESBBXXX</BIC>
|
||||
</AccountToBeCredited>
|
||||
</Installment>
|
||||
</PaymentDetails>
|
||||
</Invoice>
|
||||
</Invoices>
|
||||
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-Document-cad8cfdfae8f532990689077a3f35e417231f58f">
|
||||
<ds:SignedInfo>
|
||||
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
|
||||
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
|
||||
<ds:Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="" Id="Reference-Document-cad8cfdfae8f532990689077a3f35e417231f58f">
|
||||
<ds:Transforms>
|
||||
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
||||
</ds:Transforms>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>JAhNpeZX8by/1HgAFallJjZiJkBrvucV3HsBlYCWKPQ=</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference Type="http://uri.etsi.org/01903#SignedProperties" URI="#SignatureProperties-Document-cad8cfdfae8f532990689077a3f35e417231f58f">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>awhCW/iPCYxTyN5n64mZMbwVO/KYx+wg45KfThzo4nM=</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference URI="#KeyInfo-Document-cad8cfdfae8f532990689077a3f35e417231f58f">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>ey6Kj6XATgVzIh/1+h55n4LfhiBAA4FRGmcNwSs+j6A=</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
</ds:SignedInfo>
|
||||
<ds:SignatureValue>FkJUz54WmpJN8u5lwnmnQBgfPs9chCUoWDIlWXbw+T+grPcWa3gg0edpor5F13HgGRF8HxofFmP9
|
||||
CJ8WArzbAYXtnBHtoiBxhrpdiC3TX9j2+O8PfpX8cKQmojboIflg7cdKbpwqWD8yBCGowc7EgE4t
|
||||
ulY5FKBT2b1PlHUuhTXDyP7HfCoCAqCh96GiouJyl84yTeJ6fXznmI3XKb84AmjQdxeo2Lw4y6zv
|
||||
5hL5YZyo/301Ie/pQZjGHs+WqMvhZfNgqJWHvL8eXyuLhsEz+oMa8sug6yMPVgsYWF3jFOFgSpI6
|
||||
2uPFlRdQUDrtBrUKLex1dXgt6y433O6jnJwEHA==
|
||||
</ds:SignatureValue>
|
||||
<ds:KeyInfo Id="KeyInfo-Document-cad8cfdfae8f532990689077a3f35e417231f58f">
|
||||
<ds:X509Data>
|
||||
<ds:X509Certificate>MIID8jCCAtqgAwIBAgIUYBl+61DsTkNyyUFGveskbaGP/SkwDQYJKoZIhvcNAQELBQAwgYoxCzAJ
|
||||
BgNVBAYTAkJFMRIwEAYDVQQIDAlXYWxsb25uaWExEjAQBgNVBAcMCVJhbWlsbGllczENMAsGA1UE
|
||||
CgwET2RvbzEMMAoGA1UECwwDUiZEMRgwFgYDVQQDDA9ydW5ib3Qub2Rvby5jb20xHDAaBgkqhkiG
|
||||
9w0BCQEWDWluZm9Ab2Rvby5jb20wHhcNMjIwNDI2MDczMTUwWhcNMjMwNDI2MDczMTUwWjCBlTEL
|
||||
MAkGA1UEBhMCQkUxEjAQBgNVBAgMCVdhbGxvbm5pYTESMBAGA1UEBwwJUmFtaWxsaWVzMRIwEAYD
|
||||
VQQKDAlPZG9vIFMuQS4xGTAXBgNVBAsMEFImRCAtIEFjY291bnRpbmcxETAPBgNVBAMMCG9kb28u
|
||||
Y29tMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9kb28uY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A
|
||||
MIIBCgKCAQEAtGUbyNJrA3yyOC01gIMR1A1rWIHCHD+afLCLCddBDZwC4Q034yFBuMqQFNWaxxLc
|
||||
9s+wFbNZqu5D7rynN3qXvWJj40VZxygoV/09y71IhaspuAZ0rdzYsqjDmTJiPSrEl6iydF2eq6sJ
|
||||
4J0ItCUFc2e88B25wz7esslAN249C20oQj5ZiGifR4P0CRQSmDy0SPYZGxTurVwtq6IsYbOqEw8/
|
||||
Wqx6ApOltperFX88DZCdbY59ZedqQrGQh2Z5Au7h/8nhmdbpz7Ixw2zocxVigR0ClNDpKKxvolX1
|
||||
virQpICkfWcAaWAYAMCL4KhvISclysD+5juDLpGCLHPtKxBXTQIDAQABo0MwQTAfBgNVHSMEGDAW
|
||||
gBTmxEG4Ub7b5wRXqWea94Vs1hB13zAJBgNVHRMEAjAAMBMGA1UdEQQMMAqCCG9kb28uY29tMA0G
|
||||
CSqGSIb3DQEBCwUAA4IBAQAFLvTlSELTVWRfIlGthoFOmkv8MrwJuo8y7qTmvsFXeA2hZtsPdNxx
|
||||
iwAGPobiUO0GCEPUFKZ7NksQa7DAKGXfb5RSwfujDfEMAhgi00+wF1VIKeKqnGt4idzCr+2NtiQY
|
||||
e9oK+Ee7o82llnNFwbWvRKx55lhHW3bwN6Tl31qUYbxacJyA9z5sQpe2zImWMVsm4g7OAjzg3Cn2
|
||||
0TFu+0XekB892n7DYh4gHiMWaMOVYmi/aEWLSqxMlbiHQr75FmPftozFvTxW26jU3ALhq+yXPVa4
|
||||
lg4r/h6HH5TbtSjYzTSJ4MvMyrECgIQYf0zsS4D6K/GvCZbu7LKHRwuC0fis
|
||||
</ds:X509Certificate>
|
||||
</ds:X509Data>
|
||||
<ds:KeyValue>
|
||||
<ds:RSAKeyValue>
|
||||
<ds:Modulus>tGUbyNJrA3yyOC01gIMR1A1rWIHCHD+afLCLCddBDZwC4Q034yFBuMqQFNWaxxLc9s+wFbNZqu5D
|
||||
7rynN3qXvWJj40VZxygoV/09y71IhaspuAZ0rdzYsqjDmTJiPSrEl6iydF2eq6sJ4J0ItCUFc2e8
|
||||
8B25wz7esslAN249C20oQj5ZiGifR4P0CRQSmDy0SPYZGxTurVwtq6IsYbOqEw8/Wqx6ApOltper
|
||||
FX88DZCdbY59ZedqQrGQh2Z5Au7h/8nhmdbpz7Ixw2zocxVigR0ClNDpKKxvolX1virQpICkfWcA
|
||||
aWAYAMCL4KhvISclysD+5juDLpGCLHPtKxBXTQ==
|
||||
</ds:Modulus>
|
||||
<ds:Exponent>AQAB
|
||||
</ds:Exponent>
|
||||
</ds:RSAKeyValue>
|
||||
</ds:KeyValue>
|
||||
</ds:KeyInfo>
|
||||
<ds:Object>
|
||||
<xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Target="#Signature-Document-cad8cfdfae8f532990689077a3f35e417231f58f">
|
||||
<xades:SignedProperties Id="SignatureProperties-Document-cad8cfdfae8f532990689077a3f35e417231f58f">
|
||||
<xades:SignedSignatureProperties>
|
||||
<xades:SigningTime>2023-01-01T00:00:00</xades:SigningTime>
|
||||
<xades:SigningCertificate>
|
||||
<xades:Cert>
|
||||
<xades:CertDigest>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>FHf2lN+5FALNa7JXV2+pByL92/dr8LeCVhpItYic5oA=</ds:DigestValue>
|
||||
</xades:CertDigest>
|
||||
<xades:IssuerSerial>
|
||||
<ds:X509IssuerName>C=BE, CN=runbot.odoo.com, L=Ramillies, O=Odoo, OU=R&D, ST=Wallonnia</ds:X509IssuerName>
|
||||
<ds:X509SerialNumber>548631688851000697209704649636588277530075594025</ds:X509SerialNumber>
|
||||
</xades:IssuerSerial>
|
||||
</xades:Cert>
|
||||
</xades:SigningCertificate>
|
||||
<xades:SignaturePolicyIdentifier>
|
||||
<xades:SignaturePolicyId>
|
||||
<xades:SigPolicyId>
|
||||
<xades:Identifier>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:Identifier>
|
||||
<xades:Description>Política de firma electrónica para facturación electrónica con formato Facturae</xades:Description>
|
||||
</xades:SigPolicyId>
|
||||
<xades:SigPolicyHash>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
|
||||
<ds:DigestValue>Ohixl6upD6av8N7pEvDABhEL6hM=</ds:DigestValue>
|
||||
</xades:SigPolicyHash>
|
||||
<xades:SigPolicyQualifiers>
|
||||
<xades:SigPolicyQualifier>
|
||||
<xades:SPURI>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:SPURI>
|
||||
</xades:SigPolicyQualifier>
|
||||
</xades:SigPolicyQualifiers>
|
||||
</xades:SignaturePolicyId>
|
||||
</xades:SignaturePolicyIdentifier>
|
||||
</xades:SignedSignatureProperties>
|
||||
<xades:SignedDataObjectProperties>
|
||||
<xades:DataObjectFormat ObjectReference="#Reference-Document-cad8cfdfae8f532990689077a3f35e417231f58f">
|
||||
<xades:Description/>
|
||||
<xades:ObjectIdentifier>
|
||||
<xades:Identifier Qualifier="OIDAsURN">urn:oid:1.2.840.10003.5.109.10</xades:Identifier>
|
||||
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="___ignore___">
|
||||
<ds:SignedInfo>
|
||||
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
|
||||
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
|
||||
<ds:Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="___ignore___" Id="___ignore___">
|
||||
<ds:Transforms>
|
||||
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
||||
</ds:Transforms>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference Type="http://uri.etsi.org/01903#SignedProperties" URI="___ignore___">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
<ds:Reference URI="___ignore___">
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</ds:Reference>
|
||||
</ds:SignedInfo>
|
||||
<ds:SignatureValue>___ignore___</ds:SignatureValue>
|
||||
<ds:KeyInfo Id="___ignore___">
|
||||
<ds:X509Data>
|
||||
<ds:X509Certificate>___ignore___</ds:X509Certificate>
|
||||
</ds:X509Data>
|
||||
<ds:KeyValue>
|
||||
<ds:RSAKeyValue>
|
||||
<ds:Modulus>___ignore___</ds:Modulus>
|
||||
<ds:Exponent>___ignore___</ds:Exponent>
|
||||
</ds:RSAKeyValue>
|
||||
</ds:KeyValue>
|
||||
</ds:KeyInfo>
|
||||
<ds:Object>
|
||||
<xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Target="___ignore___">
|
||||
<xades:SignedProperties Id="___ignore___">
|
||||
<xades:SignedSignatureProperties>
|
||||
<xades:SigningTime>___ignore___</xades:SigningTime>
|
||||
<xades:SigningCertificate>
|
||||
<xades:Cert>
|
||||
<xades:CertDigest>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
||||
<ds:DigestValue>___ignore___</ds:DigestValue>
|
||||
</xades:CertDigest>
|
||||
<xades:IssuerSerial>
|
||||
<ds:X509IssuerName>___ignore___</ds:X509IssuerName>
|
||||
<ds:X509SerialNumber>___ignore___</ds:X509SerialNumber>
|
||||
</xades:IssuerSerial>
|
||||
</xades:Cert>
|
||||
</xades:SigningCertificate>
|
||||
<xades:SignaturePolicyIdentifier>
|
||||
<xades:SignaturePolicyId>
|
||||
<xades:SigPolicyId>
|
||||
<xades:Identifier>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:Identifier>
|
||||
<xades:Description>Política de firma electrónica para facturación electrónica con formato Facturae</xades:Description>
|
||||
</xades:SigPolicyId>
|
||||
<xades:SigPolicyHash>
|
||||
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
|
||||
<ds:DigestValue>Ohixl6upD6av8N7pEvDABhEL6hM=</ds:DigestValue>
|
||||
</xades:SigPolicyHash>
|
||||
<xades:SigPolicyQualifiers>
|
||||
<xades:SigPolicyQualifier>
|
||||
<xades:SPURI>http://www.facturae.es/politica_de_firma_formato_facturae/politica_de_firma_formato_facturae_v3_1.pdf</xades:SPURI>
|
||||
</xades:SigPolicyQualifier>
|
||||
</xades:SigPolicyQualifiers>
|
||||
</xades:SignaturePolicyId>
|
||||
</xades:SignaturePolicyIdentifier>
|
||||
</xades:SignedSignatureProperties>
|
||||
<xades:SignedDataObjectProperties>
|
||||
<xades:DataObjectFormat ObjectReference="___ignore___">
|
||||
<xades:Description/>
|
||||
</xades:ObjectIdentifier>
|
||||
<xades:MimeType>text/xml</xades:MimeType>
|
||||
<xades:Encoding/>
|
||||
</xades:DataObjectFormat>
|
||||
</xades:SignedDataObjectProperties>
|
||||
</xades:SignedProperties>
|
||||
</xades:QualifyingProperties>
|
||||
</ds:Object>
|
||||
</ds:Signature>
|
||||
<xades:ObjectIdentifier>
|
||||
<xades:Identifier Qualifier="OIDAsURN">urn:oid:1.2.840.10003.5.109.10</xades:Identifier>
|
||||
<xades:Description/>
|
||||
</xades:ObjectIdentifier>
|
||||
<xades:MimeType>text/xml</xades:MimeType>
|
||||
<xades:Encoding/>
|
||||
</xades:DataObjectFormat>
|
||||
</xades:SignedDataObjectProperties>
|
||||
</xades:SignedProperties>
|
||||
</xades:QualifyingProperties>
|
||||
</ds:Object>
|
||||
</ds:Signature>
|
||||
</fac:Facturae>
|
||||
|
||||
Reference in New Issue
Block a user