Dear @Sarika ,
Please ensure the following:
1- Sign your simplified tax invoices with only PCSID not the CSID for reporting API.
2- sign the invoices with only the PCSID that is associated with the VAT number in the companyID tag under the AccountingSupplierParty
as follows in the xml:
cac:AccountingSupplierParty / cac:Party / cac:PartyTaxScheme / cbc:CompanyID
where cac:AccountingSupplierParty / cac:Party / cac:PartyTaxScheme / cac:TaxScheme = VAT
Sarika
February 4, 2025, 7:28am
23
issue was space in issuer name
sending
ds:X509IssuerName CN=PRZEINVOICESCA3-CA,DC=extgazt,DC=gov,DC=local</ds:X509IssuerName>
expecting
ds:X509IssuerName CN=PRZEINVOICESCA3-CA, DC=extgazt, DC=gov, DC=local</ds:X509IssuerName>
Niloy
February 9, 2025, 12:52pm
24
getting error in xml compliance on Web Based Validator for Non-Technical Users.
Errors
category : INVOICE_ERRORS
**code :**Exception
message : Illegal base64 character a
my xml code is -
<?xml version="1.0" encoding="UTF-8"?>
urn:oasis:names:specification:ubl:dsig:enveloped:xades
urn:oasis:names:specification:ubl:signature:1
urn:oasis:names:specification:ubl:signature:Invoice
not(//ancestor-or-self::ext:UBLExtensions)
not(//ancestor-or-self::cac:Signature)
not(//ancestor-or-self::cac:AdditionalDocumentReference[cbc:ID='QR'])
It9BM08f6hHbHAkWeoE1JqiSg9ojtgCzoFjDcIoHHaU=
MEQCIEQoT27r6zO3/IfiJUPGX5R5uGa5JcR4mqiJAyy4QwRJAiA0tDUdx3ooQd4BGv63jeN3rmWDVDELaTrAEC47eGXP4g==
MIICGDCCAb8CAQAwdTELMAkGA1UEBhMCU0ExFjAUBgNVBAsMDVJpeWFkaCBCcmFu
Y2gxJjAkBgNVBAoMHU1heGltdW0gU3BlZWQgVGVjaCBTdXBwbHkgTFREMSYwJAYD
VQQDDB1UU1QtODg2NDMxMTQ1LTM5OTk5OTk5OTkwMDAwMzBWMBAGByqGSM49AgEG
BSuBBAAKA0IABOQbEiPgrY3dJUmXpBxBp/74od50rjbx/JdmZ7oIrvaikmYWGh9n
9j18Bi10Z0M++IV1eVKZng1BN5bG6qNsjM+ggeowgecGCSqGSIb3DQEJDjGB2TCB
1jAkBgkrBgEEAYofFAIEFxMVVFNUWkFUQ0EtQ29kZS1TaWduaW5nMIGtBgNVHREE
gaUwgaKkgZ8wgZwxOzA5BgNVBAQMMjEtVFNUfDItVFNUfDMtZWQyMmYxZDgtZTZh
Mi0xMTE4LTliNTgtZDlhOGYxMWU0NDVmMR8wHQYKCZImiZPyLGQBAQwPMzk5OTk5
OTk5OTAwMDAzMQ0wCwYDVQQMDAQxMTAwMREwDwYDVQQaDAhSUlJEMjkyOTEaMBgG
A1UEDwwRU3VwcGx5IGFjdGl2aXRpZXMwCgYIKoZIzj0EAwIDRwAwRAIgeMh5sz7+
ELSsrScMfl8eP2POS0qFkoNx7e60SUNNYzwCIFOJhSi5Xedsus2svMLKxqdzEfyx
G/e3sRrbsRaFq9Zd
</ds:Signature>
</sac:SignatureInformation>
</sig:UBLDocumentSignatures>
</ext:ExtensionContent>
</ext:UBLExtension>
</ext:UBLExtensions><cbc:UBLVersionID>2.1</cbc:UBLVersionID><cbc:ProfileID>reporting:1.0</cbc:ProfileID><cbc:ID>INV825185198</cbc:ID><cbc:UUID>6dc0481f-6486-4c2c-8f13-71525db037b8</cbc:UUID><cbc:IssueDate>2025-02-09</cbc:IssueDate><cbc:IssueTime>13:46:21</cbc:IssueTime><cbc:InvoiceTypeCode name="0200000">388</cbc:InvoiceTypeCode><cbc:DocumentCurrencyCode>SAR</cbc:DocumentCurrencyCode><cbc:TaxCurrencyCode>SAR</cbc:TaxCurrencyCode><cac:AdditionalDocumentReference><cbc:ID>ICV</cbc:ID><cbc:UUID>275520191</cbc:UUID></cac:AdditionalDocumentReference><cac:AdditionalDocumentReference><cbc:ID>PIH</cbc:ID><cac:Attachment><cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">NDNmYmY0ZGM2ZWJkNjc3NjA2NjFjNmM2ODZjNmE2NjY2ZDdhNzY=</cbc:EmbeddedDocumentBinaryObject></cac:Attachment></cac:AdditionalDocumentReference><cac:AdditionalDocumentReference><cbc:ID>QR</cbc:ID><cac:Attachment><cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">AQ1TYWxlIG9mIEdsYXNzAg8zOTk5OTk5OTk5MDAwMDMDFDE5NzAtMDEtMDFUMDE6MDA6MDBaBAYxMTcuMzAFBTE1LjMw</cbc:EmbeddedDocumentBinaryObject></cac:Attachment></cac:AdditionalDocumentReference><cac:Signature><cbc:ID>urn:oasis:names:specification:ubl:signature:Invoice</cbc:ID><cbc:SignatureMethod>urn:oasis:names:specification:ubl:dsig:enveloped:xades</cbc:SignatureMethod></cac:Signature><cac:AccountingSupplierParty><cac:Party><cac:PartyIdentification><cbc:ID schemeID="CRN">311111111111113</cbc:ID></cac:PartyIdentification><cac:PostalAddress><cbc:StreetName>123 Supplier St</cbc:StreetName><cbc:BuildingNumber>2322</cbc:BuildingNumber><cbc:CitySubdivisionName>Riyadh</cbc:CitySubdivisionName><cbc:CityName>Riyadh</cbc:CityName><cbc:PostalZone>12345</cbc:PostalZone><cac:Country><cbc:IdentificationCode>SA</cbc:IdentificationCode></cac:Country></cac:PostalAddress><cac:PartyTaxScheme><cbc:CompanyID>399999999900003</cbc:CompanyID><cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme></cac:PartyTaxScheme><cac:PartyLegalEntity><cbc:RegistrationName>Sale of Glass</cbc:RegistrationName></cac:PartyLegalEntity></cac:Party></cac:AccountingSupplierParty><cac:AccountingCustomerParty><cac:Party><cac:PostalAddress><cbc:StreetName>456 Customer Ave</cbc:StreetName><cbc:BuildingNumber>2322</cbc:BuildingNumber><cbc:CitySubdivisionName>Riyadh</cbc:CitySubdivisionName><cbc:CityName>Riyadh</cbc:CityName><cbc:PostalZone>54321</cbc:PostalZone><cac:Country><cbc:IdentificationCode>SA</cbc:IdentificationCode></cac:Country></cac:PostalAddress><cac:PartyTaxScheme><cbc:CompanyID>378975445445513</cbc:CompanyID><cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme></cac:PartyTaxScheme><cac:PartyLegalEntity><cbc:RegistrationName>SRQ</cbc:RegistrationName></cac:PartyLegalEntity></cac:Party></cac:AccountingCustomerParty><cac:Delivery><cbc:ActualDeliveryDate>2025-02-09</cbc:ActualDeliveryDate></cac:Delivery><cac:PaymentMeans><cbc:PaymentMeansCode>10</cbc:PaymentMeansCode></cac:PaymentMeans><cac:TaxTotal><cbc:TaxAmount currencyID="SAR">15.30</cbc:TaxAmount></cac:TaxTotal><cac:TaxTotal><cbc:TaxAmount currencyID="SAR">15.30</cbc:TaxAmount><cac:TaxSubtotal><cbc:TaxableAmount currencyID="SAR">102.00</cbc:TaxableAmount><cbc:TaxAmount currencyID="SAR">15.30</cbc:TaxAmount><cac:TaxCategory><cbc:ID>S</cbc:ID><cbc:Percent>15</cbc:Percent><cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme></cac:TaxCategory></cac:TaxSubtotal></cac:TaxTotal><cac:LegalMonetaryTotal><cbc:LineExtensionAmount currencyID="SAR">102.00</cbc:LineExtensionAmount><cbc:TaxExclusiveAmount currencyID="SAR">102.00</cbc:TaxExclusiveAmount><cbc:TaxInclusiveAmount currencyID="SAR">117.30</cbc:TaxInclusiveAmount><cbc:PayableAmount currencyID="SAR">117.30</cbc:PayableAmount></cac:LegalMonetaryTotal><cac:InvoiceLine><cbc:ID>1</cbc:ID><cbc:InvoicedQuantity unitCode="PCE">3</cbc:InvoicedQuantity><cbc:LineExtensionAmount currencyID="SAR">102.00</cbc:LineExtensionAmount><cac:TaxTotal><cbc:TaxAmount currencyID="SAR">15.30</cbc:TaxAmount><cbc:RoundingAmount currencyID="SAR">117.30</cbc:RoundingAmount></cac:TaxTotal><cac:Item><cbc:Name>Product2</cbc:Name><cac:ClassifiedTaxCategory><cbc:ID>S</cbc:ID><cbc:Percent>15.00</cbc:Percent><cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme></cac:ClassifiedTaxCategory></cac:Item><cac:Price><cbc:PriceAmount currencyID="SAR">34.00</cbc:PriceAmount><cac:AllowanceCharge><cbc:ChargeIndicator>true</cbc:ChargeIndicator><cbc:AllowanceChargeReason>discount</cbc:AllowanceChargeReason><cbc:Amount currencyID="SAR">0.00</cbc:Amount></cac:AllowanceCharge></cac:Price></cac:InvoiceLine></Invoice>