zatca 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/lib/zatca/client.rb +26 -2
  4. data/lib/zatca/version.rb +1 -1
  5. data/zatca.gemspec +1 -1
  6. metadata +2 -155
  7. data/einvoicing-sdk/Apps/fatoora +0 -12
  8. data/einvoicing-sdk/Apps/fatoora.bat +0 -16
  9. data/einvoicing-sdk/Apps/global.json +0 -1
  10. data/einvoicing-sdk/Apps/jq.exe +0 -0
  11. data/einvoicing-sdk/Apps/zatca-einvoicing-sdk-238-R3.2.7.jar +0 -0
  12. data/einvoicing-sdk/Configuration/config.json +0 -11
  13. data/einvoicing-sdk/Configuration/defaults.json +0 -11
  14. data/einvoicing-sdk/Configuration/jq.exe +0 -0
  15. data/einvoicing-sdk/Configuration/usage.txt +0 -16
  16. data/einvoicing-sdk/Data/Certificates/cert.pem +0 -1
  17. data/einvoicing-sdk/Data/Certificates/ec-secp256k1-priv-key.pem +0 -1
  18. data/einvoicing-sdk/Data/Input/csr-config-example-AR-VAT-Group.properties +0 -9
  19. data/einvoicing-sdk/Data/Input/csr-config-example-AR.properties +0 -9
  20. data/einvoicing-sdk/Data/Input/csr-config-example-EN-VAT-group.properties +0 -9
  21. data/einvoicing-sdk/Data/Input/csr-config-example-EN.properties +0 -9
  22. data/einvoicing-sdk/Data/Input/csr-config-template.properties +0 -9
  23. data/einvoicing-sdk/Data/PIH/pih.txt +0 -1
  24. data/einvoicing-sdk/Data/Rules/schematrons/20210819_ZATCA_E-invoice_Validation_Rules.xsl +0 -2844
  25. data/einvoicing-sdk/Data/Rules/schematrons/CEN-EN16931-UBL.xsl +0 -1973
  26. data/einvoicing-sdk/Data/Samples/PDF-A3/Simplified Debit Note.pdf +0 -0
  27. data/einvoicing-sdk/Data/Samples/PDF-A3/Standard Credit Note.pdf +0 -0
  28. data/einvoicing-sdk/Data/Samples/PDF-A3/Standard Debit Note.pdf +0 -0
  29. data/einvoicing-sdk/Data/Samples/PDF-A3/Standard Invoice.pdf +0 -0
  30. data/einvoicing-sdk/Data/Samples/PDF-A3/Tax_Invoice_USD.pdf +0 -0
  31. data/einvoicing-sdk/Data/Samples/Simplified/Credit/Simplified_Credit_Note.xml +0 -300
  32. data/einvoicing-sdk/Data/Samples/Simplified/Credit/Simplified_Credit_Note_Error.xml +0 -225
  33. data/einvoicing-sdk/Data/Samples/Simplified/Debit/Simplified_Debit_Note.xml +0 -211
  34. data/einvoicing-sdk/Data/Samples/Simplified/Debit/Simplified_Debit_Note_Error.xml +0 -226
  35. data/einvoicing-sdk/Data/Samples/Simplified/Invoice/Additional_Simplified_Invoices/Out_Of_Scope_Simplified_Invoice.xml +0 -207
  36. data/einvoicing-sdk/Data/Samples/Simplified/Invoice/Additional_Simplified_Invoices/Simplified_Invoice_USD.xml +0 -246
  37. data/einvoicing-sdk/Data/Samples/Simplified/Invoice/Simplified_Invoice.xml +0 -246
  38. data/einvoicing-sdk/Data/Samples/Simplified/Invoice/Simplified_Invoice_Error.xml +0 -228
  39. data/einvoicing-sdk/Data/Samples/Standard/Credit/Standard_Credit_Note.xml +0 -227
  40. data/einvoicing-sdk/Data/Samples/Standard/Credit/Standard_Credit_Note_Error.xml +0 -224
  41. data/einvoicing-sdk/Data/Samples/Standard/Debit/Standard_Debit_Note.xml +0 -227
  42. data/einvoicing-sdk/Data/Samples/Standard/Debit/Standard_Debit_Note_Error.xml +0 -226
  43. data/einvoicing-sdk/Data/Samples/Standard/Invoice/Additional_Standard_Invoices/Exempt_Standard_Invoice.xml +0 -227
  44. data/einvoicing-sdk/Data/Samples/Standard/Invoice/Additional_Standard_Invoices/Standard_Invoice_USD.xml +0 -227
  45. data/einvoicing-sdk/Data/Samples/Standard/Invoice/Additional_Standard_Invoices/Zero_Rate_Standard_Invoice.xml +0 -227
  46. data/einvoicing-sdk/Data/Samples/Standard/Invoice/Sample Invoice[Advance Payements] - 1.xml +0 -294
  47. data/einvoicing-sdk/Data/Samples/Standard/Invoice/Sample Invoice[Advance Payements] - 2.xml +0 -432
  48. data/einvoicing-sdk/Data/Samples/Standard/Invoice/Standard_Invoice.xml +0 -222
  49. data/einvoicing-sdk/Data/Samples/Standard/Invoice/Standard_Invoice_Error.xml +0 -228
  50. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/CCTS_CCT_SchemaModule-2.1.xsd +0 -731
  51. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CommonAggregateComponents-2.1.xsd +0 -44365
  52. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CommonBasicComponents-2.1.xsd +0 -5389
  53. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CommonExtensionComponents-2.1.xsd +0 -223
  54. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CommonSignatureComponents-2.1.xsd +0 -101
  55. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CoreComponentParameters-2.1.xsd +0 -63
  56. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-ExtensionContentDataType-2.1.xsd +0 -89
  57. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-QualifiedDataTypes-2.1.xsd +0 -69
  58. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-SignatureAggregateComponents-2.1.xsd +0 -138
  59. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-SignatureBasicComponents-2.1.xsd +0 -78
  60. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-UnqualifiedDataTypes-2.1.xsd +0 -553
  61. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-XAdESv132-2.1.xsd +0 -476
  62. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-XAdESv141-2.1.xsd +0 -25
  63. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-xmldsig-core-schema-2.1.xsd +0 -330
  64. data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/maindoc/UBL-Invoice-2.1.xsd +0 -1002
  65. data/einvoicing-sdk/Dockerfile +0 -26
  66. data/einvoicing-sdk/LICENSE.txt +0 -56
  67. data/einvoicing-sdk/Lib/.Net/DLL/BouncyCastle.Crypto.dll +0 -0
  68. data/einvoicing-sdk/Lib/.Net/DLL/IKVM.OpenJDK.Core.dll +0 -0
  69. data/einvoicing-sdk/Lib/.Net/DLL/IKVM.OpenJDK.Text.dll +0 -0
  70. data/einvoicing-sdk/Lib/.Net/DLL/IKVM.OpenJDK.Util.dll +0 -0
  71. data/einvoicing-sdk/Lib/.Net/DLL/IKVM.OpenJDK.XML.API.dll +0 -0
  72. data/einvoicing-sdk/Lib/.Net/DLL/IKVM.Runtime.dll +0 -0
  73. data/einvoicing-sdk/Lib/.Net/DLL/SDKNETFrameWorkLib.dll +0 -0
  74. data/einvoicing-sdk/Lib/.Net/DLL/SDKNETFrameWorkLib.dll.config +0 -43
  75. data/einvoicing-sdk/Lib/.Net/DLL/SDKNETFrameWorkLib.pdb +0 -0
  76. data/einvoicing-sdk/Lib/.Net/DLL/System.Net.Http.dll +0 -0
  77. data/einvoicing-sdk/Lib/.Net/DLL/saxon-he-10.8.dll +0 -0
  78. data/einvoicing-sdk/Lib/.Net/DLL/saxon-he-api-10.8.dll +0 -0
  79. data/einvoicing-sdk/Lib/.Net/DLL/saxon-he-api-10.8.xml +0 -11759
  80. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/.vs/SDKNETFrameworkTest/FileContentIndex/3f204b7a-faba-42d8-8288-8b6fe516555c.vsidx +0 -0
  81. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/.vs/SDKNETFrameworkTest/FileContentIndex/f95b6f91-c110-4b7a-bb49-3fc6bde85b13.vsidx +0 -0
  82. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/.vs/SDKNETFrameworkTest/FileContentIndex/read.lock +0 -0
  83. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/.vs/SDKNETFrameworkTest/v17/.suo +0 -0
  84. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/App.config +0 -14
  85. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/BouncyCastle.Crypto.dll +0 -0
  86. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/CSRGeneratorOpenSSL.cs +0 -58
  87. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.OpenJDK.Core.dll +0 -0
  88. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.OpenJDK.Text.dll +0 -0
  89. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.OpenJDK.Util.dll +0 -0
  90. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.OpenJDK.XML.API.dll +0 -0
  91. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.Runtime.dll +0 -0
  92. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/Program.cs +0 -194
  93. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/Properties/AssemblyInfo.cs +0 -36
  94. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/Readme.txt +0 -8
  95. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameWorkLib.dll +0 -0
  96. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameWorkLib.dll.config +0 -43
  97. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameWorkLib.pdb +0 -0
  98. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.csproj +0 -120
  99. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.exe +0 -0
  100. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.exe.config +0 -20
  101. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.pdb +0 -0
  102. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.sln +0 -25
  103. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/BouncyCastle.Crypto.dll +0 -0
  104. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/Data/certificate.txt +0 -1
  105. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/Data/pih.txt +0 -1
  106. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/Data/privateKey.txt +0 -1
  107. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.OpenJDK.Core.dll +0 -0
  108. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.OpenJDK.Text.dll +0 -0
  109. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.OpenJDK.Util.dll +0 -0
  110. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.OpenJDK.XML.API.dll +0 -0
  111. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.Runtime.dll +0 -0
  112. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameWorkLib.dll +0 -0
  113. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameWorkLib.dll.config +0 -43
  114. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameWorkLib.pdb +0 -0
  115. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameworkTest.exe +0 -0
  116. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameworkTest.exe.config +0 -20
  117. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameworkTest.pdb +0 -0
  118. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/System.Net.Http.dll +0 -0
  119. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/saxon-he-10.8.dll +0 -0
  120. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/saxon-he-api-10.8.dll +0 -0
  121. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/saxon-he-api-10.8.xml +0 -11759
  122. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +0 -4
  123. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache +0 -0
  124. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache +0 -0
  125. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.AssemblyReference.cache +0 -0
  126. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.CopyComplete +0 -0
  127. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.CoreCompileInputs.cache +0 -1
  128. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.FileListAbsolute.txt +0 -22
  129. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.SuggestedBindingRedirects.cache +0 -0
  130. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.exe +0 -0
  131. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.pdb +0 -0
  132. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/saxon-he-10.8.dll +0 -0
  133. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/saxon-he-api-10.8.dll +0 -0
  134. data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/saxon-he-api-10.8.xml +0 -11759
  135. data/einvoicing-sdk/Lib/.Net/Test/BouncyCastle.Crypto.dll +0 -0
  136. data/einvoicing-sdk/Lib/.Net/Test/IKVM.OpenJDK.Core.dll +0 -0
  137. data/einvoicing-sdk/Lib/.Net/Test/IKVM.OpenJDK.Text.dll +0 -0
  138. data/einvoicing-sdk/Lib/.Net/Test/IKVM.OpenJDK.Util.dll +0 -0
  139. data/einvoicing-sdk/Lib/.Net/Test/IKVM.OpenJDK.XML.API.dll +0 -0
  140. data/einvoicing-sdk/Lib/.Net/Test/IKVM.Runtime.dll +0 -0
  141. data/einvoicing-sdk/Lib/.Net/Test/SDKNETFrameWorkLib.dll +0 -0
  142. data/einvoicing-sdk/Lib/.Net/Test/SDKNETFrameWorkLib.dll.config +0 -43
  143. data/einvoicing-sdk/Lib/.Net/Test/SDKNETFrameWorkLib.pdb +0 -0
  144. data/einvoicing-sdk/Lib/.Net/Test/SDKNETFrameworkTest.exe +0 -0
  145. data/einvoicing-sdk/Lib/.Net/Test/SDKNETFrameworkTest.exe.config +0 -20
  146. data/einvoicing-sdk/Lib/.Net/Test/SDKNETFrameworkTest.pdb +0 -0
  147. data/einvoicing-sdk/Lib/.Net/Test/saxon-he-10.8.dll +0 -0
  148. data/einvoicing-sdk/Lib/.Net/Test/saxon-he-api-10.8.dll +0 -0
  149. data/einvoicing-sdk/Lib/.Net/Test/saxon-he-api-10.8.xml +0 -11759
  150. data/einvoicing-sdk/README.md +0 -15
  151. data/einvoicing-sdk/Readme/readme.docx +0 -0
  152. data/einvoicing-sdk/Readme/readme.md +0 -674
  153. data/einvoicing-sdk/Readme/readme.pdf +0 -0
  154. data/einvoicing-sdk/Readme/~$readme.docx +0 -0
  155. data/einvoicing-sdk/docker-compose.yml +0 -12
  156. data/einvoicing-sdk/install.bat +0 -74
  157. data/einvoicing-sdk/install.sh +0 -74
@@ -1,300 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"><ext:UBLExtensions>
3
- <ext:UBLExtension>
4
- <ext:ExtensionURI>urn:oasis:names:specification:ubl:dsig:enveloped:xades</ext:ExtensionURI>
5
- <ext:ExtensionContent>
6
- <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">
7
- <sac:SignatureInformation>
8
- <cbc:ID>urn:oasis:names:specification:ubl:signature:1</cbc:ID>
9
- <sbc:ReferencedSignatureID>urn:oasis:names:specification:ubl:signature:Invoice</sbc:ReferencedSignatureID>
10
- <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="signature">
11
- <ds:SignedInfo>
12
- <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
13
- <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/>
14
- <ds:Reference Id="invoiceSignedData" URI="">
15
- <ds:Transforms>
16
- <ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
17
- <ds:XPath>not(//ancestor-or-self::ext:UBLExtensions)</ds:XPath>
18
- </ds:Transform>
19
- <ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
20
- <ds:XPath>not(//ancestor-or-self::cac:Signature)</ds:XPath>
21
- </ds:Transform>
22
- <ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
23
- <ds:XPath>not(//ancestor-or-self::cac:AdditionalDocumentReference[cbc:ID='QR'])</ds:XPath>
24
- </ds:Transform>
25
- <ds:Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
26
- </ds:Transforms>
27
- <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
28
- <ds:DigestValue>nB55RlCPj1aF1dp/sRG+U26hg8P06M9BtTMxseocyrE=</ds:DigestValue>
29
- </ds:Reference>
30
- <ds:Reference Type="http://www.w3.org/2000/09/xmldsig#SignatureProperties" URI="#xadesSignedProperties">
31
- <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
32
- <ds:DigestValue>NGJmMGMzYWQ4NmRhMzg3MGNkOWUzMjc5NmNjMWYwNjczMWVmYzI0YWRhMjE0NWI1YWZlY2U3OTFiZjI5MWVlMg==</ds:DigestValue>
33
- </ds:Reference>
34
- </ds:SignedInfo>
35
- <ds:SignatureValue>MEYCIQC4VofRqvVIRx7UJ1O9xV9wJ5EQ7AfNTWpgLWDXHiJVYwIhAL5KN4L4zYHk2upZ9NZe1b2p+JeukSpC69s2go8esAiZ</ds:SignatureValue>
36
- <ds:KeyInfo>
37
- <ds:X509Data>
38
- <ds:X509Certificate>MIID6TCCA5CgAwIBAgITbwAAf8tem6jngr16DwABAAB/yzAKBggqhkjOPQQDAjBjMRUwEwYKCZImiZPyLGQBGRYFbG9jYWwxEzARBgoJkiaJk/IsZAEZFgNnb3YxFzAVBgoJkiaJk/IsZAEZFgdleHRnYXp0MRwwGgYDVQQDExNUU1pFSU5WT0lDRS1TdWJDQS0xMB4XDTIyMDkxNDEzMjYwNFoXDTI0MDkxMzEzMjYwNFowTjELMAkGA1UEBhMCU0ExEzARBgNVBAoTCjMxMTExMTExMTExDDAKBgNVBAsTA1RTVDEcMBoGA1UEAxMTVFNULTMxMTExMTExMTEwMTExMzBWMBAGByqGSM49AgEGBSuBBAAKA0IABGGDDKDmhWAITDv7LXqLX2cmr6+qddUkpcLCvWs5rC2O29W/hS4ajAK4Qdnahym6MaijX75Cg3j4aao7ouYXJ9GjggI5MIICNTCBmgYDVR0RBIGSMIGPpIGMMIGJMTswOQYDVQQEDDIxLVRTVHwyLVRTVHwzLWE4NjZiMTQyLWFjOWMtNDI0MS1iZjhlLTdmNzg3YTI2MmNlMjEfMB0GCgmSJomT8ixkAQEMDzMxMTExMTExMTEwMTExMzENMAsGA1UEDAwEMTEwMDEMMAoGA1UEGgwDVFNUMQwwCgYDVQQPDANUU1QwHQYDVR0OBBYEFDuWYlOzWpFN3no1WtyNktQdrA8JMB8GA1UdIwQYMBaAFHZgjPsGoKxnVzWdz5qspyuZNbUvME4GA1UdHwRHMEUwQ6BBoD+GPWh0dHA6Ly90c3RjcmwuemF0Y2EuZ292LnNhL0NlcnRFbnJvbGwvVFNaRUlOVk9JQ0UtU3ViQ0EtMS5jcmwwga0GCCsGAQUFBwEBBIGgMIGdMG4GCCsGAQUFBzABhmJodHRwOi8vdHN0Y3JsLnphdGNhLmdvdi5zYS9DZXJ0RW5yb2xsL1RTWkVpbnZvaWNlU0NBMS5leHRnYXp0Lmdvdi5sb2NhbF9UU1pFSU5WT0lDRS1TdWJDQS0xKDEpLmNydDArBggrBgEFBQcwAYYfaHR0cDovL3RzdGNybC56YXRjYS5nb3Yuc2Evb2NzcDAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMDMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwIwCgYIKwYBBQUHAwMwCgYIKoZIzj0EAwIDRwAwRAIgOgjNPJW017lsIijmVQVkP7GzFO2KQKd9GHaukLgIWFsCIFJF9uwKhTMxDjWbN+1awsnFI7RLBRxA/6hZ+F1wtaqU</ds:X509Certificate>
39
- </ds:X509Data>
40
- </ds:KeyInfo>
41
- <ds:Object>
42
- <xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Target="signature">
43
- <xades:SignedProperties Id="xadesSignedProperties">
44
- <xades:SignedSignatureProperties>
45
- <xades:SigningTime>2023-02-05T16:22:57Z</xades:SigningTime>
46
- <xades:SigningCertificate>
47
- <xades:Cert>
48
- <xades:CertDigest>
49
- <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
50
- <ds:DigestValue>YTJkM2JhYTcwZTBhZTAxOGYwODMyNzY3NTdkZDM3YzhjY2IxOTIyZDZhM2RlZGJiMGY0NDUzZWJhYWI4MDhmYg==</ds:DigestValue>
51
- </xades:CertDigest>
52
- <xades:IssuerSerial>
53
- <ds:X509IssuerName>CN=TSZEINVOICE-SubCA-1, DC=extgazt, DC=gov, DC=local</ds:X509IssuerName>
54
- <ds:X509SerialNumber>2475382886904809774818644480820936050208702411</ds:X509SerialNumber>
55
- </xades:IssuerSerial>
56
- </xades:Cert>
57
- </xades:SigningCertificate>
58
- </xades:SignedSignatureProperties>
59
- </xades:SignedProperties>
60
- </xades:QualifyingProperties>
61
- </ds:Object>
62
- </ds:Signature>
63
- </sac:SignatureInformation>
64
- </sig:UBLDocumentSignatures>
65
- </ext:ExtensionContent>
66
- </ext:UBLExtension>
67
- </ext:UBLExtensions>
68
-
69
- <cbc:ProfileID>reporting:1.0</cbc:ProfileID>
70
- <cbc:ID>935</cbc:ID>
71
- <!-- Please note that the UUID value is a sample value only -->
72
- <cbc:UUID>005b5801-9729-4067-a2d0-3cf79cddf16f</cbc:UUID>
73
- <cbc:IssueDate>2021-01-05</cbc:IssueDate>
74
- <cbc:IssueTime>09:32:40</cbc:IssueTime>
75
- <cbc:InvoiceTypeCode name="0211010">383</cbc:InvoiceTypeCode>
76
- <cbc:DocumentCurrencyCode>SAR</cbc:DocumentCurrencyCode>
77
- <cbc:TaxCurrencyCode>SAR</cbc:TaxCurrencyCode>
78
- <cac:BillingReference>
79
- <cac:InvoiceDocumentReference>
80
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
81
- </cac:InvoiceDocumentReference>
82
- </cac:BillingReference>
83
- <cac:BillingReference>
84
- <cac:InvoiceDocumentReference>
85
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
86
- </cac:InvoiceDocumentReference>
87
- </cac:BillingReference>
88
- <cac:BillingReference>
89
- <cac:InvoiceDocumentReference>
90
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
91
- </cac:InvoiceDocumentReference>
92
- </cac:BillingReference>
93
- <cac:BillingReference>
94
- <cac:InvoiceDocumentReference>
95
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
96
- </cac:InvoiceDocumentReference>
97
- </cac:BillingReference>
98
- <cac:BillingReference>
99
- <cac:InvoiceDocumentReference>
100
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
101
- </cac:InvoiceDocumentReference>
102
- </cac:BillingReference>
103
- <cac:BillingReference>
104
- <cac:InvoiceDocumentReference>
105
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
106
- </cac:InvoiceDocumentReference>
107
- </cac:BillingReference>
108
- <cac:BillingReference>
109
- <cac:InvoiceDocumentReference>
110
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
111
- </cac:InvoiceDocumentReference>
112
- </cac:BillingReference>
113
- <cac:BillingReference>
114
- <cac:InvoiceDocumentReference>
115
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
116
- </cac:InvoiceDocumentReference>
117
- </cac:BillingReference>
118
- <cac:BillingReference>
119
- <cac:InvoiceDocumentReference>
120
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
121
- </cac:InvoiceDocumentReference>
122
- </cac:BillingReference>
123
- <cac:BillingReference>
124
- <cac:InvoiceDocumentReference>
125
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
126
- </cac:InvoiceDocumentReference>
127
- </cac:BillingReference>
128
- <cac:BillingReference>
129
- <cac:InvoiceDocumentReference>
130
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
131
- </cac:InvoiceDocumentReference>
132
- </cac:BillingReference>
133
- <cac:BillingReference>
134
- <cac:InvoiceDocumentReference>
135
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
136
- </cac:InvoiceDocumentReference>
137
- </cac:BillingReference>
138
- <cac:BillingReference>
139
- <cac:InvoiceDocumentReference>
140
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
141
- </cac:InvoiceDocumentReference>
142
- </cac:BillingReference>
143
- <cac:BillingReference>
144
- <cac:InvoiceDocumentReference>
145
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
146
- </cac:InvoiceDocumentReference>
147
- </cac:BillingReference>
148
- <cac:BillingReference>
149
- <cac:InvoiceDocumentReference>
150
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
151
- </cac:InvoiceDocumentReference>
152
- </cac:BillingReference>
153
- <cac:BillingReference>
154
- <cac:InvoiceDocumentReference>
155
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
156
- </cac:InvoiceDocumentReference>
157
- </cac:BillingReference>
158
- <cac:BillingReference>
159
- <cac:InvoiceDocumentReference>
160
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
161
- </cac:InvoiceDocumentReference>
162
- </cac:BillingReference>
163
- <cac:BillingReference>
164
- <cac:InvoiceDocumentReference>
165
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
166
- </cac:InvoiceDocumentReference>
167
- </cac:BillingReference>
168
- <cac:BillingReference>
169
- <cac:InvoiceDocumentReference>
170
- <cbc:ID>Invoice Number: 354; Invoice Issue Date: 2021-02-10</cbc:ID>
171
- </cac:InvoiceDocumentReference>
172
- </cac:BillingReference>
173
- <cac:AdditionalDocumentReference>
174
- <cbc:ID>ICV</cbc:ID>
175
- <cbc:UUID>70</cbc:UUID>
176
- </cac:AdditionalDocumentReference>
177
- <cac:AdditionalDocumentReference>
178
- <!-- Please note that the hash value is a sample value only -->
179
- <cbc:ID>PIH</cbc:ID>
180
- <cac:Attachment>
181
- <cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">NWZlY2ViNjZmZmM4NmYzOGQ5NTI3ODZjNmQ2OTZjNzljMmRiYzIzOWRkNGU5MWI0NjcyOWQ3M2EyN2ZiNTdlOQ==</cbc:EmbeddedDocumentBinaryObject>
182
- </cac:Attachment>
183
- </cac:AdditionalDocumentReference>
184
-
185
- <!-- Please note that the signature value is a sample value only -->
186
-
187
- <cac:AdditionalDocumentReference>
188
- <cbc:ID>QR</cbc:ID>
189
- <cac:Attachment>
190
- <cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">ARNBY21lIFdpZGdldOKAmXMgTFREAg8zMTExMTExMTExMDExMTMDFDIwMjEtMDEtMDVUMDk6MzI6NDBaBAYyNTAuMDAFBDAuMDAGLG5CNTVSbENQajFhRjFkcC9zUkcrVTI2aGc4UDA2TTlCdFRNeHNlb2N5ckU9B2BNRVlDSVFDNFZvZlJxdlZJUng3VUoxTzl4Vjl3SjVFUTdBZk5UV3BnTFdEWEhpSlZZd0loQUw1S040TDR6WUhrMnVwWjlOWmUxYjJwK0pldWtTcEM2OXMyZ284ZXNBaVoIWDBWMBAGByqGSM49AgEGBSuBBAAKA0IABGGDDKDmhWAITDv7LXqLX2cmr6+qddUkpcLCvWs5rC2O29W/hS4ajAK4Qdnahym6MaijX75Cg3j4aao7ouYXJ9EJRjBEAiA6CM08lbTXuWwiKOZVBWQ/sbMU7YpAp30Ydq6QuAhYWwIgUkX27AqFMzEONZs37VrCycUjtEsFHED/qFn4XXC1qpQ=</cbc:EmbeddedDocumentBinaryObject>
191
- </cac:Attachment>
192
- </cac:AdditionalDocumentReference><cac:Signature>
193
- <cbc:ID>urn:oasis:names:specification:ubl:signature:Invoice</cbc:ID>
194
- <cbc:SignatureMethod>urn:oasis:names:specification:ubl:dsig:enveloped:xades</cbc:SignatureMethod>
195
- </cac:Signature><cac:AccountingSupplierParty>
196
- <cac:Party>
197
- <cac:PartyIdentification>
198
- <cbc:ID schemeID="CRN">1265126534</cbc:ID>
199
- </cac:PartyIdentification>
200
- <cac:PostalAddress>
201
- <cbc:StreetName>Kemarat Street,</cbc:StreetName>
202
- <cbc:BuildingNumber>3724</cbc:BuildingNumber>
203
- <cbc:PlotIdentification>9833</cbc:PlotIdentification>
204
- <cbc:CitySubdivisionName>Alfalah</cbc:CitySubdivisionName>
205
- <cbc:CityName>Jeddah</cbc:CityName>
206
- <cbc:PostalZone>15385</cbc:PostalZone>
207
- <cbc:CountrySubentity>Makkah</cbc:CountrySubentity>
208
- <cac:Country>
209
- <cbc:IdentificationCode>SA</cbc:IdentificationCode>
210
- </cac:Country>
211
- </cac:PostalAddress>
212
- <cac:PartyTaxScheme>
213
- <cbc:CompanyID>311111111101113</cbc:CompanyID>
214
- <cac:TaxScheme>
215
- <cbc:ID>VAT</cbc:ID>
216
- </cac:TaxScheme>
217
- </cac:PartyTaxScheme>
218
- <cac:PartyLegalEntity>
219
- <cbc:RegistrationName>Acme Widget’s LTD</cbc:RegistrationName>
220
- </cac:PartyLegalEntity>
221
- </cac:Party>
222
- </cac:AccountingSupplierParty>
223
- <cac:AccountingCustomerParty>
224
- <cac:Party>
225
- <cac:PartyIdentification>
226
- <cbc:ID schemeID="NAT">3102197112</cbc:ID>
227
- </cac:PartyIdentification>
228
- <cac:PostalAddress>
229
- <cbc:StreetName>Kemarat Street,</cbc:StreetName>
230
- <cbc:BuildingNumber>3724</cbc:BuildingNumber>
231
- <cbc:PlotIdentification>9833</cbc:PlotIdentification>
232
- <cbc:CitySubdivisionName>Alfalah</cbc:CitySubdivisionName>
233
- <cbc:CityName>Jeddah</cbc:CityName>
234
- <cbc:PostalZone>15385</cbc:PostalZone>
235
- <cbc:CountrySubentity>Makkah</cbc:CountrySubentity>
236
- <cac:Country>
237
- <cbc:IdentificationCode>SA</cbc:IdentificationCode>
238
- </cac:Country>
239
- </cac:PostalAddress>
240
- <cac:PartyLegalEntity>
241
- <cbc:RegistrationName>Acme Widget’s LTD 2</cbc:RegistrationName>
242
- </cac:PartyLegalEntity>
243
- </cac:Party>
244
- </cac:AccountingCustomerParty>
245
- <cac:Delivery>
246
- <cbc:ActualDeliveryDate>2022-03-13</cbc:ActualDeliveryDate>
247
- <cbc:LatestDeliveryDate>2022-03-15</cbc:LatestDeliveryDate>
248
- </cac:Delivery>
249
- <cac:PaymentMeans>
250
- <cbc:PaymentMeansCode>42</cbc:PaymentMeansCode>
251
- <cbc:InstructionNote>Returned items?</cbc:InstructionNote>
252
- </cac:PaymentMeans>
253
- <cac:TaxTotal>
254
- <cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
255
- <cac:TaxSubtotal>
256
- <cbc:TaxableAmount currencyID="SAR">250.00</cbc:TaxableAmount>
257
- <cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
258
- <cac:TaxCategory>
259
- <cbc:ID>Z</cbc:ID>
260
- <cbc:Percent>0</cbc:Percent>
261
- <cbc:TaxExemptionReasonCode>VATEX-SA-HEA </cbc:TaxExemptionReasonCode>
262
- <cbc:TaxExemptionReason>Private healthcare to citizen</cbc:TaxExemptionReason>
263
- <cac:TaxScheme>
264
- <cbc:ID>VAT</cbc:ID>
265
- </cac:TaxScheme>
266
- </cac:TaxCategory>
267
- </cac:TaxSubtotal>
268
- </cac:TaxTotal>
269
- <cac:TaxTotal>
270
- <cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
271
- </cac:TaxTotal>
272
- <cac:LegalMonetaryTotal>
273
- <cbc:LineExtensionAmount currencyID="SAR">250.00</cbc:LineExtensionAmount>
274
- <cbc:TaxExclusiveAmount currencyID="SAR">250.00</cbc:TaxExclusiveAmount>
275
- <cbc:TaxInclusiveAmount currencyID="SAR">250.00</cbc:TaxInclusiveAmount>
276
- <cbc:PayableAmount currencyID="SAR">250.00</cbc:PayableAmount>
277
- </cac:LegalMonetaryTotal>
278
- <cac:InvoiceLine>
279
- <cbc:ID>18378</cbc:ID>
280
- <cbc:InvoicedQuantity>1</cbc:InvoicedQuantity>
281
- <cbc:LineExtensionAmount currencyID="SAR">250.00</cbc:LineExtensionAmount>
282
- <cac:TaxTotal>
283
- <cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
284
- <cbc:RoundingAmount currencyID="SAR">250.00</cbc:RoundingAmount>
285
- </cac:TaxTotal>
286
- <cac:Item>
287
- <cbc:Name>Surgery</cbc:Name>
288
- <cac:ClassifiedTaxCategory>
289
- <cbc:ID>Z</cbc:ID>
290
- <cbc:Percent>0</cbc:Percent>
291
- <cac:TaxScheme>
292
- <cbc:ID>VAT</cbc:ID>
293
- </cac:TaxScheme>
294
- </cac:ClassifiedTaxCategory>
295
- </cac:Item>
296
- <cac:Price>
297
- <cbc:PriceAmount currencyID="SAR">250.00</cbc:PriceAmount>
298
- </cac:Price>
299
- </cac:InvoiceLine>
300
- </Invoice>
@@ -1,225 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"><ext:UBLExtensions>
3
- <ext:UBLExtension>
4
- <ext:ExtensionURI>urn:oasis:names:specification:ubl:dsig:enveloped:xades</ext:ExtensionURI>
5
- <ext:ExtensionContent>
6
- <!-- Please note that the signature values are sample values only -->
7
- <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">
8
- <sac:SignatureInformation>
9
- <cbc:ID>urn:oasis:names:specification:ubl:signature:1</cbc:ID>
10
- <sbc:ReferencedSignatureID>urn:oasis:names:specification:ubl:signature:Invoice</sbc:ReferencedSignatureID>
11
- <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="signature">
12
- <ds:SignedInfo>
13
- <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
14
- <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/>
15
- <ds:Reference Id="invoiceSignedData" URI="">
16
- <ds:Transforms>
17
- <ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
18
- <ds:XPath>not(//ancestor-or-self::ext:UBLExtensions)</ds:XPath>
19
- </ds:Transform>
20
- <ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
21
- <ds:XPath>not(//ancestor-or-self::cac:Signature)</ds:XPath>
22
- </ds:Transform>
23
- <ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
24
- <ds:XPath>not(//ancestor-or-self::cac:AdditionalDocumentReference[cbc:ID='QR'])</ds:XPath>
25
- </ds:Transform>
26
- <ds:Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
27
- </ds:Transforms>
28
- <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
29
- <ds:DigestValue>K0tF6WYhD0/kEz3mKoZHZWwF9GK9sxMRufd+B5E8Npc=</ds:DigestValue>
30
- </ds:Reference>
31
- <ds:Reference Type="http://www.w3.org/2000/09/xmldsig#SignatureProperties" URI="#xadesSignedProperties">
32
- <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
33
- <ds:DigestValue>YjVkN2Y3YmJhNzllNTRjMjc1OTdlMTljM2NlOGFhYzQxZDgzNTNhYWI1NzExNDE4YjEyYjFhOTI5NjA5OTMyMQ==</ds:DigestValue>
34
- </ds:Reference>
35
- </ds:SignedInfo>
36
- <ds:SignatureValue>MEUCIQDNmPqY+wo1j19gM77zY/6TDlnVnGaGk0c9beYfb1+WqwIgA6OAM7AifpNfVjr6NmUP64+CULwiKt8ASe33Oi8b3O8=</ds:SignatureValue>
37
- <ds:KeyInfo>
38
- <ds:X509Data>
39
- <ds:X509Certificate>MIID6TCCA5CgAwIBAgITbwAAf8tem6jngr16DwABAAB/yzAKBggqhkjOPQQDAjBjMRUwEwYKCZImiZPyLGQBGRYFbG9jYWwxEzARBgoJkiaJk/IsZAEZFgNnb3YxFzAVBgoJkiaJk/IsZAEZFgdleHRnYXp0MRwwGgYDVQQDExNUU1pFSU5WT0lDRS1TdWJDQS0xMB4XDTIyMDkxNDEzMjYwNFoXDTI0MDkxMzEzMjYwNFowTjELMAkGA1UEBhMCU0ExEzARBgNVBAoTCjMxMTExMTExMTExDDAKBgNVBAsTA1RTVDEcMBoGA1UEAxMTVFNULTMxMTExMTExMTEwMTExMzBWMBAGByqGSM49AgEGBSuBBAAKA0IABGGDDKDmhWAITDv7LXqLX2cmr6+qddUkpcLCvWs5rC2O29W/hS4ajAK4Qdnahym6MaijX75Cg3j4aao7ouYXJ9GjggI5MIICNTCBmgYDVR0RBIGSMIGPpIGMMIGJMTswOQYDVQQEDDIxLVRTVHwyLVRTVHwzLWE4NjZiMTQyLWFjOWMtNDI0MS1iZjhlLTdmNzg3YTI2MmNlMjEfMB0GCgmSJomT8ixkAQEMDzMxMTExMTExMTEwMTExMzENMAsGA1UEDAwEMTEwMDEMMAoGA1UEGgwDVFNUMQwwCgYDVQQPDANUU1QwHQYDVR0OBBYEFDuWYlOzWpFN3no1WtyNktQdrA8JMB8GA1UdIwQYMBaAFHZgjPsGoKxnVzWdz5qspyuZNbUvME4GA1UdHwRHMEUwQ6BBoD+GPWh0dHA6Ly90c3RjcmwuemF0Y2EuZ292LnNhL0NlcnRFbnJvbGwvVFNaRUlOVk9JQ0UtU3ViQ0EtMS5jcmwwga0GCCsGAQUFBwEBBIGgMIGdMG4GCCsGAQUFBzABhmJodHRwOi8vdHN0Y3JsLnphdGNhLmdvdi5zYS9DZXJ0RW5yb2xsL1RTWkVpbnZvaWNlU0NBMS5leHRnYXp0Lmdvdi5sb2NhbF9UU1pFSU5WT0lDRS1TdWJDQS0xKDEpLmNydDArBggrBgEFBQcwAYYfaHR0cDovL3RzdGNybC56YXRjYS5nb3Yuc2Evb2NzcDAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMDMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwIwCgYIKwYBBQUHAwMwCgYIKoZIzj0EAwIDRwAwRAIgOgjNPJW017lsIijmVQVkP7GzFO2KQKd9GHaukLgIWFsCIFJF9uwKhTMxDjWbN+1awsnFI7RLBRxA/6hZ+F1wtaqU</ds:X509Certificate>
40
- </ds:X509Data>
41
- </ds:KeyInfo>
42
- <ds:Object>
43
- <xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Target="signature">
44
- <xades:SignedProperties Id="xadesSignedProperties">
45
- <xades:SignedSignatureProperties>
46
- <xades:SigningTime>2022-09-15T00:31:56Z</xades:SigningTime>
47
- <xades:SigningCertificate>
48
- <xades:Cert>
49
- <xades:CertDigest>
50
- <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
51
- <ds:DigestValue>YTJkM2JhYTcwZTBhZTAxOGYwODMyNzY3NTdkZDM3YzhjY2IxOTIyZDZhM2RlZGJiMGY0NDUzZWJhYWI4MDhmYg==</ds:DigestValue>
52
- </xades:CertDigest>
53
- <xades:IssuerSerial>
54
- <ds:X509IssuerName>CN=TSZEINVOICE-SubCA-1, DC=extgazt, DC=gov, DC=local</ds:X509IssuerName>
55
- <ds:X509SerialNumber>2475382886904809774818644480820936050208702411</ds:X509SerialNumber>
56
- </xades:IssuerSerial>
57
- </xades:Cert>
58
- </xades:SigningCertificate>
59
- </xades:SignedSignatureProperties>
60
- </xades:SignedProperties>
61
- </xades:QualifyingProperties>
62
- </ds:Object>
63
- </ds:Signature>
64
- </sac:SignatureInformation>
65
- </sig:UBLDocumentSignatures>
66
- </ext:ExtensionContent>
67
- </ext:UBLExtension>
68
- </ext:UBLExtensions>
69
-
70
- <cbc:ProfileID>reporting:1.0</cbc:ProfileID>
71
- <cbc:ID>569</cbc:ID>
72
- <!-- Please note that the UUID value is a sample value only -->
73
- <cbc:UUID>3cf5ee18-ee25-44ea-a444-2c37ba7f28be</cbc:UUID>
74
- <cbc:IssueDate>2021-01-26</cbc:IssueDate>
75
- <cbc:IssueTime>11:58:25</cbc:IssueTime>
76
- <cbc:InvoiceTypeCode name="0200000">381</cbc:InvoiceTypeCode>
77
- <cbc:DocumentCurrencyCode>SAR</cbc:DocumentCurrencyCode>
78
- <cbc:TaxCurrencyCode>SAR</cbc:TaxCurrencyCode>
79
- <cac:BillingReference>
80
- <cac:InvoiceDocumentReference>
81
- <cbc:ID>”Invoice Number: 348; Invoice Issue Date: 2022-11-04”</cbc:ID>
82
- </cac:InvoiceDocumentReference>
83
- </cac:BillingReference>
84
- <cac:AdditionalDocumentReference>
85
- <cbc:ID>ICV</cbc:ID>
86
- <cbc:UUID>28</cbc:UUID>
87
- </cac:AdditionalDocumentReference>
88
- <cac:AdditionalDocumentReference>
89
- <!-- Please note that the hash value is a sample value only -->
90
- <cbc:ID>PIH</cbc:ID>
91
- <cac:Attachment>
92
- <cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">NWZlY2ViNjZmZmM4NmYzOGQ5NTI3ODZjNmQ2OTZjNzljMmRiYzIzOWRkNGU5MWI0NjcyOWQ3M2EyN2ZiNTdlOQ==</cbc:EmbeddedDocumentBinaryObject>
93
- </cac:Attachment>
94
- </cac:AdditionalDocumentReference>
95
-
96
- <!-- Please note that the signature value is a sample value only -->
97
-
98
- <cac:AdditionalDocumentReference>
99
- <cbc:ID>QR</cbc:ID>
100
- <cac:Attachment>
101
- <cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">ARNBY21lIFdpZGdldOKAmXMgTFREAg8zMTExMTExMTExMDExMTMDFDIwMjEtMDEtMjZUMTE6NTg6MjVaBAgxMzgwMC4wMAUHMTgwMC4wMAYsSzB0RjZXWWhEMC9rRXozbUtvWkhaV3dGOUdLOXN4TVJ1ZmQrQjVFOE5wYz0HYE1FVUNJUURObVBxWSt3bzFqMTlnTTc3elkvNlREbG5WbkdhR2swYzliZVlmYjErV3F3SWdBNk9BTTdBaWZwTmZWanI2Tm1VUDY0K0NVTHdpS3Q4QVNlMzNPaThiM084PQhYMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEYYMMoOaFYAhMO/steotfZyavr6p11SSlwsK9azmsLY7b1b+FLhqMArhB2dqHKboxqKNfvkKDePhpqjui5hcn0QlGMEQCIDoIzTyVtNe5bCIo5lUFZD+xsxTtikCnfRh2rpC4CFhbAiBSRfbsCoUzMQ41mzftWsLJxSO0SwUcQP+oWfhdcLWqlA==</cbc:EmbeddedDocumentBinaryObject>
102
- </cac:Attachment>
103
- </cac:AdditionalDocumentReference><cac:Signature>
104
- <cbc:ID>urn:oasis:names:specification:ubl:signature:Invoice</cbc:ID>
105
- <cbc:SignatureMethod>urn:oasis:names:specification:ubl:dsig:enveloped:xades</cbc:SignatureMethod>
106
- </cac:Signature><cac:AccountingSupplierParty>
107
- <cac:Party>
108
- <cac:PartyIdentification>
109
- <cbc:ID schemeID="MOM">125636525</cbc:ID>
110
- </cac:PartyIdentification>
111
- <cac:PostalAddress>
112
- <cbc:StreetName></cbc:StreetName>
113
- <cbc:BuildingNumber>3721</cbc:BuildingNumber>
114
- <cbc:PlotIdentification>9572</cbc:PlotIdentification>
115
- <cbc:CitySubdivisionName>King Faisal</cbc:CitySubdivisionName>
116
- <cbc:CityName>Shaqraa</cbc:CityName>
117
- <cbc:PostalZone></cbc:PostalZone>
118
- <cbc:CountrySubentity>Riyadh Region</cbc:CountrySubentity>
119
- <cac:Country>
120
- <cbc:IdentificationCode>SA</cbc:IdentificationCode>
121
- </cac:Country>
122
- </cac:PostalAddress>
123
- <cac:PartyTaxScheme>
124
- <cbc:CompanyID>311111111101113</cbc:CompanyID>
125
- <cac:TaxScheme>
126
- <cbc:ID>VAT</cbc:ID>
127
- </cac:TaxScheme>
128
- </cac:PartyTaxScheme>
129
- <cac:PartyLegalEntity>
130
- <cbc:RegistrationName>Acme Widget’s LTD</cbc:RegistrationName>
131
- </cac:PartyLegalEntity>
132
- </cac:Party>
133
- </cac:AccountingSupplierParty>
134
- <cac:AccountingCustomerParty>
135
- <cac:Party>
136
- <cac:PartyIdentification>
137
- <cbc:ID schemeID="CRN">1234653499</cbc:ID>
138
- </cac:PartyIdentification>
139
- <cac:PostalAddress>
140
- <cbc:StreetName>Alurobah Street</cbc:StreetName>
141
- <cbc:BuildingNumber>3603</cbc:BuildingNumber>
142
- <cbc:PlotIdentification>8790</cbc:PlotIdentification>
143
- <cbc:CitySubdivisionName>Ghulail</cbc:CitySubdivisionName>
144
- <cbc:CityName>Jeddah</cbc:CityName>
145
- <cbc:PostalZone>11564</cbc:PostalZone>
146
- <cbc:CountrySubentity>Makkah Region</cbc:CountrySubentity>
147
- <cac:Country>
148
- <cbc:IdentificationCode>SA</cbc:IdentificationCode>
149
- </cac:Country>
150
- </cac:PostalAddress>
151
- <cac:PartyTaxScheme>
152
- <cac:TaxScheme>
153
- <cbc:ID>VAT</cbc:ID>
154
- </cac:TaxScheme>
155
- </cac:PartyTaxScheme>
156
- <cac:PartyLegalEntity>
157
- <cbc:RegistrationName>Acme Widget’s LTD 2</cbc:RegistrationName>
158
- </cac:PartyLegalEntity>
159
- </cac:Party>
160
- </cac:AccountingCustomerParty>
161
- <cac:Delivery>
162
- <cbc:ActualDeliveryDate>2022-11-04</cbc:ActualDeliveryDate>
163
- </cac:Delivery>
164
- <cac:PaymentMeans>
165
- <cbc:PaymentMeansCode>42</cbc:PaymentMeansCode>
166
- <cbc:InstructionNote>“Returned items”</cbc:InstructionNote>
167
- </cac:PaymentMeans>
168
- <cac:AllowanceCharge>
169
- <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
170
- <cbc:Amount currencyID="SAR">0.00</cbc:Amount>
171
- <cac:TaxCategory>
172
- <cbc:ID>S</cbc:ID>
173
- <cbc:Percent>15</cbc:Percent>
174
- <cac:TaxScheme>
175
- <cbc:ID>VAT</cbc:ID>
176
- </cac:TaxScheme>
177
- </cac:TaxCategory>
178
- </cac:AllowanceCharge>
179
- <cac:TaxTotal>
180
- <cbc:TaxAmount currencyID="SAR">1800.00</cbc:TaxAmount>
181
- <cac:TaxSubtotal>
182
- <cbc:TaxableAmount currencyID="SAR">12000.00</cbc:TaxableAmount>
183
- <cbc:TaxAmount currencyID="SAR">1800.00</cbc:TaxAmount>
184
- <cac:TaxCategory>
185
- <cbc:ID>S</cbc:ID>
186
- <cbc:Percent>15</cbc:Percent>
187
- <cac:TaxScheme>
188
- <cbc:ID>VAT</cbc:ID>
189
- </cac:TaxScheme>
190
- </cac:TaxCategory>
191
- </cac:TaxSubtotal>
192
- </cac:TaxTotal>
193
- <cac:TaxTotal>
194
- <cbc:TaxAmount currencyID="SAR">180.00</cbc:TaxAmount>
195
- </cac:TaxTotal>
196
- <cac:LegalMonetaryTotal>
197
- <cbc:LineExtensionAmount currencyID="SAR">12000.00</cbc:LineExtensionAmount>
198
- <cbc:TaxExclusiveAmount currencyID="SAR">12000.00</cbc:TaxExclusiveAmount>
199
- <cbc:TaxInclusiveAmount currencyID="SAR">13800.00</cbc:TaxInclusiveAmount>
200
- <cbc:AllowanceTotalAmount currencyID="SAR">0.00</cbc:AllowanceTotalAmount>
201
- <cbc:PayableAmount currencyID="SAR">13800.00</cbc:PayableAmount>
202
- </cac:LegalMonetaryTotal>
203
- <cac:InvoiceLine>
204
- <cbc:ID>1865</cbc:ID>
205
- <cbc:InvoicedQuantity>1</cbc:InvoicedQuantity>
206
- <cbc:LineExtensionAmount currencyID="SAR">12000.00</cbc:LineExtensionAmount>
207
- <cac:TaxTotal>
208
- <cbc:TaxAmount currencyID="SAR">1800.00</cbc:TaxAmount>
209
- <cbc:RoundingAmount currencyID="SAR">13800.00</cbc:RoundingAmount>
210
- </cac:TaxTotal>
211
- <cac:Item>
212
- <cbc:Name>Item A</cbc:Name>
213
- <cac:ClassifiedTaxCategory>
214
- <cbc:ID>S</cbc:ID>
215
- <cbc:Percent>15</cbc:Percent>
216
- <cac:TaxScheme>
217
- <cbc:ID>VAT</cbc:ID>
218
- </cac:TaxScheme>
219
- </cac:ClassifiedTaxCategory>
220
- </cac:Item>
221
- <cac:Price>
222
- <cbc:PriceAmount currencyID="SAR">12000.00</cbc:PriceAmount>
223
- </cac:Price>
224
- </cac:InvoiceLine>
225
- </Invoice>