zatca 0.1.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -2
- data/bin/console +0 -0
- data/bin/setup +0 -0
- data/einvoicing-sdk/Apps/fatoora +12 -0
- data/einvoicing-sdk/Apps/fatoora.bat +16 -0
- data/einvoicing-sdk/Apps/global.json +1 -0
- data/einvoicing-sdk/Apps/jq.exe +0 -0
- data/einvoicing-sdk/Apps/zatca-einvoicing-sdk-238-R3.2.7.jar +0 -0
- data/einvoicing-sdk/Configuration/config.json +11 -0
- data/einvoicing-sdk/Configuration/defaults.json +11 -0
- data/einvoicing-sdk/Configuration/jq.exe +0 -0
- data/einvoicing-sdk/Configuration/usage.txt +16 -0
- data/einvoicing-sdk/Data/Certificates/cert.pem +1 -0
- data/einvoicing-sdk/Data/Certificates/ec-secp256k1-priv-key.pem +1 -0
- data/einvoicing-sdk/Data/Input/csr-config-example-AR-VAT-Group.properties +9 -0
- data/einvoicing-sdk/Data/Input/csr-config-example-AR.properties +9 -0
- data/einvoicing-sdk/Data/Input/csr-config-example-EN-VAT-group.properties +9 -0
- data/einvoicing-sdk/Data/Input/csr-config-example-EN.properties +9 -0
- data/einvoicing-sdk/Data/Input/csr-config-template.properties +9 -0
- data/einvoicing-sdk/Data/PIH/pih.txt +1 -0
- data/einvoicing-sdk/Data/Rules/schematrons/20210819_ZATCA_E-invoice_Validation_Rules.xsl +2844 -0
- data/einvoicing-sdk/Data/Rules/schematrons/CEN-EN16931-UBL.xsl +1973 -0
- data/einvoicing-sdk/Data/Samples/PDF-A3/Simplified Debit Note.pdf +0 -0
- data/einvoicing-sdk/Data/Samples/PDF-A3/Standard Credit Note.pdf +0 -0
- data/einvoicing-sdk/Data/Samples/PDF-A3/Standard Debit Note.pdf +0 -0
- data/einvoicing-sdk/Data/Samples/PDF-A3/Standard Invoice.pdf +0 -0
- data/einvoicing-sdk/Data/Samples/PDF-A3/Tax_Invoice_USD.pdf +0 -0
- data/einvoicing-sdk/Data/Samples/Simplified/Credit/Simplified_Credit_Note.xml +300 -0
- data/einvoicing-sdk/Data/Samples/Simplified/Credit/Simplified_Credit_Note_Error.xml +225 -0
- data/einvoicing-sdk/Data/Samples/Simplified/Debit/Simplified_Debit_Note.xml +211 -0
- data/einvoicing-sdk/Data/Samples/Simplified/Debit/Simplified_Debit_Note_Error.xml +226 -0
- data/einvoicing-sdk/Data/Samples/Simplified/Invoice/Additional_Simplified_Invoices/Out_Of_Scope_Simplified_Invoice.xml +207 -0
- data/einvoicing-sdk/Data/Samples/Simplified/Invoice/Additional_Simplified_Invoices/Simplified_Invoice_USD.xml +246 -0
- data/einvoicing-sdk/Data/Samples/Simplified/Invoice/Simplified_Invoice.xml +246 -0
- data/einvoicing-sdk/Data/Samples/Simplified/Invoice/Simplified_Invoice_Error.xml +228 -0
- data/einvoicing-sdk/Data/Samples/Standard/Credit/Standard_Credit_Note.xml +227 -0
- data/einvoicing-sdk/Data/Samples/Standard/Credit/Standard_Credit_Note_Error.xml +224 -0
- data/einvoicing-sdk/Data/Samples/Standard/Debit/Standard_Debit_Note.xml +227 -0
- data/einvoicing-sdk/Data/Samples/Standard/Debit/Standard_Debit_Note_Error.xml +226 -0
- data/einvoicing-sdk/Data/Samples/Standard/Invoice/Additional_Standard_Invoices/Exempt_Standard_Invoice.xml +227 -0
- data/einvoicing-sdk/Data/Samples/Standard/Invoice/Additional_Standard_Invoices/Standard_Invoice_USD.xml +227 -0
- data/einvoicing-sdk/Data/Samples/Standard/Invoice/Additional_Standard_Invoices/Zero_Rate_Standard_Invoice.xml +227 -0
- data/einvoicing-sdk/Data/Samples/Standard/Invoice/Sample Invoice[Advance Payements] - 1.xml +294 -0
- data/einvoicing-sdk/Data/Samples/Standard/Invoice/Sample Invoice[Advance Payements] - 2.xml +432 -0
- data/einvoicing-sdk/Data/Samples/Standard/Invoice/Standard_Invoice.xml +222 -0
- data/einvoicing-sdk/Data/Samples/Standard/Invoice/Standard_Invoice_Error.xml +228 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/CCTS_CCT_SchemaModule-2.1.xsd +731 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CommonAggregateComponents-2.1.xsd +44365 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CommonBasicComponents-2.1.xsd +5389 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CommonExtensionComponents-2.1.xsd +223 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CommonSignatureComponents-2.1.xsd +101 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CoreComponentParameters-2.1.xsd +63 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-ExtensionContentDataType-2.1.xsd +89 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-QualifiedDataTypes-2.1.xsd +69 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-SignatureAggregateComponents-2.1.xsd +138 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-SignatureBasicComponents-2.1.xsd +78 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-UnqualifiedDataTypes-2.1.xsd +553 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-XAdESv132-2.1.xsd +476 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-XAdESv141-2.1.xsd +25 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-xmldsig-core-schema-2.1.xsd +330 -0
- data/einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/maindoc/UBL-Invoice-2.1.xsd +1002 -0
- data/einvoicing-sdk/Dockerfile +26 -0
- data/einvoicing-sdk/LICENSE.txt +56 -0
- data/einvoicing-sdk/Lib/.Net/DLL/BouncyCastle.Crypto.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/DLL/IKVM.OpenJDK.Core.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/DLL/IKVM.OpenJDK.Text.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/DLL/IKVM.OpenJDK.Util.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/DLL/IKVM.OpenJDK.XML.API.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/DLL/IKVM.Runtime.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/DLL/SDKNETFrameWorkLib.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/DLL/SDKNETFrameWorkLib.dll.config +43 -0
- data/einvoicing-sdk/Lib/.Net/DLL/SDKNETFrameWorkLib.pdb +0 -0
- data/einvoicing-sdk/Lib/.Net/DLL/System.Net.Http.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/DLL/saxon-he-10.8.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/DLL/saxon-he-api-10.8.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/DLL/saxon-he-api-10.8.xml +11759 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/.vs/SDKNETFrameworkTest/FileContentIndex/3f204b7a-faba-42d8-8288-8b6fe516555c.vsidx +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/.vs/SDKNETFrameworkTest/FileContentIndex/f95b6f91-c110-4b7a-bb49-3fc6bde85b13.vsidx +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/.vs/SDKNETFrameworkTest/FileContentIndex/read.lock +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/.vs/SDKNETFrameworkTest/v17/.suo +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/App.config +14 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/BouncyCastle.Crypto.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/CSRGeneratorOpenSSL.cs +58 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.OpenJDK.Core.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.OpenJDK.Text.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.OpenJDK.Util.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.OpenJDK.XML.API.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.Runtime.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/Program.cs +194 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/Properties/AssemblyInfo.cs +36 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/Readme.txt +8 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameWorkLib.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameWorkLib.dll.config +43 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameWorkLib.pdb +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.csproj +120 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.exe +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.exe.config +20 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.pdb +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.sln +25 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/BouncyCastle.Crypto.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/Data/certificate.txt +1 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/Data/pih.txt +1 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/Data/privateKey.txt +1 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.OpenJDK.Core.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.OpenJDK.Text.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.OpenJDK.Util.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.OpenJDK.XML.API.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.Runtime.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameWorkLib.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameWorkLib.dll.config +43 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameWorkLib.pdb +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameworkTest.exe +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameworkTest.exe.config +20 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameworkTest.pdb +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/System.Net.Http.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/saxon-he-10.8.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/saxon-he-api-10.8.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/saxon-he-api-10.8.xml +11759 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs +4 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.AssemblyReference.cache +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.CopyComplete +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.CoreCompileInputs.cache +1 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.FileListAbsolute.txt +22 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.SuggestedBindingRedirects.cache +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.exe +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.pdb +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/saxon-he-10.8.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/saxon-he-api-10.8.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/saxon-he-api-10.8.xml +11759 -0
- data/einvoicing-sdk/Lib/.Net/Test/BouncyCastle.Crypto.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/Test/IKVM.OpenJDK.Core.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/Test/IKVM.OpenJDK.Text.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/Test/IKVM.OpenJDK.Util.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/Test/IKVM.OpenJDK.XML.API.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/Test/IKVM.Runtime.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/Test/SDKNETFrameWorkLib.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/Test/SDKNETFrameWorkLib.dll.config +43 -0
- data/einvoicing-sdk/Lib/.Net/Test/SDKNETFrameWorkLib.pdb +0 -0
- data/einvoicing-sdk/Lib/.Net/Test/SDKNETFrameworkTest.exe +0 -0
- data/einvoicing-sdk/Lib/.Net/Test/SDKNETFrameworkTest.exe.config +20 -0
- data/einvoicing-sdk/Lib/.Net/Test/SDKNETFrameworkTest.pdb +0 -0
- data/einvoicing-sdk/Lib/.Net/Test/saxon-he-10.8.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/Test/saxon-he-api-10.8.dll +0 -0
- data/einvoicing-sdk/Lib/.Net/Test/saxon-he-api-10.8.xml +11759 -0
- data/einvoicing-sdk/README.md +15 -0
- data/einvoicing-sdk/Readme/readme.docx +0 -0
- data/einvoicing-sdk/Readme/readme.md +674 -0
- data/einvoicing-sdk/Readme/readme.pdf +0 -0
- data/einvoicing-sdk/Readme/~$readme.docx +0 -0
- data/einvoicing-sdk/docker-compose.yml +12 -0
- data/einvoicing-sdk/install.bat +74 -0
- data/einvoicing-sdk/install.sh +74 -0
- data/lib/zatca/client.rb +173 -0
- data/lib/zatca/hacks.rb +45 -0
- data/lib/zatca/hashing.rb +18 -0
- data/lib/zatca/qr_code_extractor.rb +31 -0
- data/lib/zatca/qr_code_generator.rb +9 -2
- data/lib/zatca/signing/certificate.rb +78 -0
- data/lib/zatca/signing/csr.rb +220 -0
- data/lib/zatca/signing/ecdsa.rb +59 -0
- data/lib/zatca/tag.rb +18 -8
- data/lib/zatca/tags.rb +5 -1
- data/lib/zatca/tags_schema.rb +5 -5
- data/lib/zatca/types.rb +7 -0
- data/lib/zatca/ubl/base_component.rb +142 -0
- data/lib/zatca/ubl/builder.rb +166 -0
- data/lib/zatca/ubl/common_aggregate_components/allowance_charge.rb +64 -0
- data/lib/zatca/ubl/common_aggregate_components/classified_tax_category.rb +25 -0
- data/lib/zatca/ubl/common_aggregate_components/delivery.rb +27 -0
- data/lib/zatca/ubl/common_aggregate_components/invoice_line.rb +63 -0
- data/lib/zatca/ubl/common_aggregate_components/item.rb +21 -0
- data/lib/zatca/ubl/common_aggregate_components/legal_monetary_total.rb +59 -0
- data/lib/zatca/ubl/common_aggregate_components/party.rb +28 -0
- data/lib/zatca/ubl/common_aggregate_components/party_identification.rb +25 -0
- data/lib/zatca/ubl/common_aggregate_components/party_legal_entity.rb +19 -0
- data/lib/zatca/ubl/common_aggregate_components/party_tax_scheme.rb +30 -0
- data/lib/zatca/ubl/common_aggregate_components/postal_address.rb +59 -0
- data/lib/zatca/ubl/common_aggregate_components/price.rb +20 -0
- data/lib/zatca/ubl/common_aggregate_components/tax_category.rb +56 -0
- data/lib/zatca/ubl/common_aggregate_components/tax_total.rb +58 -0
- data/lib/zatca/ubl/common_aggregate_components.rb +2 -0
- data/lib/zatca/ubl/invoice.rb +481 -0
- data/lib/zatca/ubl/invoice_subtype_builder.rb +50 -0
- data/lib/zatca/ubl/signing/cert.rb +48 -0
- data/lib/zatca/ubl/signing/invoice_signed_data_reference.rb +44 -0
- data/lib/zatca/ubl/signing/key_info.rb +25 -0
- data/lib/zatca/ubl/signing/object.rb +20 -0
- data/lib/zatca/ubl/signing/qualifying_properties.rb +27 -0
- data/lib/zatca/ubl/signing/signature.rb +50 -0
- data/lib/zatca/ubl/signing/signature_information.rb +19 -0
- data/lib/zatca/ubl/signing/signature_properties_reference.rb +26 -0
- data/lib/zatca/ubl/signing/signed_info.rb +21 -0
- data/lib/zatca/ubl/signing/signed_properties.rb +81 -0
- data/lib/zatca/ubl/signing/signed_signature_properties.rb +23 -0
- data/lib/zatca/ubl/signing/ubl_document_signatures.rb +25 -0
- data/lib/zatca/ubl/signing/ubl_extension.rb +22 -0
- data/lib/zatca/ubl/signing/ubl_extensions.rb +17 -0
- data/lib/zatca/ubl/signing.rb +2 -0
- data/lib/zatca/ubl.rb +2 -0
- data/lib/zatca/version.rb +1 -1
- data/lib/zatca.rb +27 -3
- data/zatca.gemspec +52 -0
- metadata +318 -10
- data/Gemfile.lock +0 -100
@@ -0,0 +1,432 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
|
3
|
+
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
|
4
|
+
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
|
5
|
+
xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2">
|
6
|
+
<ext:UBLExtensions>
|
7
|
+
<ext:UBLExtension>
|
8
|
+
<ext:ExtensionURI>urn:oasis:names:specification:ubl:dsig:enveloped:xades</ext:ExtensionURI>
|
9
|
+
<ext:ExtensionContent>
|
10
|
+
<!-- Please note that the signature values are sample values only -->
|
11
|
+
<sig:UBLDocumentSignatures
|
12
|
+
xmlns:sig="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2"
|
13
|
+
xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2"
|
14
|
+
xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2">
|
15
|
+
<sac:SignatureInformation>
|
16
|
+
<cbc:ID>urn:oasis:names:specification:ubl:signature:1</cbc:ID>
|
17
|
+
<sbc:ReferencedSignatureID>
|
18
|
+
urn:oasis:names:specification:ubl:signature:Invoice</sbc:ReferencedSignatureID>
|
19
|
+
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="signature">
|
20
|
+
<ds:SignedInfo>
|
21
|
+
<ds:CanonicalizationMethod
|
22
|
+
Algorithm="http://www.w3.org/2006/12/xml-c14n11" />
|
23
|
+
<ds:SignatureMethod
|
24
|
+
Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256" />
|
25
|
+
<ds:Reference Id="invoiceSignedData" URI="">
|
26
|
+
<ds:Transforms>
|
27
|
+
<ds:Transform
|
28
|
+
Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
|
29
|
+
<ds:XPath>not(//ancestor-or-self::ext:UBLExtensions)</ds:XPath>
|
30
|
+
</ds:Transform>
|
31
|
+
<ds:Transform
|
32
|
+
Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
|
33
|
+
<ds:XPath>not(//ancestor-or-self::cac:Signature)</ds:XPath>
|
34
|
+
</ds:Transform>
|
35
|
+
<ds:Transform
|
36
|
+
Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
|
37
|
+
<ds:XPath>
|
38
|
+
not(//ancestor-or-self::cac:AdditionalDocumentReference[cbc:ID='QR'])</ds:XPath>
|
39
|
+
</ds:Transform>
|
40
|
+
<ds:Transform
|
41
|
+
Algorithm="http://www.w3.org/2006/12/xml-c14n11" />
|
42
|
+
</ds:Transforms>
|
43
|
+
<ds:DigestMethod
|
44
|
+
Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" />
|
45
|
+
<ds:DigestValue>b6chCRS1ZOVICFqiw7b/q/iGdaSMDKnNS3Afmm2HzcI=</ds:DigestValue>
|
46
|
+
</ds:Reference>
|
47
|
+
<ds:Reference
|
48
|
+
Type="http://www.w3.org/2000/09/xmldsig#SignatureProperties"
|
49
|
+
URI="#xadesSignedProperties">
|
50
|
+
<ds:DigestMethod
|
51
|
+
Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" />
|
52
|
+
<ds:DigestValue>
|
53
|
+
MGRlMzBlMTdiZGFkOWE5YzVmY2E2N2QzOTRiMGIzZWQ4NjU0MTJlNGM0YjM1NWFhODM0NzQwZDU1ODNiOTg4Ng==</ds:DigestValue>
|
54
|
+
</ds:Reference>
|
55
|
+
</ds:SignedInfo>
|
56
|
+
<ds:SignatureValue>
|
57
|
+
MEUCIQCzfyTe9Cz0KU7E8D37U7GKKh6GxmXyf90HbBdQXVIXiQIgEAdaXwe112ogaAa5KH/zOgvQJF2JSX2vuFgrxqMYJe4=</ds:SignatureValue>
|
58
|
+
<ds:KeyInfo>
|
59
|
+
<ds:X509Data>
|
60
|
+
<ds:X509Certificate>
|
61
|
+
MIID6jCCA5CgAwIBAgITbwAAf5DKmINr2MHVPgABAAB/kDAKBggqhkjOPQQDAjBjMRUwEwYKCZImiZPyLGQBGRYFbG9jYWwxEzARBgoJkiaJk/IsZAEZFgNnb3YxFzAVBgoJkiaJk/IsZAEZFgdleHRnYXp0MRwwGgYDVQQDExNUU1pFSU5WT0lDRS1TdWJDQS0xMB4XDTIyMDkwNzExMDE0NVoXDTI0MDkwNjExMDE0NVowTjELMAkGA1UEBhMCU0ExEzARBgNVBAoTCjMwMDAwMDAwMDAxDDAKBgNVBAsTA1RTVDEcMBoGA1UEAxMTVFNULTMwMDAwMDAwMDAwMDAwMzBWMBAGByqGSM49AgEGBSuBBAAKA0IABGGDDKDmhWAITDv7LXqLX2cmr6+qddUkpcLCvWs5rC2O29W/hS4ajAK4Qdnahym6MaijX75Cg3j4aao7ouYXJ9GjggI5MIICNTCBmgYDVR0RBIGSMIGPpIGMMIGJMTswOQYDVQQEDDIxLVRTVHwyLVRTVHwzLWI0N2RiOTZkLWQ0MzQtNDBkOS05MTU1LWFlMDgyOThlYzI4MzEfMB0GCgmSJomT8ixkAQEMDzMwMDAwMDAwMDAwMDAwMzENMAsGA1UEDAwEMTEwMDEMMAoGA1UEGgwDVFNUMQwwCgYDVQQPDANUU1QwHQYDVR0OBBYEFDuWYlOzWpFN3no1WtyNktQdrA8JMB8GA1UdIwQYMBaAFHZgjPsGoKxnVzWdz5qspyuZNbUvME4GA1UdHwRHMEUwQ6BBoD+GPWh0dHA6Ly90c3RjcmwuemF0Y2EuZ292LnNhL0NlcnRFbnJvbGwvVFNaRUlOVk9JQ0UtU3ViQ0EtMS5jcmwwga0GCCsGAQUFBwEBBIGgMIGdMG4GCCsGAQUFBzABhmJodHRwOi8vdHN0Y3JsLnphdGNhLmdvdi5zYS9DZXJ0RW5yb2xsL1RTWkVpbnZvaWNlU0NBMS5leHRnYXp0Lmdvdi5sb2NhbF9UU1pFSU5WT0lDRS1TdWJDQS0xKDEpLmNydDArBggrBgEFBQcwAYYfaHR0cDovL3RzdGNybC56YXRjYS5nb3Yuc2Evb2NzcDAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMDMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwIwCgYIKwYBBQUHAwMwCgYIKoZIzj0EAwIDSAAwRQIhANcL3JNE3mWLsS17ZuskT/+eRSGcl3AN5s0LJCQobT5qAiA0HvBGodPjK/kgNO2jotFw6Cfu5Ro+8DpJqnjaRP8g5A==</ds:X509Certificate>
|
62
|
+
</ds:X509Data>
|
63
|
+
</ds:KeyInfo>
|
64
|
+
<ds:Object>
|
65
|
+
<xades:QualifyingProperties
|
66
|
+
xmlns:xades="http://uri.etsi.org/01903/v1.3.2#"
|
67
|
+
Target="signature">
|
68
|
+
<xades:SignedProperties Id="xadesSignedProperties">
|
69
|
+
<xades:SignedSignatureProperties>
|
70
|
+
<xades:SigningTime>2022-09-07T16:45:32Z</xades:SigningTime>
|
71
|
+
<xades:SigningCertificate>
|
72
|
+
<xades:Cert>
|
73
|
+
<xades:CertDigest>
|
74
|
+
<ds:DigestMethod
|
75
|
+
Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" />
|
76
|
+
<ds:DigestValue>
|
77
|
+
YTZkMTgzYzA2ODk1ZjA2MGVmNDhlY2NjMjk1MGEyZGU2MDNiN2I4NmI3NDE4MjhlOWViNTNmN2UyYWUzN2Q1Yg==</ds:DigestValue>
|
78
|
+
</xades:CertDigest>
|
79
|
+
<xades:IssuerSerial>
|
80
|
+
<ds:X509IssuerName>CN=TSZEINVOICE-SubCA-1,
|
81
|
+
DC=extgazt, DC=gov, DC=local</ds:X509IssuerName>
|
82
|
+
<ds:X509SerialNumber>
|
83
|
+
2475382886600654511117350527203402194494717840</ds:X509SerialNumber>
|
84
|
+
</xades:IssuerSerial>
|
85
|
+
</xades:Cert>
|
86
|
+
</xades:SigningCertificate>
|
87
|
+
</xades:SignedSignatureProperties>
|
88
|
+
</xades:SignedProperties>
|
89
|
+
</xades:QualifyingProperties>
|
90
|
+
</ds:Object>
|
91
|
+
</ds:Signature>
|
92
|
+
</sac:SignatureInformation>
|
93
|
+
</sig:UBLDocumentSignatures>
|
94
|
+
</ext:ExtensionContent>
|
95
|
+
</ext:UBLExtension>
|
96
|
+
</ext:UBLExtensions>
|
97
|
+
|
98
|
+
<cbc:ProfileID>reporting:1.0</cbc:ProfileID>
|
99
|
+
<cbc:ID>123456</cbc:ID>
|
100
|
+
<cbc:UUID>a79760f7-2f48-4da9-85a5-40459a147c80</cbc:UUID>
|
101
|
+
<cbc:IssueDate>2023-03-07</cbc:IssueDate>
|
102
|
+
<cbc:IssueTime>15:23:55</cbc:IssueTime>
|
103
|
+
<cbc:InvoiceTypeCode name="0100000">388</cbc:InvoiceTypeCode>
|
104
|
+
<cbc:DocumentCurrencyCode>SAR</cbc:DocumentCurrencyCode>
|
105
|
+
<cbc:TaxCurrencyCode>SAR</cbc:TaxCurrencyCode>
|
106
|
+
<cac:AdditionalDocumentReference>
|
107
|
+
<cbc:ID>ICV</cbc:ID>
|
108
|
+
<cbc:UUID>23</cbc:UUID>
|
109
|
+
</cac:AdditionalDocumentReference>
|
110
|
+
<cac:AdditionalDocumentReference>
|
111
|
+
<cbc:ID>PIH</cbc:ID>
|
112
|
+
<cac:Attachment>
|
113
|
+
<cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">NWZlY2ViNjZmZmM4NmYzOGQ5NTI3ODZjNmQ2OTZjNzljMmRiYzIzOWRkNGU5MWI0NjcyOWQ3M2EyN2ZiNTdlOQ==</cbc:EmbeddedDocumentBinaryObject>
|
114
|
+
</cac:Attachment>
|
115
|
+
</cac:AdditionalDocumentReference>
|
116
|
+
|
117
|
+
|
118
|
+
<cac:AdditionalDocumentReference>
|
119
|
+
<cbc:ID>QR</cbc:ID>
|
120
|
+
<cac:Attachment>
|
121
|
+
<cbc:EmbeddedDocumentBinaryObject mimeCode="text/plain">
|
122
|
+
AQ9Db21wYW55VGVtcE5hbWUCDzMwMDAwMDAwMDAwMDAwMwMUMjAyMi0wOS0wN1QxMjoyMToyOFoEBDQuNjAFAzAuNgYsUm9wZ04zTWJqSk5HemZ6bzN6alJ5YjlDT2FtdzBFYzFUbE4ra2FtTHlQRT0HYE1FVUNJUUN6ZnlUZTlDejBLVTdFOEQzN1U3R0tLaDZHeG1YeWY5MEhiQmRRWFZJWGlRSWdFQWRhWHdlMTEyb2dhQWE1S0gvek9ndlFKRjJKU1gydnVGZ3J4cU1ZSmU0PQhYMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEYYMMoOaFYAhMO/steotfZyavr6p11SSlwsK9azmsLY7b1b+FLhqMArhB2dqHKboxqKNfvkKDePhpqjui5hcn0Q==</cbc:EmbeddedDocumentBinaryObject>
|
123
|
+
</cac:Attachment>
|
124
|
+
</cac:AdditionalDocumentReference>
|
125
|
+
<cac:Signature>
|
126
|
+
<cbc:ID>urn:oasis:names:specification:ubl:signature:Invoice</cbc:ID>
|
127
|
+
<cbc:SignatureMethod>urn:oasis:names:specification:ubl:dsig:enveloped:xades</cbc:SignatureMethod>
|
128
|
+
</cac:Signature>
|
129
|
+
<cac:AccountingSupplierParty>
|
130
|
+
<cac:Party>
|
131
|
+
<cac:PartyIdentification>
|
132
|
+
<cbc:ID schemeID="CRN">1010010000</cbc:ID>
|
133
|
+
</cac:PartyIdentification>
|
134
|
+
<cac:PostalAddress>
|
135
|
+
<cbc:StreetName>الامير سلطان | Prince Sultan</cbc:StreetName>
|
136
|
+
<cbc:BuildingNumber>2322</cbc:BuildingNumber>
|
137
|
+
<cbc:CitySubdivisionName>المربع | Al-Murabba</cbc:CitySubdivisionName>
|
138
|
+
<cbc:CityName>الرياض | Riyadh</cbc:CityName>
|
139
|
+
<cbc:PostalZone>23333</cbc:PostalZone>
|
140
|
+
<cac:Country>
|
141
|
+
<cbc:IdentificationCode>SA</cbc:IdentificationCode>
|
142
|
+
</cac:Country>
|
143
|
+
</cac:PostalAddress>
|
144
|
+
<cac:PartyTaxScheme>
|
145
|
+
<cbc:CompanyID>399999999900003</cbc:CompanyID>
|
146
|
+
<cac:TaxScheme>
|
147
|
+
<cbc:ID>VAT</cbc:ID>
|
148
|
+
</cac:TaxScheme>
|
149
|
+
</cac:PartyTaxScheme>
|
150
|
+
<cac:PartyLegalEntity>
|
151
|
+
<cbc:RegistrationName>شركة توريد التكنولوجيا بأقصى سرعة المحدودة | Maximum Speed
|
152
|
+
Tech Supply LTD</cbc:RegistrationName>
|
153
|
+
</cac:PartyLegalEntity>
|
154
|
+
</cac:Party>
|
155
|
+
</cac:AccountingSupplierParty>
|
156
|
+
|
157
|
+
<cac:AccountingCustomerParty>
|
158
|
+
<cac:Party>
|
159
|
+
<cac:PostalAddress>
|
160
|
+
<cbc:StreetName>صلاح الدين | Salah Al-Din</cbc:StreetName>
|
161
|
+
<cbc:BuildingNumber>1111</cbc:BuildingNumber>
|
162
|
+
<cbc:CitySubdivisionName>المروج | Al-Murooj</cbc:CitySubdivisionName>
|
163
|
+
<cbc:CityName>الرياض | Riyadh</cbc:CityName>
|
164
|
+
<cbc:PostalZone>12222</cbc:PostalZone>
|
165
|
+
<cac:Country>
|
166
|
+
<cbc:IdentificationCode>SA</cbc:IdentificationCode>
|
167
|
+
</cac:Country>
|
168
|
+
</cac:PostalAddress>
|
169
|
+
<cac:PartyTaxScheme>
|
170
|
+
<cbc:CompanyID>399999999800003</cbc:CompanyID>
|
171
|
+
<cac:TaxScheme>
|
172
|
+
<cbc:ID>VAT</cbc:ID>
|
173
|
+
</cac:TaxScheme>
|
174
|
+
</cac:PartyTaxScheme>
|
175
|
+
<cac:PartyLegalEntity>
|
176
|
+
<cbc:RegistrationName>شركة نماذج فاتورة المحدودة | Fatoora Samples LTD</cbc:RegistrationName>
|
177
|
+
</cac:PartyLegalEntity>
|
178
|
+
</cac:Party>
|
179
|
+
</cac:AccountingCustomerParty>
|
180
|
+
<cac:Delivery>
|
181
|
+
<cbc:ActualDeliveryDate>2023-03-07</cbc:ActualDeliveryDate>
|
182
|
+
</cac:Delivery>
|
183
|
+
<cac:PaymentMeans>
|
184
|
+
<cbc:PaymentMeansCode>10</cbc:PaymentMeansCode>
|
185
|
+
</cac:PaymentMeans>
|
186
|
+
<cac:AllowanceCharge>
|
187
|
+
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
|
188
|
+
<cbc:Amount currencyID="SAR">100.00</cbc:Amount>
|
189
|
+
<cac:TaxCategory>
|
190
|
+
<cbc:ID>S</cbc:ID>
|
191
|
+
<cbc:Percent>15</cbc:Percent>
|
192
|
+
<cac:TaxScheme>
|
193
|
+
<cbc:ID>VAT</cbc:ID>
|
194
|
+
</cac:TaxScheme>
|
195
|
+
</cac:TaxCategory>
|
196
|
+
</cac:AllowanceCharge>
|
197
|
+
|
198
|
+
<cac:AllowanceCharge>
|
199
|
+
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
|
200
|
+
<cbc:AllowanceChargeReasonCode>DL</cbc:AllowanceChargeReasonCode>
|
201
|
+
<cbc:AllowanceChargeReason>Delivery</cbc:AllowanceChargeReason>
|
202
|
+
<cbc:Amount currencyID="SAR">200.00</cbc:Amount>
|
203
|
+
<cac:TaxCategory>
|
204
|
+
<cbc:ID>S</cbc:ID>
|
205
|
+
<cbc:Percent>15</cbc:Percent>
|
206
|
+
<cac:TaxScheme>
|
207
|
+
<cbc:ID>VAT</cbc:ID>
|
208
|
+
</cac:TaxScheme>
|
209
|
+
</cac:TaxCategory>
|
210
|
+
</cac:AllowanceCharge>
|
211
|
+
|
212
|
+
<cac:TaxTotal>
|
213
|
+
<cbc:TaxAmount currencyID="SAR">345.00</cbc:TaxAmount>
|
214
|
+
</cac:TaxTotal>
|
215
|
+
<cac:TaxTotal>
|
216
|
+
<cbc:TaxAmount currencyID="SAR">345.00</cbc:TaxAmount>
|
217
|
+
<cac:TaxSubtotal>
|
218
|
+
<cbc:TaxableAmount currencyID="SAR">2300</cbc:TaxableAmount>
|
219
|
+
<cbc:TaxAmount currencyID="SAR">345.00</cbc:TaxAmount>
|
220
|
+
<cac:TaxCategory>
|
221
|
+
<cbc:ID>S</cbc:ID>
|
222
|
+
<cbc:Percent>15.00</cbc:Percent>
|
223
|
+
<cac:TaxScheme>
|
224
|
+
<cbc:ID>VAT</cbc:ID>
|
225
|
+
</cac:TaxScheme>
|
226
|
+
</cac:TaxCategory>
|
227
|
+
</cac:TaxSubtotal>
|
228
|
+
<cac:TaxSubtotal>
|
229
|
+
<cbc:TaxableAmount currencyID="SAR">0.00</cbc:TaxableAmount>
|
230
|
+
<cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
|
231
|
+
<cac:TaxCategory>
|
232
|
+
<cbc:ID>E</cbc:ID>
|
233
|
+
<cbc:Percent>0.00</cbc:Percent>
|
234
|
+
<cbc:TaxExemptionReasonCode>VATEX-SA-29</cbc:TaxExemptionReasonCode>
|
235
|
+
<cbc:TaxExemptionReason>Financial services mentioned in Article 29 of the VAT Regulations</cbc:TaxExemptionReason>
|
236
|
+
<cac:TaxScheme>
|
237
|
+
<cbc:ID>VAT</cbc:ID>
|
238
|
+
</cac:TaxScheme>
|
239
|
+
</cac:TaxCategory>
|
240
|
+
</cac:TaxSubtotal>
|
241
|
+
</cac:TaxTotal>
|
242
|
+
<cac:LegalMonetaryTotal>
|
243
|
+
<cbc:LineExtensionAmount currencyID="SAR">2200.00</cbc:LineExtensionAmount>
|
244
|
+
<cbc:TaxExclusiveAmount currencyID="SAR">2300.00</cbc:TaxExclusiveAmount>
|
245
|
+
<cbc:TaxInclusiveAmount currencyID="SAR">2645.00</cbc:TaxInclusiveAmount>
|
246
|
+
<cbc:AllowanceTotalAmount currencyID="SAR">100.00</cbc:AllowanceTotalAmount>
|
247
|
+
<cbc:ChargeTotalAmount currencyID="SAR">200.00</cbc:ChargeTotalAmount>
|
248
|
+
<cbc:PrepaidAmount currencyID="SAR">2580.00</cbc:PrepaidAmount>
|
249
|
+
<cbc:PayableAmount currencyID="SAR">65.00</cbc:PayableAmount>
|
250
|
+
</cac:LegalMonetaryTotal>
|
251
|
+
<cac:InvoiceLine>
|
252
|
+
<cbc:ID>1</cbc:ID>
|
253
|
+
<cbc:InvoicedQuantity unitCode="PCE">1.000000</cbc:InvoicedQuantity>
|
254
|
+
<cbc:LineExtensionAmount currencyID="SAR">2200.00</cbc:LineExtensionAmount>
|
255
|
+
<cac:AllowanceCharge>
|
256
|
+
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
|
257
|
+
<cbc:AllowanceChargeReasonCode>AAH</cbc:AllowanceChargeReasonCode>
|
258
|
+
<cbc:AllowanceChargeReason>Additional processing</cbc:AllowanceChargeReason>
|
259
|
+
<cbc:MultiplierFactorNumeric>15</cbc:MultiplierFactorNumeric>
|
260
|
+
<cbc:Amount currencyID="SAR">300</cbc:Amount>
|
261
|
+
<cbc:BaseAmount currencyID="SAR">2000.00</cbc:BaseAmount>
|
262
|
+
</cac:AllowanceCharge>
|
263
|
+
<cac:AllowanceCharge>
|
264
|
+
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
|
265
|
+
<cbc:MultiplierFactorNumeric>5</cbc:MultiplierFactorNumeric>
|
266
|
+
<cbc:Amount currencyID="SAR">100</cbc:Amount>
|
267
|
+
<cbc:BaseAmount currencyID="SAR">2000.00</cbc:BaseAmount>
|
268
|
+
</cac:AllowanceCharge>
|
269
|
+
<cac:TaxTotal>
|
270
|
+
<cbc:TaxAmount currencyID="SAR">330.00</cbc:TaxAmount>
|
271
|
+
<cbc:RoundingAmount currencyID="SAR">2530.00</cbc:RoundingAmount>
|
272
|
+
</cac:TaxTotal>
|
273
|
+
<cac:Item>
|
274
|
+
<cbc:Name>حاسوب محمول|Laptop</cbc:Name>
|
275
|
+
<cac:ClassifiedTaxCategory>
|
276
|
+
<cbc:ID>S</cbc:ID>
|
277
|
+
<cbc:Percent>15.00</cbc:Percent>
|
278
|
+
<cac:TaxScheme>
|
279
|
+
<cbc:ID>VAT</cbc:ID>
|
280
|
+
</cac:TaxScheme>
|
281
|
+
</cac:ClassifiedTaxCategory>
|
282
|
+
</cac:Item>
|
283
|
+
<cac:Price>
|
284
|
+
<cbc:PriceAmount currencyID="SAR">2000.00</cbc:PriceAmount>
|
285
|
+
</cac:Price>
|
286
|
+
</cac:InvoiceLine>
|
287
|
+
|
288
|
+
<cac:InvoiceLine>
|
289
|
+
<cbc:ID>2</cbc:ID>
|
290
|
+
<cbc:InvoicedQuantity unitCode="PCE">0.000000</cbc:InvoicedQuantity>
|
291
|
+
<cbc:LineExtensionAmount currencyID="SAR">0.00</cbc:LineExtensionAmount>
|
292
|
+
|
293
|
+
<cac:DocumentReference>
|
294
|
+
<cbc:ID>46531</cbc:ID>
|
295
|
+
<cbc:UUID>a79760f7-2f48-4da9-85a5-40459a147c80</cbc:UUID>
|
296
|
+
<cbc:IssueDate>2022-08-15</cbc:IssueDate>
|
297
|
+
<cbc:IssueTime>12:28:17</cbc:IssueTime>
|
298
|
+
<cbc:DocumentTypeCode>386</cbc:DocumentTypeCode>
|
299
|
+
<cbc:DocumentType> </cbc:DocumentType>
|
300
|
+
</cac:DocumentReference>
|
301
|
+
|
302
|
+
<cac:TaxTotal>
|
303
|
+
<cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
|
304
|
+
<cbc:RoundingAmount currencyID="SAR">0.00</cbc:RoundingAmount>
|
305
|
+
|
306
|
+
<cac:TaxSubtotal>
|
307
|
+
<cbc:TaxableAmount currencyID="SAR">1200.00</cbc:TaxableAmount>
|
308
|
+
<cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
|
309
|
+
<cac:TaxCategory>
|
310
|
+
<cbc:ID>E</cbc:ID>
|
311
|
+
<cbc:Percent>0.00</cbc:Percent>
|
312
|
+
<cbc:TaxExemptionReasonCode>VATEX-SA-29</cbc:TaxExemptionReasonCode>
|
313
|
+
<cbc:TaxExemptionReason>Financial services mentioned in Article 29 of the VAT Regulations</cbc:TaxExemptionReason>
|
314
|
+
<cac:TaxScheme>
|
315
|
+
<cbc:ID>VAT</cbc:ID>
|
316
|
+
</cac:TaxScheme>
|
317
|
+
</cac:TaxCategory>
|
318
|
+
</cac:TaxSubtotal>
|
319
|
+
|
320
|
+
</cac:TaxTotal>
|
321
|
+
<cac:Item>
|
322
|
+
<cbc:Name>Prepayment adjustment</cbc:Name>
|
323
|
+
<cac:ClassifiedTaxCategory>
|
324
|
+
<cbc:ID>E</cbc:ID>
|
325
|
+
<cbc:Percent>0.00</cbc:Percent>
|
326
|
+
<cac:TaxScheme>
|
327
|
+
<cbc:ID>VAT</cbc:ID>
|
328
|
+
</cac:TaxScheme>
|
329
|
+
</cac:ClassifiedTaxCategory>
|
330
|
+
</cac:Item>
|
331
|
+
<cac:Price>
|
332
|
+
<cbc:PriceAmount currencyID="SAR">0.00</cbc:PriceAmount>
|
333
|
+
</cac:Price>
|
334
|
+
</cac:InvoiceLine>
|
335
|
+
|
336
|
+
<cac:InvoiceLine>
|
337
|
+
<cbc:ID>3</cbc:ID>
|
338
|
+
<cbc:InvoicedQuantity unitCode="PCE">0.00</cbc:InvoicedQuantity>
|
339
|
+
<cbc:LineExtensionAmount currencyID="SAR">0.00</cbc:LineExtensionAmount>
|
340
|
+
|
341
|
+
<cac:DocumentReference>
|
342
|
+
<cbc:ID>465334341</cbc:ID>
|
343
|
+
<cbc:UUID>a79740f7-2f48-4da9-85a5-40459a147c80</cbc:UUID>
|
344
|
+
<cbc:IssueDate>2022-10-31</cbc:IssueDate>
|
345
|
+
<cbc:IssueTime>12:29:17</cbc:IssueTime>
|
346
|
+
<cbc:DocumentTypeCode>386</cbc:DocumentTypeCode>
|
347
|
+
</cac:DocumentReference>
|
348
|
+
<cac:DocumentReference>
|
349
|
+
<cbc:ID>465334sd1</cbc:ID>
|
350
|
+
<cbc:UUID>a79730f7-2f48-4da9-85a5-40459a147c80</cbc:UUID>
|
351
|
+
<cbc:IssueDate>2022-10-31</cbc:IssueDate>
|
352
|
+
<cbc:IssueTime>12:22:17</cbc:IssueTime>
|
353
|
+
<cbc:DocumentTypeCode>386</cbc:DocumentTypeCode>
|
354
|
+
</cac:DocumentReference>
|
355
|
+
|
356
|
+
<cac:TaxTotal>
|
357
|
+
<cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
|
358
|
+
<cbc:RoundingAmount currencyID="SAR">0.00</cbc:RoundingAmount>
|
359
|
+
|
360
|
+
<cac:TaxSubtotal>
|
361
|
+
<cbc:TaxableAmount currencyID="SAR">700.00</cbc:TaxableAmount>
|
362
|
+
<cbc:TaxAmount currencyID="SAR">105.00</cbc:TaxAmount>
|
363
|
+
<cac:TaxCategory>
|
364
|
+
<cbc:ID>S</cbc:ID>
|
365
|
+
<cbc:Percent>15.00</cbc:Percent>
|
366
|
+
<cac:TaxScheme>
|
367
|
+
<cbc:ID>VAT</cbc:ID>
|
368
|
+
</cac:TaxScheme>
|
369
|
+
</cac:TaxCategory>
|
370
|
+
</cac:TaxSubtotal>
|
371
|
+
|
372
|
+
</cac:TaxTotal>
|
373
|
+
<cac:Item>
|
374
|
+
<cbc:Name>Prepayment adjustment</cbc:Name>
|
375
|
+
<cac:ClassifiedTaxCategory>
|
376
|
+
<cbc:ID>S</cbc:ID>
|
377
|
+
<cbc:Percent>15.00</cbc:Percent>
|
378
|
+
<cac:TaxScheme>
|
379
|
+
<cbc:ID>VAT</cbc:ID>
|
380
|
+
</cac:TaxScheme>
|
381
|
+
</cac:ClassifiedTaxCategory>
|
382
|
+
</cac:Item>
|
383
|
+
<cac:Price>
|
384
|
+
<cbc:PriceAmount currencyID="SAR">0.00</cbc:PriceAmount>
|
385
|
+
</cac:Price>
|
386
|
+
</cac:InvoiceLine>
|
387
|
+
|
388
|
+
<cac:InvoiceLine>
|
389
|
+
<cbc:ID>4</cbc:ID>
|
390
|
+
<cbc:InvoicedQuantity unitCode="PCE">0.00</cbc:InvoicedQuantity>
|
391
|
+
<cbc:LineExtensionAmount currencyID="SAR">0.00</cbc:LineExtensionAmount>
|
392
|
+
|
393
|
+
<cac:DocumentReference>
|
394
|
+
<cbc:ID>4334341</cbc:ID>
|
395
|
+
<cbc:UUID>a29740f7-2f48-4da9-85a5-40459a147c80</cbc:UUID>
|
396
|
+
<cbc:IssueDate>2023-01-15</cbc:IssueDate>
|
397
|
+
<cbc:IssueTime>12:29:18</cbc:IssueTime>
|
398
|
+
<cbc:DocumentTypeCode>386</cbc:DocumentTypeCode>
|
399
|
+
</cac:DocumentReference>
|
400
|
+
|
401
|
+
<cac:TaxTotal>
|
402
|
+
<cbc:TaxAmount currencyID="SAR">0.00</cbc:TaxAmount>
|
403
|
+
<cbc:RoundingAmount currencyID="SAR">0.00</cbc:RoundingAmount>
|
404
|
+
|
405
|
+
<cac:TaxSubtotal>
|
406
|
+
<cbc:TaxableAmount currencyID="SAR">500.00</cbc:TaxableAmount>
|
407
|
+
<cbc:TaxAmount currencyID="SAR">75.00</cbc:TaxAmount>
|
408
|
+
<cac:TaxCategory>
|
409
|
+
<cbc:ID>S</cbc:ID>
|
410
|
+
<cbc:Percent>15.00</cbc:Percent>
|
411
|
+
<cac:TaxScheme>
|
412
|
+
<cbc:ID>VAT</cbc:ID>
|
413
|
+
</cac:TaxScheme>
|
414
|
+
</cac:TaxCategory>
|
415
|
+
</cac:TaxSubtotal>
|
416
|
+
|
417
|
+
</cac:TaxTotal>
|
418
|
+
<cac:Item>
|
419
|
+
<cbc:Name>Prepayment adjustment</cbc:Name>
|
420
|
+
<cac:ClassifiedTaxCategory>
|
421
|
+
<cbc:ID>S</cbc:ID>
|
422
|
+
<cbc:Percent>15.00</cbc:Percent>
|
423
|
+
<cac:TaxScheme>
|
424
|
+
<cbc:ID>VAT</cbc:ID>
|
425
|
+
</cac:TaxScheme>
|
426
|
+
</cac:ClassifiedTaxCategory>
|
427
|
+
</cac:Item>
|
428
|
+
<cac:Price>
|
429
|
+
<cbc:PriceAmount currencyID="SAR">0.00</cbc:PriceAmount>
|
430
|
+
</cac:Price>
|
431
|
+
</cac:InvoiceLine>
|
432
|
+
</Invoice>
|