Dear All,
I’m trying send Simplified Invoice
<?xml version="1.0" encoding="utf-8"?>ext:UBLExtensions
ext:UBLExtension
ext:ExtensionURIurn:oasis:names:specification:ubl:dsig:enveloped:xades</ext:ExtensionURI>
ext:ExtensionContent
<sig:UBLDocumentSignatures xmlns:sig=“urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2” xmlns:sac=“urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2” xmlns:sbc=“urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2”>
sac:SignatureInformation
cbc:IDurn:oasis:names:specification:ubl:signature:1</cbc:ID>
sbc:ReferencedSignatureIDurn:oasis:names:specification:ubl:signature:Invoice</sbc:ReferencedSignatureID>
<ds:Signature Id=“signature” xmlns:ds=“XML-Signature Syntax and Processing”>
ds:SignedInfo
<ds:CanonicalizationMethod Algorithm=“Canonical XML 1.1” />
<ds:SignatureMethod Algorithm=“xmldsig-more namespace” />
<ds:Reference Id=“invoiceSignedData” URI=“”>
ds:Transforms
<ds:Transform Algorithm=“XML Path Language (XPath)”>
ds:XPathnot(//ancestor-or-self::ext:UBLExtensions)</ds:XPath>
</ds:Transform>
<ds:Transform Algorithm=“XML Path Language (XPath)”>
ds:XPathnot(//ancestor-or-self::cac:Signature)</ds:XPath>
</ds:Transform>
<ds:Transform Algorithm=“XML Path Language (XPath)”>
ds:XPathnot(//ancestor-or-self::cac:AdditionalDocumentReference[cbc:ID=‘QR’])</ds:XPath>
</ds:Transform>
<ds:Transform Algorithm=“Canonical XML 1.1” />
</ds:Transforms>
<ds:DigestMethod Algorithm=“XML Encryption Syntax and Processing” />
ds:DigestValuepXd4nQigHa/8wEpv6RZcyGa4/ZeBnIgxKJhnM1RtSzM=</ds:DigestValue>
</ds:Reference>
<ds:Reference Type=“XML-Signature Syntax and Processing” URI=“#xadesSignedProperties”>
<ds:DigestMethod Algorithm=“XML Encryption Syntax and Processing” />
ds:DigestValueNTY3NmUxZTk0NzlmOTdiMDk0Yj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Ewgb4wgbsGCCsGAQUFBzAChoGubGRhcDovLy9DTj1QRVpFSU5WT0lDRVNDQTEtQ0EsQ049QUlBLENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZpY2VzLENOPUNvbmZpZ3VyYXRpb24sREM9ZXh0emF0Y2EsREM9Z292LERDPWxvY2FsP2NBQ2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0aG9yaXR5MA4GA1UdDwEB/wQEAwIHgDA8BgkrBgEEAYI3FQcELzAtBiUrBgEEAYI3FQiBhqgdhND7EobtnSSHzvsZ08BVZoGc2C2D5cVdAgFkAgEQMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDAzAnBgkrBgEEAYI3FQoEGjAYMAoGCCsGAQUFBwMCMAoGCCsGAQUFBwMDMAoGCCqGSM49BAMCA0gAMEUCIEw0IIwJQXJhcAiEddGqi/0De4gEuI9BOkcbrPDKODRtAiEA7vuj8daQl32jtRJCRXuvhoQt1doAW2RC3LNDBATA0/c=</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
ds:Object
<xades:QualifyingProperties Target=“signature” xmlns:xades=“Assigned ETSI XML URIs”>
<xades:SignedProperties Id=“xadesSignedProperties”>
xades:SignedSignatureProperties
xades:SigningTime2024-11-24T16:10:11</xades:SigningTime>
xades:SigningCertificate
xades:Cert
xades:CertDigest
<ds:DigestMethod Algorithm=“XML Encryption Syntax and Processing” />
ds:DigestValueNmE0ZDFhNzc4MzZmMThhYzE4OGRlZjBhZTE3ZDBkMDU4Zjg0OWRhNjkyODVlMjZmNjU2ODA3NDVkMTliYzgzZA==</ds:DigestValue>
</xades:CertDigest>
xades:IssuerSerial
ds:X509IssuerNameCN=PEZEINVOICESCA1-CA, DC=extgazt, DC=gov, DC=local</ds:X509IssuerName>
ds:X509SerialNumber2207773847210010634062496179129844444409378453</ds:X509SerialNumber>
</xades:IssuerSerial>
</xades:Cert>
</xades:SigningCertificate>
</xades:SignedSignatureProperties>
</xades:SignedProperties>
</xades:QualifyingProperties>
</ds:Object>
</ds:Signature>
</sac:SignatureInformation>
</sig:UBLDocumentSignatures>
</ext:ExtensionContent>
</ext:UBLExtension>
</ext:UBLExtensions>
cbc:ProfileIDreporting:1.0</cbc:ProfileID>
cbc:ID1019</cbc:ID>
cbc:UUID2A4F985B-4330-401F-BB35-6FFAD7F077F5</cbc:UUID>
cbc:IssueDate2024-11-24</cbc:IssueDate>
cbc:IssueTime11:37:22</cbc:IssueTime>
<cbc:InvoiceTypeCode name=“0200000”>388</cbc:InvoiceTypeCode>
cbc:NoteABC</cbc:Note>
cbc:DocumentCurrencyCodeSAR</cbc:DocumentCurrencyCode>
cbc:TaxCurrencyCodeSAR</cbc:TaxCurrencyCode>
cac:AdditionalDocumentReference
cbc:IDICV</cbc:ID>
cbc:UUID40</cbc:UUID>
</cac:AdditionalDocumentReference>
cac:AdditionalDocumentReference
cbc:IDPIH</cbc:ID>
cac:Attachment
<cbc:EmbeddedDocumentBinaryObject mimeCode=“text/plain”>NWZlY2ViNjZmZmM4NmYzOGQ5NTI3ODZjNmQ2OTZjNzljMmRiYzIzOWRkNGU5MWI0NjcyOWQ3M2EyN2ZiNTdlOQ==</cbc:EmbeddedDocumentBinaryObject>
</cac:Attachment>
</cac:AdditionalDocumentReference>
cac:AdditionalDocumentReference
cbc:IDQR</cbc:ID>
cac:Attachment
<cbc:EmbeddedDocumentBinaryObject mimeCode=“text/plain”>AQhUZWJhTGluawIPMzExNTk0Njg2OTAwMDAzAxMyMDI0LTExLTI0VDExOjM3OjIyBAMzNDUFAjQ1BixwWGQ0blFpZ0hhLzh3RXB2NlJaY3lHYTQvWmVCbklneEtKaG5NMVJ0U3pNPQdgTUVVQ0lBR3BXOEpVSG5BUkN4amdySmM1NC9xOHdOUTl4RVF3OVJOK3dLYmxrWkw0QWlFQXZGWFNGQ2Z3dFlUVTJ0cW56TDQxRUdGaHBPWUlxVkFmWkkrcnhwcnBlL009CFgwVjAQBgcqhkjOPQIBBgUrgQQACgNCAAS5lUf7L/PRapaRmAgLnAO0gtUk/PmSWb096Y+7NaIHomCexqbRdzrMsuS07Kkpj1Uv/FbG4m/8XJ3v5Psft5LoCUcwRQIgTDQgjAlBcmFwCIR10aqL/QN7iAS4j0E6Rxus8Mo4NG0CIQDu+6Px1pCXfaO1EkJFe6+GhC3V2gBbZELcs0MEBMDT9w==</cbc:EmbeddedDocumentBinaryObject>
</cac:Attachment>
</cac:AdditionalDocumentReference>cac:Signature
cbc:IDurn:oasis:names:specification:ubl:signature:Invoice</cbc:ID>
cbc:SignatureMethodurn:oasis:names:specification:ubl:dsig:enveloped:xades</cbc:SignatureMethod>
</cac:Signature>cac:AccountingSupplierParty
cac:Party
cac:PartyIdentification
<cbc:ID schemeID=“CRN”>101066067</cbc:ID>
</cac:PartyIdentification>
cac:PostalAddress
cbc:StreetNameNajid</cbc:StreetName>
cbc:BuildingNumber4599</cbc:BuildingNumber>
cbc:CitySubdivisionNameDhahrat Labn Dist</cbc:CitySubdivisionName>
cbc:CityNameالرياض</cbc:CityName>
cbc:PostalZone13781</cbc:PostalZone>
cac:Country
cbc:IdentificationCodeSA</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
cac:PartyTaxScheme
cbc:CompanyID311594686900003</cbc:CompanyID>
cac:TaxScheme
cbc:IDVAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
cac:PartyLegalEntity
cbc:RegistrationNameTebaLink</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingSupplierParty>
cac:AccountingCustomerParty</cac:AccountingCustomerParty>
cac:PaymentMeans
cbc:PaymentMeansCode10</cbc:PaymentMeansCode>
</cac:PaymentMeans>
cac:TaxTotal
<cbc:TaxAmount currencyID=“SAR”>45</cbc:TaxAmount>
</cac:TaxTotal>
cac:TaxTotal
<cbc:TaxAmount currencyID=“SAR”>45</cbc:TaxAmount>
cac:TaxSubtotal
<cbc:TaxableAmount currencyID=“SAR”>300</cbc:TaxableAmount>
<cbc:TaxAmount currencyID=“SAR”>45</cbc:TaxAmount>
cac:TaxCategory
cbc:IDS</cbc:ID>
cbc:Percent15</cbc:Percent>
cac:TaxScheme
cbc:IDVAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
cac:LegalMonetaryTotal
<cbc:LineExtensionAmount currencyID=“SAR”>300</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID=“SAR”>300</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID=“SAR”>345</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID=“SAR”>345</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
cac:InvoiceLine
cbc:ID17</cbc:ID>
<cbc:InvoicedQuantity unitCode=“PCE”>3</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID=“SAR”>300</cbc:LineExtensionAmount>
cac:TaxTotal
<cbc:TaxAmount currencyID=“SAR”>45</cbc:TaxAmount>
<cbc:RoundingAmount currencyID=“SAR”>345</cbc:RoundingAmount>
</cac:TaxTotal>
cac:Item
cbc:Namecoffee</cbc:Name>
cac:ClassifiedTaxCategory
cbc:IDS</cbc:ID>
cbc:Percent15</cbc:Percent>
cac:TaxScheme
cbc:IDVAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
cac:Price
<cbc:PriceAmount currencyID=“SAR”>100</cbc:PriceAmount>
<cbc:BaseQuantity unitCode=“PCE”>1</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
Show me that error
“errorMessages”:[{“type”:“ERROR”,“code”:“signed-properties-hashing”,“category”:“CERTIFICATE_ERRORS”,“message”:“Invalid signed properties hashing, SignedProperties with id=‘xadesSignedProperties’”,“status”:“ERROR”}]
I want to know why get that error? and how fix it.