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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zatca
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Omar Bahareth
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: zeitwerk
|
@@ -28,14 +28,14 @@ dependencies:
|
|
28
28
|
name: dry-schema
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.5'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.5'
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -52,6 +52,76 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 2.1.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: httpx
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.21.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.21.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: nokogiri
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.12'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.12'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: activesupport
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '5.2'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '5.2'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: dry-initializer
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '3.0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '3.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: starkbank-ecdsa
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '2.0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '2.0'
|
55
125
|
- !ruby/object:Gem::Dependency
|
56
126
|
name: standard
|
57
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +164,48 @@ dependencies:
|
|
94
164
|
- - "~>"
|
95
165
|
- !ruby/object:Gem::Version
|
96
166
|
version: '3.10'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: vcr
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 6.0.0
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 6.0.0
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: webmock
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 3.18.1
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 3.18.1
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: amazing_print
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 1.4.0
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 1.4.0
|
97
209
|
description: A library for generating QR Codes for the e-invoice standard by ZATCA
|
98
210
|
in Saudi Arabia.
|
99
211
|
email:
|
@@ -104,18 +216,214 @@ extra_rdoc_files: []
|
|
104
216
|
files:
|
105
217
|
- ".rspec"
|
106
218
|
- Gemfile
|
107
|
-
- Gemfile.lock
|
108
219
|
- LICENSE
|
109
220
|
- README.md
|
110
221
|
- Rakefile
|
111
222
|
- bin/console
|
112
223
|
- bin/setup
|
224
|
+
- einvoicing-sdk/Apps/fatoora
|
225
|
+
- einvoicing-sdk/Apps/fatoora.bat
|
226
|
+
- einvoicing-sdk/Apps/global.json
|
227
|
+
- einvoicing-sdk/Apps/jq.exe
|
228
|
+
- einvoicing-sdk/Apps/zatca-einvoicing-sdk-238-R3.2.7.jar
|
229
|
+
- einvoicing-sdk/Configuration/config.json
|
230
|
+
- einvoicing-sdk/Configuration/defaults.json
|
231
|
+
- einvoicing-sdk/Configuration/jq.exe
|
232
|
+
- einvoicing-sdk/Configuration/usage.txt
|
233
|
+
- einvoicing-sdk/Data/Certificates/cert.pem
|
234
|
+
- einvoicing-sdk/Data/Certificates/ec-secp256k1-priv-key.pem
|
235
|
+
- einvoicing-sdk/Data/Input/csr-config-example-AR-VAT-Group.properties
|
236
|
+
- einvoicing-sdk/Data/Input/csr-config-example-AR.properties
|
237
|
+
- einvoicing-sdk/Data/Input/csr-config-example-EN-VAT-group.properties
|
238
|
+
- einvoicing-sdk/Data/Input/csr-config-example-EN.properties
|
239
|
+
- einvoicing-sdk/Data/Input/csr-config-template.properties
|
240
|
+
- einvoicing-sdk/Data/PIH/pih.txt
|
241
|
+
- einvoicing-sdk/Data/Rules/schematrons/20210819_ZATCA_E-invoice_Validation_Rules.xsl
|
242
|
+
- einvoicing-sdk/Data/Rules/schematrons/CEN-EN16931-UBL.xsl
|
243
|
+
- einvoicing-sdk/Data/Samples/PDF-A3/Simplified Debit Note.pdf
|
244
|
+
- einvoicing-sdk/Data/Samples/PDF-A3/Standard Credit Note.pdf
|
245
|
+
- einvoicing-sdk/Data/Samples/PDF-A3/Standard Debit Note.pdf
|
246
|
+
- einvoicing-sdk/Data/Samples/PDF-A3/Standard Invoice.pdf
|
247
|
+
- einvoicing-sdk/Data/Samples/PDF-A3/Tax_Invoice_USD.pdf
|
248
|
+
- einvoicing-sdk/Data/Samples/Simplified/Credit/Simplified_Credit_Note.xml
|
249
|
+
- einvoicing-sdk/Data/Samples/Simplified/Credit/Simplified_Credit_Note_Error.xml
|
250
|
+
- einvoicing-sdk/Data/Samples/Simplified/Debit/Simplified_Debit_Note.xml
|
251
|
+
- einvoicing-sdk/Data/Samples/Simplified/Debit/Simplified_Debit_Note_Error.xml
|
252
|
+
- einvoicing-sdk/Data/Samples/Simplified/Invoice/Additional_Simplified_Invoices/Out_Of_Scope_Simplified_Invoice.xml
|
253
|
+
- einvoicing-sdk/Data/Samples/Simplified/Invoice/Additional_Simplified_Invoices/Simplified_Invoice_USD.xml
|
254
|
+
- einvoicing-sdk/Data/Samples/Simplified/Invoice/Simplified_Invoice.xml
|
255
|
+
- einvoicing-sdk/Data/Samples/Simplified/Invoice/Simplified_Invoice_Error.xml
|
256
|
+
- einvoicing-sdk/Data/Samples/Standard/Credit/Standard_Credit_Note.xml
|
257
|
+
- einvoicing-sdk/Data/Samples/Standard/Credit/Standard_Credit_Note_Error.xml
|
258
|
+
- einvoicing-sdk/Data/Samples/Standard/Debit/Standard_Debit_Note.xml
|
259
|
+
- einvoicing-sdk/Data/Samples/Standard/Debit/Standard_Debit_Note_Error.xml
|
260
|
+
- einvoicing-sdk/Data/Samples/Standard/Invoice/Additional_Standard_Invoices/Exempt_Standard_Invoice.xml
|
261
|
+
- einvoicing-sdk/Data/Samples/Standard/Invoice/Additional_Standard_Invoices/Standard_Invoice_USD.xml
|
262
|
+
- einvoicing-sdk/Data/Samples/Standard/Invoice/Additional_Standard_Invoices/Zero_Rate_Standard_Invoice.xml
|
263
|
+
- einvoicing-sdk/Data/Samples/Standard/Invoice/Sample Invoice[Advance Payements] -
|
264
|
+
1.xml
|
265
|
+
- einvoicing-sdk/Data/Samples/Standard/Invoice/Sample Invoice[Advance Payements] -
|
266
|
+
2.xml
|
267
|
+
- einvoicing-sdk/Data/Samples/Standard/Invoice/Standard_Invoice.xml
|
268
|
+
- einvoicing-sdk/Data/Samples/Standard/Invoice/Standard_Invoice_Error.xml
|
269
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/CCTS_CCT_SchemaModule-2.1.xsd
|
270
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CommonAggregateComponents-2.1.xsd
|
271
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CommonBasicComponents-2.1.xsd
|
272
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CommonExtensionComponents-2.1.xsd
|
273
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CommonSignatureComponents-2.1.xsd
|
274
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-CoreComponentParameters-2.1.xsd
|
275
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-ExtensionContentDataType-2.1.xsd
|
276
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-QualifiedDataTypes-2.1.xsd
|
277
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-SignatureAggregateComponents-2.1.xsd
|
278
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-SignatureBasicComponents-2.1.xsd
|
279
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-UnqualifiedDataTypes-2.1.xsd
|
280
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-XAdESv132-2.1.xsd
|
281
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-XAdESv141-2.1.xsd
|
282
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/common/UBL-xmldsig-core-schema-2.1.xsd
|
283
|
+
- einvoicing-sdk/Data/Schemas/xsds/UBL2.1/xsd/maindoc/UBL-Invoice-2.1.xsd
|
284
|
+
- einvoicing-sdk/Dockerfile
|
285
|
+
- einvoicing-sdk/LICENSE.txt
|
286
|
+
- einvoicing-sdk/Lib/.Net/DLL/BouncyCastle.Crypto.dll
|
287
|
+
- einvoicing-sdk/Lib/.Net/DLL/IKVM.OpenJDK.Core.dll
|
288
|
+
- einvoicing-sdk/Lib/.Net/DLL/IKVM.OpenJDK.Text.dll
|
289
|
+
- einvoicing-sdk/Lib/.Net/DLL/IKVM.OpenJDK.Util.dll
|
290
|
+
- einvoicing-sdk/Lib/.Net/DLL/IKVM.OpenJDK.XML.API.dll
|
291
|
+
- einvoicing-sdk/Lib/.Net/DLL/IKVM.Runtime.dll
|
292
|
+
- einvoicing-sdk/Lib/.Net/DLL/SDKNETFrameWorkLib.dll
|
293
|
+
- einvoicing-sdk/Lib/.Net/DLL/SDKNETFrameWorkLib.dll.config
|
294
|
+
- einvoicing-sdk/Lib/.Net/DLL/SDKNETFrameWorkLib.pdb
|
295
|
+
- einvoicing-sdk/Lib/.Net/DLL/System.Net.Http.dll
|
296
|
+
- einvoicing-sdk/Lib/.Net/DLL/saxon-he-10.8.dll
|
297
|
+
- einvoicing-sdk/Lib/.Net/DLL/saxon-he-api-10.8.dll
|
298
|
+
- einvoicing-sdk/Lib/.Net/DLL/saxon-he-api-10.8.xml
|
299
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/.vs/SDKNETFrameworkTest/FileContentIndex/3f204b7a-faba-42d8-8288-8b6fe516555c.vsidx
|
300
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/.vs/SDKNETFrameworkTest/FileContentIndex/f95b6f91-c110-4b7a-bb49-3fc6bde85b13.vsidx
|
301
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/.vs/SDKNETFrameworkTest/FileContentIndex/read.lock
|
302
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/.vs/SDKNETFrameworkTest/v17/.suo
|
303
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/App.config
|
304
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/BouncyCastle.Crypto.dll
|
305
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/CSRGeneratorOpenSSL.cs
|
306
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.OpenJDK.Core.dll
|
307
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.OpenJDK.Text.dll
|
308
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.OpenJDK.Util.dll
|
309
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.OpenJDK.XML.API.dll
|
310
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/IKVM.Runtime.dll
|
311
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/Program.cs
|
312
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/Properties/AssemblyInfo.cs
|
313
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/Readme.txt
|
314
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameWorkLib.dll
|
315
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameWorkLib.dll.config
|
316
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameWorkLib.pdb
|
317
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.csproj
|
318
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.exe
|
319
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.exe.config
|
320
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.pdb
|
321
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/SDKNETFrameworkTest.sln
|
322
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/BouncyCastle.Crypto.dll
|
323
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/Data/certificate.txt
|
324
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/Data/pih.txt
|
325
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/Data/privateKey.txt
|
326
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.OpenJDK.Core.dll
|
327
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.OpenJDK.Text.dll
|
328
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.OpenJDK.Util.dll
|
329
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.OpenJDK.XML.API.dll
|
330
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/IKVM.Runtime.dll
|
331
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameWorkLib.dll
|
332
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameWorkLib.dll.config
|
333
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameWorkLib.pdb
|
334
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameworkTest.exe
|
335
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameworkTest.exe.config
|
336
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/SDKNETFrameworkTest.pdb
|
337
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/System.Net.Http.dll
|
338
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/saxon-he-10.8.dll
|
339
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/saxon-he-api-10.8.dll
|
340
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/bin/Debug/saxon-he-api-10.8.xml
|
341
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
|
342
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache
|
343
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
|
344
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.AssemblyReference.cache
|
345
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.CopyComplete
|
346
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.CoreCompileInputs.cache
|
347
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.FileListAbsolute.txt
|
348
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.csproj.SuggestedBindingRedirects.cache
|
349
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.exe
|
350
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/obj/Debug/SDKNETFrameworkTest.pdb
|
351
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/saxon-he-10.8.dll
|
352
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/saxon-he-api-10.8.dll
|
353
|
+
- einvoicing-sdk/Lib/.Net/SDKNETFrameworkTest/saxon-he-api-10.8.xml
|
354
|
+
- einvoicing-sdk/Lib/.Net/Test/BouncyCastle.Crypto.dll
|
355
|
+
- einvoicing-sdk/Lib/.Net/Test/IKVM.OpenJDK.Core.dll
|
356
|
+
- einvoicing-sdk/Lib/.Net/Test/IKVM.OpenJDK.Text.dll
|
357
|
+
- einvoicing-sdk/Lib/.Net/Test/IKVM.OpenJDK.Util.dll
|
358
|
+
- einvoicing-sdk/Lib/.Net/Test/IKVM.OpenJDK.XML.API.dll
|
359
|
+
- einvoicing-sdk/Lib/.Net/Test/IKVM.Runtime.dll
|
360
|
+
- einvoicing-sdk/Lib/.Net/Test/SDKNETFrameWorkLib.dll
|
361
|
+
- einvoicing-sdk/Lib/.Net/Test/SDKNETFrameWorkLib.dll.config
|
362
|
+
- einvoicing-sdk/Lib/.Net/Test/SDKNETFrameWorkLib.pdb
|
363
|
+
- einvoicing-sdk/Lib/.Net/Test/SDKNETFrameworkTest.exe
|
364
|
+
- einvoicing-sdk/Lib/.Net/Test/SDKNETFrameworkTest.exe.config
|
365
|
+
- einvoicing-sdk/Lib/.Net/Test/SDKNETFrameworkTest.pdb
|
366
|
+
- einvoicing-sdk/Lib/.Net/Test/saxon-he-10.8.dll
|
367
|
+
- einvoicing-sdk/Lib/.Net/Test/saxon-he-api-10.8.dll
|
368
|
+
- einvoicing-sdk/Lib/.Net/Test/saxon-he-api-10.8.xml
|
369
|
+
- einvoicing-sdk/README.md
|
370
|
+
- einvoicing-sdk/Readme/readme.docx
|
371
|
+
- einvoicing-sdk/Readme/readme.md
|
372
|
+
- einvoicing-sdk/Readme/readme.pdf
|
373
|
+
- einvoicing-sdk/Readme/~$readme.docx
|
374
|
+
- einvoicing-sdk/docker-compose.yml
|
375
|
+
- einvoicing-sdk/install.bat
|
376
|
+
- einvoicing-sdk/install.sh
|
113
377
|
- lib/zatca.rb
|
378
|
+
- lib/zatca/client.rb
|
379
|
+
- lib/zatca/hacks.rb
|
380
|
+
- lib/zatca/hashing.rb
|
381
|
+
- lib/zatca/qr_code_extractor.rb
|
114
382
|
- lib/zatca/qr_code_generator.rb
|
383
|
+
- lib/zatca/signing/certificate.rb
|
384
|
+
- lib/zatca/signing/csr.rb
|
385
|
+
- lib/zatca/signing/ecdsa.rb
|
115
386
|
- lib/zatca/tag.rb
|
116
387
|
- lib/zatca/tags.rb
|
117
388
|
- lib/zatca/tags_schema.rb
|
389
|
+
- lib/zatca/types.rb
|
390
|
+
- lib/zatca/ubl.rb
|
391
|
+
- lib/zatca/ubl/base_component.rb
|
392
|
+
- lib/zatca/ubl/builder.rb
|
393
|
+
- lib/zatca/ubl/common_aggregate_components.rb
|
394
|
+
- lib/zatca/ubl/common_aggregate_components/allowance_charge.rb
|
395
|
+
- lib/zatca/ubl/common_aggregate_components/classified_tax_category.rb
|
396
|
+
- lib/zatca/ubl/common_aggregate_components/delivery.rb
|
397
|
+
- lib/zatca/ubl/common_aggregate_components/invoice_line.rb
|
398
|
+
- lib/zatca/ubl/common_aggregate_components/item.rb
|
399
|
+
- lib/zatca/ubl/common_aggregate_components/legal_monetary_total.rb
|
400
|
+
- lib/zatca/ubl/common_aggregate_components/party.rb
|
401
|
+
- lib/zatca/ubl/common_aggregate_components/party_identification.rb
|
402
|
+
- lib/zatca/ubl/common_aggregate_components/party_legal_entity.rb
|
403
|
+
- lib/zatca/ubl/common_aggregate_components/party_tax_scheme.rb
|
404
|
+
- lib/zatca/ubl/common_aggregate_components/postal_address.rb
|
405
|
+
- lib/zatca/ubl/common_aggregate_components/price.rb
|
406
|
+
- lib/zatca/ubl/common_aggregate_components/tax_category.rb
|
407
|
+
- lib/zatca/ubl/common_aggregate_components/tax_total.rb
|
408
|
+
- lib/zatca/ubl/invoice.rb
|
409
|
+
- lib/zatca/ubl/invoice_subtype_builder.rb
|
410
|
+
- lib/zatca/ubl/signing.rb
|
411
|
+
- lib/zatca/ubl/signing/cert.rb
|
412
|
+
- lib/zatca/ubl/signing/invoice_signed_data_reference.rb
|
413
|
+
- lib/zatca/ubl/signing/key_info.rb
|
414
|
+
- lib/zatca/ubl/signing/object.rb
|
415
|
+
- lib/zatca/ubl/signing/qualifying_properties.rb
|
416
|
+
- lib/zatca/ubl/signing/signature.rb
|
417
|
+
- lib/zatca/ubl/signing/signature_information.rb
|
418
|
+
- lib/zatca/ubl/signing/signature_properties_reference.rb
|
419
|
+
- lib/zatca/ubl/signing/signed_info.rb
|
420
|
+
- lib/zatca/ubl/signing/signed_properties.rb
|
421
|
+
- lib/zatca/ubl/signing/signed_signature_properties.rb
|
422
|
+
- lib/zatca/ubl/signing/ubl_document_signatures.rb
|
423
|
+
- lib/zatca/ubl/signing/ubl_extension.rb
|
424
|
+
- lib/zatca/ubl/signing/ubl_extensions.rb
|
118
425
|
- lib/zatca/version.rb
|
426
|
+
- zatca.gemspec
|
119
427
|
homepage: https://github.com/mrsool/zatca
|
120
428
|
licenses: []
|
121
429
|
metadata:
|
@@ -123,7 +431,7 @@ metadata:
|
|
123
431
|
homepage_uri: https://github.com/mrsool/zatca
|
124
432
|
source_code_uri: https://github.com/mrsool/zatca
|
125
433
|
changelog_uri: https://github.com/mrsool/zatca/releases
|
126
|
-
post_install_message:
|
434
|
+
post_install_message:
|
127
435
|
rdoc_options: []
|
128
436
|
require_paths:
|
129
437
|
- lib
|
@@ -131,15 +439,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
439
|
requirements:
|
132
440
|
- - ">="
|
133
441
|
- !ruby/object:Gem::Version
|
134
|
-
version: 2.
|
442
|
+
version: 2.5.0
|
135
443
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
444
|
requirements:
|
137
445
|
- - ">="
|
138
446
|
- !ruby/object:Gem::Version
|
139
447
|
version: '0'
|
140
448
|
requirements: []
|
141
|
-
rubygems_version: 3.
|
142
|
-
signing_key:
|
449
|
+
rubygems_version: 3.3.3
|
450
|
+
signing_key:
|
143
451
|
specification_version: 4
|
144
452
|
summary: A library for generating QR Codes for the e-invoice standard by ZATCA in
|
145
453
|
Saudi Arabia.
|
data/Gemfile.lock
DELETED
@@ -1,100 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
zatca (0.1.1)
|
5
|
-
dry-schema (~> 1.5)
|
6
|
-
rqrcode (~> 2.1.0)
|
7
|
-
zeitwerk (~> 2.4)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: https://rubygems.org/
|
11
|
-
specs:
|
12
|
-
ast (2.4.2)
|
13
|
-
byebug (9.1.0)
|
14
|
-
chunky_png (1.4.0)
|
15
|
-
concurrent-ruby (1.1.9)
|
16
|
-
diff-lcs (1.4.4)
|
17
|
-
dry-configurable (0.13.0)
|
18
|
-
concurrent-ruby (~> 1.0)
|
19
|
-
dry-core (~> 0.6)
|
20
|
-
dry-container (0.9.0)
|
21
|
-
concurrent-ruby (~> 1.0)
|
22
|
-
dry-configurable (~> 0.13, >= 0.13.0)
|
23
|
-
dry-core (0.7.1)
|
24
|
-
concurrent-ruby (~> 1.0)
|
25
|
-
dry-inflector (0.2.1)
|
26
|
-
dry-initializer (3.0.4)
|
27
|
-
dry-logic (1.2.0)
|
28
|
-
concurrent-ruby (~> 1.0)
|
29
|
-
dry-core (~> 0.5, >= 0.5)
|
30
|
-
dry-schema (1.8.0)
|
31
|
-
concurrent-ruby (~> 1.0)
|
32
|
-
dry-configurable (~> 0.13, >= 0.13.0)
|
33
|
-
dry-core (~> 0.5, >= 0.5)
|
34
|
-
dry-initializer (~> 3.0)
|
35
|
-
dry-logic (~> 1.0)
|
36
|
-
dry-types (~> 1.5)
|
37
|
-
dry-types (1.5.1)
|
38
|
-
concurrent-ruby (~> 1.0)
|
39
|
-
dry-container (~> 0.3)
|
40
|
-
dry-core (~> 0.5, >= 0.5)
|
41
|
-
dry-inflector (~> 0.1, >= 0.1.2)
|
42
|
-
dry-logic (~> 1.0, >= 1.0.2)
|
43
|
-
parallel (1.21.0)
|
44
|
-
parser (3.0.2.0)
|
45
|
-
ast (~> 2.4.1)
|
46
|
-
rainbow (3.0.0)
|
47
|
-
rake (13.0.6)
|
48
|
-
regexp_parser (2.1.1)
|
49
|
-
rexml (3.2.5)
|
50
|
-
rqrcode (2.1.0)
|
51
|
-
chunky_png (~> 1.0)
|
52
|
-
rqrcode_core (~> 1.0)
|
53
|
-
rqrcode_core (1.2.0)
|
54
|
-
rspec (3.10.0)
|
55
|
-
rspec-core (~> 3.10.0)
|
56
|
-
rspec-expectations (~> 3.10.0)
|
57
|
-
rspec-mocks (~> 3.10.0)
|
58
|
-
rspec-core (3.10.1)
|
59
|
-
rspec-support (~> 3.10.0)
|
60
|
-
rspec-expectations (3.10.1)
|
61
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
62
|
-
rspec-support (~> 3.10.0)
|
63
|
-
rspec-mocks (3.10.2)
|
64
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
65
|
-
rspec-support (~> 3.10.0)
|
66
|
-
rspec-support (3.10.2)
|
67
|
-
rubocop (1.20.0)
|
68
|
-
parallel (~> 1.10)
|
69
|
-
parser (>= 3.0.0.0)
|
70
|
-
rainbow (>= 2.2.2, < 4.0)
|
71
|
-
regexp_parser (>= 1.8, < 3.0)
|
72
|
-
rexml
|
73
|
-
rubocop-ast (>= 1.9.1, < 2.0)
|
74
|
-
ruby-progressbar (~> 1.7)
|
75
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
76
|
-
rubocop-ast (1.12.0)
|
77
|
-
parser (>= 3.0.1.1)
|
78
|
-
rubocop-performance (1.11.5)
|
79
|
-
rubocop (>= 1.7.0, < 2.0)
|
80
|
-
rubocop-ast (>= 0.4.0)
|
81
|
-
ruby-progressbar (1.11.0)
|
82
|
-
standard (1.3.0)
|
83
|
-
rubocop (= 1.20.0)
|
84
|
-
rubocop-performance (= 1.11.5)
|
85
|
-
unicode-display_width (2.1.0)
|
86
|
-
zeitwerk (2.4.2)
|
87
|
-
|
88
|
-
PLATFORMS
|
89
|
-
x86_64-darwin-20
|
90
|
-
x86_64-linux
|
91
|
-
|
92
|
-
DEPENDENCIES
|
93
|
-
byebug (~> 9.0)
|
94
|
-
rake (~> 13.0)
|
95
|
-
rspec (~> 3.10)
|
96
|
-
standard (~> 1.3)
|
97
|
-
zatca!
|
98
|
-
|
99
|
-
BUNDLED WITH
|
100
|
-
2.2.30
|