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,1002 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
Library: OASIS Universal Business Language (UBL) 2.1 OS
|
4
|
+
http://docs.oasis-open.org/ubl/os-UBL-2.1/
|
5
|
+
Release Date: 04 November 2013
|
6
|
+
Module: xsd/maindoc/UBL-Invoice-2.1.xsd
|
7
|
+
Generated on: 2013-10-31 17:17z
|
8
|
+
Copyright (c) OASIS Open 2013. All Rights Reserved.
|
9
|
+
-->
|
10
|
+
<xsd:schema xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
|
11
|
+
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
|
12
|
+
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
|
13
|
+
xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
|
14
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
15
|
+
xmlns:ccts="urn:un:unece:uncefact:documentation:2"
|
16
|
+
targetNamespace="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
|
17
|
+
elementFormDefault="qualified"
|
18
|
+
attributeFormDefault="unqualified"
|
19
|
+
version="2.1">
|
20
|
+
<!-- ===== Imports ===== -->
|
21
|
+
<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
|
22
|
+
schemaLocation="../common/UBL-CommonAggregateComponents-2.1.xsd"/>
|
23
|
+
<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
|
24
|
+
schemaLocation="../common/UBL-CommonBasicComponents-2.1.xsd"/>
|
25
|
+
<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
|
26
|
+
schemaLocation="../common/UBL-CommonExtensionComponents-2.1.xsd"/>
|
27
|
+
<!-- ===== Element Declarations ===== -->
|
28
|
+
<xsd:element name="Invoice" type="InvoiceType">
|
29
|
+
<xsd:annotation>
|
30
|
+
<xsd:documentation>This element MUST be conveyed as the root element in any instance document based on this Schema expression</xsd:documentation>
|
31
|
+
</xsd:annotation>
|
32
|
+
</xsd:element>
|
33
|
+
<!-- ===== Type Definitions ===== -->
|
34
|
+
<!-- ===== Aggregate Business Information Entity Type Definitions ===== -->
|
35
|
+
<xsd:complexType name="InvoiceType">
|
36
|
+
<xsd:annotation>
|
37
|
+
<xsd:documentation>
|
38
|
+
<ccts:Component>
|
39
|
+
<ccts:ComponentType>ABIE</ccts:ComponentType>
|
40
|
+
<ccts:DictionaryEntryName>Invoice. Details</ccts:DictionaryEntryName>
|
41
|
+
<ccts:Definition>A document used to request payment.</ccts:Definition>
|
42
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
43
|
+
</ccts:Component>
|
44
|
+
</xsd:documentation>
|
45
|
+
</xsd:annotation>
|
46
|
+
<xsd:sequence>
|
47
|
+
<xsd:element ref="ext:UBLExtensions" minOccurs="0" maxOccurs="1">
|
48
|
+
<xsd:annotation>
|
49
|
+
<xsd:documentation>A container for all extensions present in the document.</xsd:documentation>
|
50
|
+
</xsd:annotation>
|
51
|
+
</xsd:element>
|
52
|
+
<xsd:element ref="cbc:UBLVersionID" minOccurs="0" maxOccurs="1">
|
53
|
+
<xsd:annotation>
|
54
|
+
<xsd:documentation>
|
55
|
+
<ccts:Component>
|
56
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
57
|
+
<ccts:DictionaryEntryName>Invoice. UBL Version Identifier. Identifier</ccts:DictionaryEntryName>
|
58
|
+
<ccts:Definition>Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance.</ccts:Definition>
|
59
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
60
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
61
|
+
<ccts:PropertyTerm>UBL Version Identifier</ccts:PropertyTerm>
|
62
|
+
<ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
|
63
|
+
<ccts:DataType>Identifier. Type</ccts:DataType>
|
64
|
+
<ccts:Examples>2.0.5</ccts:Examples>
|
65
|
+
</ccts:Component>
|
66
|
+
</xsd:documentation>
|
67
|
+
</xsd:annotation>
|
68
|
+
</xsd:element>
|
69
|
+
<xsd:element ref="cbc:CustomizationID" minOccurs="0" maxOccurs="1">
|
70
|
+
<xsd:annotation>
|
71
|
+
<xsd:documentation>
|
72
|
+
<ccts:Component>
|
73
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
74
|
+
<ccts:DictionaryEntryName>Invoice. Customization Identifier. Identifier</ccts:DictionaryEntryName>
|
75
|
+
<ccts:Definition>Identifies a user-defined customization of UBL for a specific use.</ccts:Definition>
|
76
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
77
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
78
|
+
<ccts:PropertyTerm>Customization Identifier</ccts:PropertyTerm>
|
79
|
+
<ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
|
80
|
+
<ccts:DataType>Identifier. Type</ccts:DataType>
|
81
|
+
<ccts:Examples>NES</ccts:Examples>
|
82
|
+
</ccts:Component>
|
83
|
+
</xsd:documentation>
|
84
|
+
</xsd:annotation>
|
85
|
+
</xsd:element>
|
86
|
+
<xsd:element ref="cbc:ProfileID" minOccurs="0" maxOccurs="1">
|
87
|
+
<xsd:annotation>
|
88
|
+
<xsd:documentation>
|
89
|
+
<ccts:Component>
|
90
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
91
|
+
<ccts:DictionaryEntryName>Invoice. Profile Identifier. Identifier</ccts:DictionaryEntryName>
|
92
|
+
<ccts:Definition>Identifies a user-defined profile of the customization of UBL being used.</ccts:Definition>
|
93
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
94
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
95
|
+
<ccts:PropertyTerm>Profile Identifier</ccts:PropertyTerm>
|
96
|
+
<ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
|
97
|
+
<ccts:DataType>Identifier. Type</ccts:DataType>
|
98
|
+
<ccts:Examples>BasicProcurementProcess</ccts:Examples>
|
99
|
+
</ccts:Component>
|
100
|
+
</xsd:documentation>
|
101
|
+
</xsd:annotation>
|
102
|
+
</xsd:element>
|
103
|
+
<xsd:element ref="cbc:ProfileExecutionID" minOccurs="0" maxOccurs="1">
|
104
|
+
<xsd:annotation>
|
105
|
+
<xsd:documentation>
|
106
|
+
<ccts:Component>
|
107
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
108
|
+
<ccts:DictionaryEntryName>Invoice. Profile Execution Identifier. Identifier</ccts:DictionaryEntryName>
|
109
|
+
<ccts:Definition>Identifies an instance of executing a profile, to associate all transactions in a collaboration.</ccts:Definition>
|
110
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
111
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
112
|
+
<ccts:PropertyTerm>Profile Execution Identifier</ccts:PropertyTerm>
|
113
|
+
<ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
|
114
|
+
<ccts:DataType>Identifier. Type</ccts:DataType>
|
115
|
+
<ccts:Examples>BPP-1001</ccts:Examples>
|
116
|
+
</ccts:Component>
|
117
|
+
</xsd:documentation>
|
118
|
+
</xsd:annotation>
|
119
|
+
</xsd:element>
|
120
|
+
<xsd:element ref="cbc:ID" minOccurs="1" maxOccurs="1">
|
121
|
+
<xsd:annotation>
|
122
|
+
<xsd:documentation>
|
123
|
+
<ccts:Component>
|
124
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
125
|
+
<ccts:DictionaryEntryName>Invoice. Identifier</ccts:DictionaryEntryName>
|
126
|
+
<ccts:Definition>An identifier for this document, assigned by the sender.</ccts:Definition>
|
127
|
+
<ccts:Cardinality>1</ccts:Cardinality>
|
128
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
129
|
+
<ccts:PropertyTerm>Identifier</ccts:PropertyTerm>
|
130
|
+
<ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
|
131
|
+
<ccts:DataType>Identifier. Type</ccts:DataType>
|
132
|
+
<ccts:AlternativeBusinessTerms>Invoice Number</ccts:AlternativeBusinessTerms>
|
133
|
+
</ccts:Component>
|
134
|
+
</xsd:documentation>
|
135
|
+
</xsd:annotation>
|
136
|
+
</xsd:element>
|
137
|
+
<xsd:element ref="cbc:CopyIndicator" minOccurs="0" maxOccurs="1">
|
138
|
+
<xsd:annotation>
|
139
|
+
<xsd:documentation>
|
140
|
+
<ccts:Component>
|
141
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
142
|
+
<ccts:DictionaryEntryName>Invoice. Copy_ Indicator. Indicator</ccts:DictionaryEntryName>
|
143
|
+
<ccts:Definition>Indicates whether this document is a copy (true) or not (false).</ccts:Definition>
|
144
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
145
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
146
|
+
<ccts:PropertyTermQualifier>Copy</ccts:PropertyTermQualifier>
|
147
|
+
<ccts:PropertyTerm>Indicator</ccts:PropertyTerm>
|
148
|
+
<ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm>
|
149
|
+
<ccts:DataType>Indicator. Type</ccts:DataType>
|
150
|
+
</ccts:Component>
|
151
|
+
</xsd:documentation>
|
152
|
+
</xsd:annotation>
|
153
|
+
</xsd:element>
|
154
|
+
<xsd:element ref="cbc:UUID" minOccurs="0" maxOccurs="1">
|
155
|
+
<xsd:annotation>
|
156
|
+
<xsd:documentation>
|
157
|
+
<ccts:Component>
|
158
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
159
|
+
<ccts:DictionaryEntryName>Invoice. UUID. Identifier</ccts:DictionaryEntryName>
|
160
|
+
<ccts:Definition>A universally unique identifier for an instance of this document.</ccts:Definition>
|
161
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
162
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
163
|
+
<ccts:PropertyTerm>UUID</ccts:PropertyTerm>
|
164
|
+
<ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
|
165
|
+
<ccts:DataType>Identifier. Type</ccts:DataType>
|
166
|
+
</ccts:Component>
|
167
|
+
</xsd:documentation>
|
168
|
+
</xsd:annotation>
|
169
|
+
</xsd:element>
|
170
|
+
<xsd:element ref="cbc:IssueDate" minOccurs="1" maxOccurs="1">
|
171
|
+
<xsd:annotation>
|
172
|
+
<xsd:documentation>
|
173
|
+
<ccts:Component>
|
174
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
175
|
+
<ccts:DictionaryEntryName>Invoice. Issue Date. Date</ccts:DictionaryEntryName>
|
176
|
+
<ccts:Definition>The date, assigned by the sender, on which this document was issued.</ccts:Definition>
|
177
|
+
<ccts:Cardinality>1</ccts:Cardinality>
|
178
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
179
|
+
<ccts:PropertyTerm>Issue Date</ccts:PropertyTerm>
|
180
|
+
<ccts:RepresentationTerm>Date</ccts:RepresentationTerm>
|
181
|
+
<ccts:DataType>Date. Type</ccts:DataType>
|
182
|
+
<ccts:AlternativeBusinessTerms>Invoice Date</ccts:AlternativeBusinessTerms>
|
183
|
+
</ccts:Component>
|
184
|
+
</xsd:documentation>
|
185
|
+
</xsd:annotation>
|
186
|
+
</xsd:element>
|
187
|
+
<xsd:element ref="cbc:IssueTime" minOccurs="0" maxOccurs="1">
|
188
|
+
<xsd:annotation>
|
189
|
+
<xsd:documentation>
|
190
|
+
<ccts:Component>
|
191
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
192
|
+
<ccts:DictionaryEntryName>Invoice. Issue Time. Time</ccts:DictionaryEntryName>
|
193
|
+
<ccts:Definition>The time, assigned by the sender, at which this document was issued.</ccts:Definition>
|
194
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
195
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
196
|
+
<ccts:PropertyTerm>Issue Time</ccts:PropertyTerm>
|
197
|
+
<ccts:RepresentationTerm>Time</ccts:RepresentationTerm>
|
198
|
+
<ccts:DataType>Time. Type</ccts:DataType>
|
199
|
+
</ccts:Component>
|
200
|
+
</xsd:documentation>
|
201
|
+
</xsd:annotation>
|
202
|
+
</xsd:element>
|
203
|
+
<xsd:element ref="cbc:DueDate" minOccurs="0" maxOccurs="1">
|
204
|
+
<xsd:annotation>
|
205
|
+
<xsd:documentation>
|
206
|
+
<ccts:Component>
|
207
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
208
|
+
<ccts:DictionaryEntryName>Invoice. Due Date. Date</ccts:DictionaryEntryName>
|
209
|
+
<ccts:Definition>The date on which Invoice is due.</ccts:Definition>
|
210
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
211
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
212
|
+
<ccts:PropertyTerm>Due Date</ccts:PropertyTerm>
|
213
|
+
<ccts:RepresentationTerm>Date</ccts:RepresentationTerm>
|
214
|
+
<ccts:DataType>Date. Type</ccts:DataType>
|
215
|
+
</ccts:Component>
|
216
|
+
</xsd:documentation>
|
217
|
+
</xsd:annotation>
|
218
|
+
</xsd:element>
|
219
|
+
<xsd:element ref="cbc:InvoiceTypeCode" minOccurs="0" maxOccurs="1">
|
220
|
+
<xsd:annotation>
|
221
|
+
<xsd:documentation>
|
222
|
+
<ccts:Component>
|
223
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
224
|
+
<ccts:DictionaryEntryName>Invoice. Invoice Type Code. Code</ccts:DictionaryEntryName>
|
225
|
+
<ccts:Definition>A code signifying the type of the Invoice.</ccts:Definition>
|
226
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
227
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
228
|
+
<ccts:PropertyTerm>Invoice Type Code</ccts:PropertyTerm>
|
229
|
+
<ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
|
230
|
+
<ccts:DataType>Code. Type</ccts:DataType>
|
231
|
+
</ccts:Component>
|
232
|
+
</xsd:documentation>
|
233
|
+
</xsd:annotation>
|
234
|
+
</xsd:element>
|
235
|
+
<xsd:element ref="cbc:Note" minOccurs="0" maxOccurs="unbounded">
|
236
|
+
<xsd:annotation>
|
237
|
+
<xsd:documentation>
|
238
|
+
<ccts:Component>
|
239
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
240
|
+
<ccts:DictionaryEntryName>Invoice. Note. Text</ccts:DictionaryEntryName>
|
241
|
+
<ccts:Definition>Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures.</ccts:Definition>
|
242
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
243
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
244
|
+
<ccts:PropertyTerm>Note</ccts:PropertyTerm>
|
245
|
+
<ccts:RepresentationTerm>Text</ccts:RepresentationTerm>
|
246
|
+
<ccts:DataType>Text. Type</ccts:DataType>
|
247
|
+
</ccts:Component>
|
248
|
+
</xsd:documentation>
|
249
|
+
</xsd:annotation>
|
250
|
+
</xsd:element>
|
251
|
+
<xsd:element ref="cbc:TaxPointDate" minOccurs="0" maxOccurs="1">
|
252
|
+
<xsd:annotation>
|
253
|
+
<xsd:documentation>
|
254
|
+
<ccts:Component>
|
255
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
256
|
+
<ccts:DictionaryEntryName>Invoice. Tax Point Date. Date</ccts:DictionaryEntryName>
|
257
|
+
<ccts:Definition>The date of the Invoice, used to indicate the point at which tax becomes applicable.</ccts:Definition>
|
258
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
259
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
260
|
+
<ccts:PropertyTerm>Tax Point Date</ccts:PropertyTerm>
|
261
|
+
<ccts:RepresentationTerm>Date</ccts:RepresentationTerm>
|
262
|
+
<ccts:DataType>Date. Type</ccts:DataType>
|
263
|
+
</ccts:Component>
|
264
|
+
</xsd:documentation>
|
265
|
+
</xsd:annotation>
|
266
|
+
</xsd:element>
|
267
|
+
<xsd:element ref="cbc:DocumentCurrencyCode" minOccurs="0" maxOccurs="1">
|
268
|
+
<xsd:annotation>
|
269
|
+
<xsd:documentation>
|
270
|
+
<ccts:Component>
|
271
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
272
|
+
<ccts:DictionaryEntryName>Invoice. Document_ Currency Code. Code</ccts:DictionaryEntryName>
|
273
|
+
<ccts:Definition>A code signifying the default currency for this document.</ccts:Definition>
|
274
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
275
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
276
|
+
<ccts:PropertyTermQualifier>Document</ccts:PropertyTermQualifier>
|
277
|
+
<ccts:PropertyTerm>Currency Code</ccts:PropertyTerm>
|
278
|
+
<ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
|
279
|
+
<ccts:DataTypeQualifier>Currency</ccts:DataTypeQualifier>
|
280
|
+
<ccts:DataType>Currency_ Code. Type</ccts:DataType>
|
281
|
+
</ccts:Component>
|
282
|
+
</xsd:documentation>
|
283
|
+
</xsd:annotation>
|
284
|
+
</xsd:element>
|
285
|
+
<xsd:element ref="cbc:TaxCurrencyCode" minOccurs="0" maxOccurs="1">
|
286
|
+
<xsd:annotation>
|
287
|
+
<xsd:documentation>
|
288
|
+
<ccts:Component>
|
289
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
290
|
+
<ccts:DictionaryEntryName>Invoice. Tax_ Currency Code. Code</ccts:DictionaryEntryName>
|
291
|
+
<ccts:Definition>A code signifying the currency used for tax amounts in the Invoice.</ccts:Definition>
|
292
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
293
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
294
|
+
<ccts:PropertyTermQualifier>Tax</ccts:PropertyTermQualifier>
|
295
|
+
<ccts:PropertyTerm>Currency Code</ccts:PropertyTerm>
|
296
|
+
<ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
|
297
|
+
<ccts:DataTypeQualifier>Currency</ccts:DataTypeQualifier>
|
298
|
+
<ccts:DataType>Currency_ Code. Type</ccts:DataType>
|
299
|
+
</ccts:Component>
|
300
|
+
</xsd:documentation>
|
301
|
+
</xsd:annotation>
|
302
|
+
</xsd:element>
|
303
|
+
<xsd:element ref="cbc:PricingCurrencyCode" minOccurs="0" maxOccurs="1">
|
304
|
+
<xsd:annotation>
|
305
|
+
<xsd:documentation>
|
306
|
+
<ccts:Component>
|
307
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
308
|
+
<ccts:DictionaryEntryName>Invoice. Pricing_ Currency Code. Code</ccts:DictionaryEntryName>
|
309
|
+
<ccts:Definition>A code signifying the currency used for prices in the Invoice.</ccts:Definition>
|
310
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
311
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
312
|
+
<ccts:PropertyTermQualifier>Pricing</ccts:PropertyTermQualifier>
|
313
|
+
<ccts:PropertyTerm>Currency Code</ccts:PropertyTerm>
|
314
|
+
<ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
|
315
|
+
<ccts:DataTypeQualifier>Currency</ccts:DataTypeQualifier>
|
316
|
+
<ccts:DataType>Currency_ Code. Type</ccts:DataType>
|
317
|
+
</ccts:Component>
|
318
|
+
</xsd:documentation>
|
319
|
+
</xsd:annotation>
|
320
|
+
</xsd:element>
|
321
|
+
<xsd:element ref="cbc:PaymentCurrencyCode" minOccurs="0" maxOccurs="1">
|
322
|
+
<xsd:annotation>
|
323
|
+
<xsd:documentation>
|
324
|
+
<ccts:Component>
|
325
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
326
|
+
<ccts:DictionaryEntryName>Invoice. Payment_ Currency Code. Code</ccts:DictionaryEntryName>
|
327
|
+
<ccts:Definition>A code signifying the currency used for payment in the Invoice.</ccts:Definition>
|
328
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
329
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
330
|
+
<ccts:PropertyTermQualifier>Payment</ccts:PropertyTermQualifier>
|
331
|
+
<ccts:PropertyTerm>Currency Code</ccts:PropertyTerm>
|
332
|
+
<ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
|
333
|
+
<ccts:DataTypeQualifier>Currency</ccts:DataTypeQualifier>
|
334
|
+
<ccts:DataType>Currency_ Code. Type</ccts:DataType>
|
335
|
+
</ccts:Component>
|
336
|
+
</xsd:documentation>
|
337
|
+
</xsd:annotation>
|
338
|
+
</xsd:element>
|
339
|
+
<xsd:element ref="cbc:PaymentAlternativeCurrencyCode"
|
340
|
+
minOccurs="0"
|
341
|
+
maxOccurs="1">
|
342
|
+
<xsd:annotation>
|
343
|
+
<xsd:documentation>
|
344
|
+
<ccts:Component>
|
345
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
346
|
+
<ccts:DictionaryEntryName>Invoice. Payment Alternative_ Currency Code. Code</ccts:DictionaryEntryName>
|
347
|
+
<ccts:Definition>A code signifying the alternative currency used for payment in the Invoice.</ccts:Definition>
|
348
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
349
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
350
|
+
<ccts:PropertyTermQualifier>Payment Alternative</ccts:PropertyTermQualifier>
|
351
|
+
<ccts:PropertyTerm>Currency Code</ccts:PropertyTerm>
|
352
|
+
<ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
|
353
|
+
<ccts:DataTypeQualifier>Currency</ccts:DataTypeQualifier>
|
354
|
+
<ccts:DataType>Currency_ Code. Type</ccts:DataType>
|
355
|
+
</ccts:Component>
|
356
|
+
</xsd:documentation>
|
357
|
+
</xsd:annotation>
|
358
|
+
</xsd:element>
|
359
|
+
<xsd:element ref="cbc:AccountingCostCode" minOccurs="0" maxOccurs="1">
|
360
|
+
<xsd:annotation>
|
361
|
+
<xsd:documentation>
|
362
|
+
<ccts:Component>
|
363
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
364
|
+
<ccts:DictionaryEntryName>Invoice. Accounting Cost Code. Code</ccts:DictionaryEntryName>
|
365
|
+
<ccts:Definition>The buyer's accounting code, applied to the Invoice as a whole.</ccts:Definition>
|
366
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
367
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
368
|
+
<ccts:PropertyTerm>Accounting Cost Code</ccts:PropertyTerm>
|
369
|
+
<ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
|
370
|
+
<ccts:DataType>Code. Type</ccts:DataType>
|
371
|
+
</ccts:Component>
|
372
|
+
</xsd:documentation>
|
373
|
+
</xsd:annotation>
|
374
|
+
</xsd:element>
|
375
|
+
<xsd:element ref="cbc:AccountingCost" minOccurs="0" maxOccurs="1">
|
376
|
+
<xsd:annotation>
|
377
|
+
<xsd:documentation>
|
378
|
+
<ccts:Component>
|
379
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
380
|
+
<ccts:DictionaryEntryName>Invoice. Accounting Cost. Text</ccts:DictionaryEntryName>
|
381
|
+
<ccts:Definition>The buyer's accounting code, applied to the Invoice as a whole, expressed as text.</ccts:Definition>
|
382
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
383
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
384
|
+
<ccts:PropertyTerm>Accounting Cost</ccts:PropertyTerm>
|
385
|
+
<ccts:RepresentationTerm>Text</ccts:RepresentationTerm>
|
386
|
+
<ccts:DataType>Text. Type</ccts:DataType>
|
387
|
+
</ccts:Component>
|
388
|
+
</xsd:documentation>
|
389
|
+
</xsd:annotation>
|
390
|
+
</xsd:element>
|
391
|
+
<xsd:element ref="cbc:LineCountNumeric" minOccurs="0" maxOccurs="1">
|
392
|
+
<xsd:annotation>
|
393
|
+
<xsd:documentation>
|
394
|
+
<ccts:Component>
|
395
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
396
|
+
<ccts:DictionaryEntryName>Invoice. Line Count. Numeric</ccts:DictionaryEntryName>
|
397
|
+
<ccts:Definition>The number of lines in the document.</ccts:Definition>
|
398
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
399
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
400
|
+
<ccts:PropertyTerm>Line Count</ccts:PropertyTerm>
|
401
|
+
<ccts:RepresentationTerm>Numeric</ccts:RepresentationTerm>
|
402
|
+
<ccts:DataType>Numeric. Type</ccts:DataType>
|
403
|
+
</ccts:Component>
|
404
|
+
</xsd:documentation>
|
405
|
+
</xsd:annotation>
|
406
|
+
</xsd:element>
|
407
|
+
<xsd:element ref="cbc:BuyerReference" minOccurs="0" maxOccurs="1">
|
408
|
+
<xsd:annotation>
|
409
|
+
<xsd:documentation>
|
410
|
+
<ccts:Component>
|
411
|
+
<ccts:ComponentType>BBIE</ccts:ComponentType>
|
412
|
+
<ccts:DictionaryEntryName>Invoice. Buyer_ Reference. Text</ccts:DictionaryEntryName>
|
413
|
+
<ccts:Definition>A reference provided by the buyer used for internal routing of the document.</ccts:Definition>
|
414
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
415
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
416
|
+
<ccts:PropertyTermQualifier>Buyer</ccts:PropertyTermQualifier>
|
417
|
+
<ccts:PropertyTerm>Reference</ccts:PropertyTerm>
|
418
|
+
<ccts:RepresentationTerm>Text</ccts:RepresentationTerm>
|
419
|
+
<ccts:DataType>Text. Type</ccts:DataType>
|
420
|
+
</ccts:Component>
|
421
|
+
</xsd:documentation>
|
422
|
+
</xsd:annotation>
|
423
|
+
</xsd:element>
|
424
|
+
<xsd:element ref="cac:InvoicePeriod" minOccurs="0" maxOccurs="unbounded">
|
425
|
+
<xsd:annotation>
|
426
|
+
<xsd:documentation>
|
427
|
+
<ccts:Component>
|
428
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
429
|
+
<ccts:DictionaryEntryName>Invoice. Invoice_ Period. Period</ccts:DictionaryEntryName>
|
430
|
+
<ccts:Definition>A period to which the Invoice applies.</ccts:Definition>
|
431
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
432
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
433
|
+
<ccts:PropertyTermQualifier>Invoice</ccts:PropertyTermQualifier>
|
434
|
+
<ccts:PropertyTerm>Period</ccts:PropertyTerm>
|
435
|
+
<ccts:AssociatedObjectClass>Period</ccts:AssociatedObjectClass>
|
436
|
+
<ccts:RepresentationTerm>Period</ccts:RepresentationTerm>
|
437
|
+
</ccts:Component>
|
438
|
+
</xsd:documentation>
|
439
|
+
</xsd:annotation>
|
440
|
+
</xsd:element>
|
441
|
+
<xsd:element ref="cac:OrderReference" minOccurs="0" maxOccurs="1">
|
442
|
+
<xsd:annotation>
|
443
|
+
<xsd:documentation>
|
444
|
+
<ccts:Component>
|
445
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
446
|
+
<ccts:DictionaryEntryName>Invoice. Order Reference</ccts:DictionaryEntryName>
|
447
|
+
<ccts:Definition>A reference to the Order with which this Invoice is associated.</ccts:Definition>
|
448
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
449
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
450
|
+
<ccts:PropertyTerm>Order Reference</ccts:PropertyTerm>
|
451
|
+
<ccts:AssociatedObjectClass>Order Reference</ccts:AssociatedObjectClass>
|
452
|
+
<ccts:RepresentationTerm>Order Reference</ccts:RepresentationTerm>
|
453
|
+
</ccts:Component>
|
454
|
+
</xsd:documentation>
|
455
|
+
</xsd:annotation>
|
456
|
+
</xsd:element>
|
457
|
+
<xsd:element ref="cac:BillingReference" minOccurs="0" maxOccurs="unbounded">
|
458
|
+
<xsd:annotation>
|
459
|
+
<xsd:documentation>
|
460
|
+
<ccts:Component>
|
461
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
462
|
+
<ccts:DictionaryEntryName>Invoice. Billing Reference</ccts:DictionaryEntryName>
|
463
|
+
<ccts:Definition>A reference to a billing document associated with this document.</ccts:Definition>
|
464
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
465
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
466
|
+
<ccts:PropertyTerm>Billing Reference</ccts:PropertyTerm>
|
467
|
+
<ccts:AssociatedObjectClass>Billing Reference</ccts:AssociatedObjectClass>
|
468
|
+
<ccts:RepresentationTerm>Billing Reference</ccts:RepresentationTerm>
|
469
|
+
</ccts:Component>
|
470
|
+
</xsd:documentation>
|
471
|
+
</xsd:annotation>
|
472
|
+
</xsd:element>
|
473
|
+
<xsd:element ref="cac:DespatchDocumentReference"
|
474
|
+
minOccurs="0"
|
475
|
+
maxOccurs="unbounded">
|
476
|
+
<xsd:annotation>
|
477
|
+
<xsd:documentation>
|
478
|
+
<ccts:Component>
|
479
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
480
|
+
<ccts:DictionaryEntryName>Invoice. Despatch_ Document Reference. Document Reference</ccts:DictionaryEntryName>
|
481
|
+
<ccts:Definition>A reference to a Despatch Advice associated with this document.</ccts:Definition>
|
482
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
483
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
484
|
+
<ccts:PropertyTermQualifier>Despatch</ccts:PropertyTermQualifier>
|
485
|
+
<ccts:PropertyTerm>Document Reference</ccts:PropertyTerm>
|
486
|
+
<ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass>
|
487
|
+
<ccts:RepresentationTerm>Document Reference</ccts:RepresentationTerm>
|
488
|
+
</ccts:Component>
|
489
|
+
</xsd:documentation>
|
490
|
+
</xsd:annotation>
|
491
|
+
</xsd:element>
|
492
|
+
<xsd:element ref="cac:ReceiptDocumentReference"
|
493
|
+
minOccurs="0"
|
494
|
+
maxOccurs="unbounded">
|
495
|
+
<xsd:annotation>
|
496
|
+
<xsd:documentation>
|
497
|
+
<ccts:Component>
|
498
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
499
|
+
<ccts:DictionaryEntryName>Invoice. Receipt_ Document Reference. Document Reference</ccts:DictionaryEntryName>
|
500
|
+
<ccts:Definition>A reference to a Receipt Advice associated with this document.</ccts:Definition>
|
501
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
502
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
503
|
+
<ccts:PropertyTermQualifier>Receipt</ccts:PropertyTermQualifier>
|
504
|
+
<ccts:PropertyTerm>Document Reference</ccts:PropertyTerm>
|
505
|
+
<ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass>
|
506
|
+
<ccts:RepresentationTerm>Document Reference</ccts:RepresentationTerm>
|
507
|
+
</ccts:Component>
|
508
|
+
</xsd:documentation>
|
509
|
+
</xsd:annotation>
|
510
|
+
</xsd:element>
|
511
|
+
<xsd:element ref="cac:StatementDocumentReference"
|
512
|
+
minOccurs="0"
|
513
|
+
maxOccurs="unbounded">
|
514
|
+
<xsd:annotation>
|
515
|
+
<xsd:documentation>
|
516
|
+
<ccts:Component>
|
517
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
518
|
+
<ccts:DictionaryEntryName>Invoice. Statement_ Document Reference. Document Reference</ccts:DictionaryEntryName>
|
519
|
+
<ccts:Definition>A reference to a Statement associated with this document.</ccts:Definition>
|
520
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
521
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
522
|
+
<ccts:PropertyTermQualifier>Statement</ccts:PropertyTermQualifier>
|
523
|
+
<ccts:PropertyTerm>Document Reference</ccts:PropertyTerm>
|
524
|
+
<ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass>
|
525
|
+
<ccts:RepresentationTerm>Document Reference</ccts:RepresentationTerm>
|
526
|
+
</ccts:Component>
|
527
|
+
</xsd:documentation>
|
528
|
+
</xsd:annotation>
|
529
|
+
</xsd:element>
|
530
|
+
<xsd:element ref="cac:OriginatorDocumentReference"
|
531
|
+
minOccurs="0"
|
532
|
+
maxOccurs="unbounded">
|
533
|
+
<xsd:annotation>
|
534
|
+
<xsd:documentation>
|
535
|
+
<ccts:Component>
|
536
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
537
|
+
<ccts:DictionaryEntryName>Invoice. Originator_ Document Reference. Document Reference</ccts:DictionaryEntryName>
|
538
|
+
<ccts:Definition>A reference to an originator document associated with this document.</ccts:Definition>
|
539
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
540
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
541
|
+
<ccts:PropertyTermQualifier>Originator</ccts:PropertyTermQualifier>
|
542
|
+
<ccts:PropertyTerm>Document Reference</ccts:PropertyTerm>
|
543
|
+
<ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass>
|
544
|
+
<ccts:RepresentationTerm>Document Reference</ccts:RepresentationTerm>
|
545
|
+
</ccts:Component>
|
546
|
+
</xsd:documentation>
|
547
|
+
</xsd:annotation>
|
548
|
+
</xsd:element>
|
549
|
+
<xsd:element ref="cac:ContractDocumentReference"
|
550
|
+
minOccurs="0"
|
551
|
+
maxOccurs="unbounded">
|
552
|
+
<xsd:annotation>
|
553
|
+
<xsd:documentation>
|
554
|
+
<ccts:Component>
|
555
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
556
|
+
<ccts:DictionaryEntryName>Invoice. Contract_ Document Reference. Document Reference</ccts:DictionaryEntryName>
|
557
|
+
<ccts:Definition>A reference to a contract associated with this document.</ccts:Definition>
|
558
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
559
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
560
|
+
<ccts:PropertyTermQualifier>Contract</ccts:PropertyTermQualifier>
|
561
|
+
<ccts:PropertyTerm>Document Reference</ccts:PropertyTerm>
|
562
|
+
<ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass>
|
563
|
+
<ccts:RepresentationTerm>Document Reference</ccts:RepresentationTerm>
|
564
|
+
</ccts:Component>
|
565
|
+
</xsd:documentation>
|
566
|
+
</xsd:annotation>
|
567
|
+
</xsd:element>
|
568
|
+
<xsd:element ref="cac:AdditionalDocumentReference"
|
569
|
+
minOccurs="0"
|
570
|
+
maxOccurs="unbounded">
|
571
|
+
<xsd:annotation>
|
572
|
+
<xsd:documentation>
|
573
|
+
<ccts:Component>
|
574
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
575
|
+
<ccts:DictionaryEntryName>Invoice. Additional_ Document Reference. Document Reference</ccts:DictionaryEntryName>
|
576
|
+
<ccts:Definition>A reference to an additional document associated with this document.</ccts:Definition>
|
577
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
578
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
579
|
+
<ccts:PropertyTermQualifier>Additional</ccts:PropertyTermQualifier>
|
580
|
+
<ccts:PropertyTerm>Document Reference</ccts:PropertyTerm>
|
581
|
+
<ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass>
|
582
|
+
<ccts:RepresentationTerm>Document Reference</ccts:RepresentationTerm>
|
583
|
+
</ccts:Component>
|
584
|
+
</xsd:documentation>
|
585
|
+
</xsd:annotation>
|
586
|
+
</xsd:element>
|
587
|
+
<xsd:element ref="cac:ProjectReference" minOccurs="0" maxOccurs="unbounded">
|
588
|
+
<xsd:annotation>
|
589
|
+
<xsd:documentation>
|
590
|
+
<ccts:Component>
|
591
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
592
|
+
<ccts:DictionaryEntryName>Invoice. Project Reference</ccts:DictionaryEntryName>
|
593
|
+
<ccts:Definition>Information about a project.</ccts:Definition>
|
594
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
595
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
596
|
+
<ccts:PropertyTerm>Project Reference</ccts:PropertyTerm>
|
597
|
+
<ccts:AssociatedObjectClass>Project Reference</ccts:AssociatedObjectClass>
|
598
|
+
<ccts:RepresentationTerm>Project Reference</ccts:RepresentationTerm>
|
599
|
+
</ccts:Component>
|
600
|
+
</xsd:documentation>
|
601
|
+
</xsd:annotation>
|
602
|
+
</xsd:element>
|
603
|
+
<xsd:element ref="cac:Signature" minOccurs="0" maxOccurs="unbounded">
|
604
|
+
<xsd:annotation>
|
605
|
+
<xsd:documentation>
|
606
|
+
<ccts:Component>
|
607
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
608
|
+
<ccts:DictionaryEntryName>Invoice. Signature</ccts:DictionaryEntryName>
|
609
|
+
<ccts:Definition>A signature applied to this document.</ccts:Definition>
|
610
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
611
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
612
|
+
<ccts:PropertyTerm>Signature</ccts:PropertyTerm>
|
613
|
+
<ccts:AssociatedObjectClass>Signature</ccts:AssociatedObjectClass>
|
614
|
+
<ccts:RepresentationTerm>Signature</ccts:RepresentationTerm>
|
615
|
+
</ccts:Component>
|
616
|
+
</xsd:documentation>
|
617
|
+
</xsd:annotation>
|
618
|
+
</xsd:element>
|
619
|
+
<xsd:element ref="cac:AccountingSupplierParty" minOccurs="1" maxOccurs="1">
|
620
|
+
<xsd:annotation>
|
621
|
+
<xsd:documentation>
|
622
|
+
<ccts:Component>
|
623
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
624
|
+
<ccts:DictionaryEntryName>Invoice. Accounting_ Supplier Party. Supplier Party</ccts:DictionaryEntryName>
|
625
|
+
<ccts:Definition>The accounting supplier party.</ccts:Definition>
|
626
|
+
<ccts:Cardinality>1</ccts:Cardinality>
|
627
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
628
|
+
<ccts:PropertyTermQualifier>Accounting</ccts:PropertyTermQualifier>
|
629
|
+
<ccts:PropertyTerm>Supplier Party</ccts:PropertyTerm>
|
630
|
+
<ccts:AssociatedObjectClass>Supplier Party</ccts:AssociatedObjectClass>
|
631
|
+
<ccts:RepresentationTerm>Supplier Party</ccts:RepresentationTerm>
|
632
|
+
</ccts:Component>
|
633
|
+
</xsd:documentation>
|
634
|
+
</xsd:annotation>
|
635
|
+
</xsd:element>
|
636
|
+
<xsd:element ref="cac:AccountingCustomerParty" minOccurs="1" maxOccurs="1">
|
637
|
+
<xsd:annotation>
|
638
|
+
<xsd:documentation>
|
639
|
+
<ccts:Component>
|
640
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
641
|
+
<ccts:DictionaryEntryName>Invoice. Accounting_ Customer Party. Customer Party</ccts:DictionaryEntryName>
|
642
|
+
<ccts:Definition>The accounting customer party.</ccts:Definition>
|
643
|
+
<ccts:Cardinality>1</ccts:Cardinality>
|
644
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
645
|
+
<ccts:PropertyTermQualifier>Accounting</ccts:PropertyTermQualifier>
|
646
|
+
<ccts:PropertyTerm>Customer Party</ccts:PropertyTerm>
|
647
|
+
<ccts:AssociatedObjectClass>Customer Party</ccts:AssociatedObjectClass>
|
648
|
+
<ccts:RepresentationTerm>Customer Party</ccts:RepresentationTerm>
|
649
|
+
</ccts:Component>
|
650
|
+
</xsd:documentation>
|
651
|
+
</xsd:annotation>
|
652
|
+
</xsd:element>
|
653
|
+
<xsd:element ref="cac:PayeeParty" minOccurs="0" maxOccurs="1">
|
654
|
+
<xsd:annotation>
|
655
|
+
<xsd:documentation>
|
656
|
+
<ccts:Component>
|
657
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
658
|
+
<ccts:DictionaryEntryName>Invoice. Payee_ Party. Party</ccts:DictionaryEntryName>
|
659
|
+
<ccts:Definition>The payee.</ccts:Definition>
|
660
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
661
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
662
|
+
<ccts:PropertyTermQualifier>Payee</ccts:PropertyTermQualifier>
|
663
|
+
<ccts:PropertyTerm>Party</ccts:PropertyTerm>
|
664
|
+
<ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass>
|
665
|
+
<ccts:RepresentationTerm>Party</ccts:RepresentationTerm>
|
666
|
+
</ccts:Component>
|
667
|
+
</xsd:documentation>
|
668
|
+
</xsd:annotation>
|
669
|
+
</xsd:element>
|
670
|
+
<xsd:element ref="cac:BuyerCustomerParty" minOccurs="0" maxOccurs="1">
|
671
|
+
<xsd:annotation>
|
672
|
+
<xsd:documentation>
|
673
|
+
<ccts:Component>
|
674
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
675
|
+
<ccts:DictionaryEntryName>Invoice. Buyer_ Customer Party. Customer Party</ccts:DictionaryEntryName>
|
676
|
+
<ccts:Definition>The buyer.</ccts:Definition>
|
677
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
678
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
679
|
+
<ccts:PropertyTermQualifier>Buyer</ccts:PropertyTermQualifier>
|
680
|
+
<ccts:PropertyTerm>Customer Party</ccts:PropertyTerm>
|
681
|
+
<ccts:AssociatedObjectClass>Customer Party</ccts:AssociatedObjectClass>
|
682
|
+
<ccts:RepresentationTerm>Customer Party</ccts:RepresentationTerm>
|
683
|
+
</ccts:Component>
|
684
|
+
</xsd:documentation>
|
685
|
+
</xsd:annotation>
|
686
|
+
</xsd:element>
|
687
|
+
<xsd:element ref="cac:SellerSupplierParty" minOccurs="0" maxOccurs="1">
|
688
|
+
<xsd:annotation>
|
689
|
+
<xsd:documentation>
|
690
|
+
<ccts:Component>
|
691
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
692
|
+
<ccts:DictionaryEntryName>Invoice. Seller_ Supplier Party. Supplier Party</ccts:DictionaryEntryName>
|
693
|
+
<ccts:Definition>The seller.</ccts:Definition>
|
694
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
695
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
696
|
+
<ccts:PropertyTermQualifier>Seller</ccts:PropertyTermQualifier>
|
697
|
+
<ccts:PropertyTerm>Supplier Party</ccts:PropertyTerm>
|
698
|
+
<ccts:AssociatedObjectClass>Supplier Party</ccts:AssociatedObjectClass>
|
699
|
+
<ccts:RepresentationTerm>Supplier Party</ccts:RepresentationTerm>
|
700
|
+
</ccts:Component>
|
701
|
+
</xsd:documentation>
|
702
|
+
</xsd:annotation>
|
703
|
+
</xsd:element>
|
704
|
+
<xsd:element ref="cac:TaxRepresentativeParty" minOccurs="0" maxOccurs="1">
|
705
|
+
<xsd:annotation>
|
706
|
+
<xsd:documentation>
|
707
|
+
<ccts:Component>
|
708
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
709
|
+
<ccts:DictionaryEntryName>Invoice. Tax Representative_ Party. Party</ccts:DictionaryEntryName>
|
710
|
+
<ccts:Definition>The tax representative.</ccts:Definition>
|
711
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
712
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
713
|
+
<ccts:PropertyTermQualifier>Tax Representative</ccts:PropertyTermQualifier>
|
714
|
+
<ccts:PropertyTerm>Party</ccts:PropertyTerm>
|
715
|
+
<ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass>
|
716
|
+
<ccts:RepresentationTerm>Party</ccts:RepresentationTerm>
|
717
|
+
</ccts:Component>
|
718
|
+
</xsd:documentation>
|
719
|
+
</xsd:annotation>
|
720
|
+
</xsd:element>
|
721
|
+
<xsd:element ref="cac:Delivery" minOccurs="0" maxOccurs="unbounded">
|
722
|
+
<xsd:annotation>
|
723
|
+
<xsd:documentation>
|
724
|
+
<ccts:Component>
|
725
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
726
|
+
<ccts:DictionaryEntryName>Invoice. Delivery</ccts:DictionaryEntryName>
|
727
|
+
<ccts:Definition>A delivery associated with this document.</ccts:Definition>
|
728
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
729
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
730
|
+
<ccts:PropertyTerm>Delivery</ccts:PropertyTerm>
|
731
|
+
<ccts:AssociatedObjectClass>Delivery</ccts:AssociatedObjectClass>
|
732
|
+
<ccts:RepresentationTerm>Delivery</ccts:RepresentationTerm>
|
733
|
+
</ccts:Component>
|
734
|
+
</xsd:documentation>
|
735
|
+
</xsd:annotation>
|
736
|
+
</xsd:element>
|
737
|
+
<xsd:element ref="cac:DeliveryTerms" minOccurs="0" maxOccurs="1">
|
738
|
+
<xsd:annotation>
|
739
|
+
<xsd:documentation>
|
740
|
+
<ccts:Component>
|
741
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
742
|
+
<ccts:DictionaryEntryName>Invoice. Delivery Terms</ccts:DictionaryEntryName>
|
743
|
+
<ccts:Definition>A set of delivery terms associated with this document.</ccts:Definition>
|
744
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
745
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
746
|
+
<ccts:PropertyTerm>Delivery Terms</ccts:PropertyTerm>
|
747
|
+
<ccts:AssociatedObjectClass>Delivery Terms</ccts:AssociatedObjectClass>
|
748
|
+
<ccts:RepresentationTerm>Delivery Terms</ccts:RepresentationTerm>
|
749
|
+
</ccts:Component>
|
750
|
+
</xsd:documentation>
|
751
|
+
</xsd:annotation>
|
752
|
+
</xsd:element>
|
753
|
+
<xsd:element ref="cac:PaymentMeans" minOccurs="0" maxOccurs="unbounded">
|
754
|
+
<xsd:annotation>
|
755
|
+
<xsd:documentation>
|
756
|
+
<ccts:Component>
|
757
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
758
|
+
<ccts:DictionaryEntryName>Invoice. Payment Means</ccts:DictionaryEntryName>
|
759
|
+
<ccts:Definition>Expected means of payment.</ccts:Definition>
|
760
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
761
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
762
|
+
<ccts:PropertyTerm>Payment Means</ccts:PropertyTerm>
|
763
|
+
<ccts:AssociatedObjectClass>Payment Means</ccts:AssociatedObjectClass>
|
764
|
+
<ccts:RepresentationTerm>Payment Means</ccts:RepresentationTerm>
|
765
|
+
</ccts:Component>
|
766
|
+
</xsd:documentation>
|
767
|
+
</xsd:annotation>
|
768
|
+
</xsd:element>
|
769
|
+
<xsd:element ref="cac:PaymentTerms" minOccurs="0" maxOccurs="unbounded">
|
770
|
+
<xsd:annotation>
|
771
|
+
<xsd:documentation>
|
772
|
+
<ccts:Component>
|
773
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
774
|
+
<ccts:DictionaryEntryName>Invoice. Payment Terms</ccts:DictionaryEntryName>
|
775
|
+
<ccts:Definition>A set of payment terms associated with this document.</ccts:Definition>
|
776
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
777
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
778
|
+
<ccts:PropertyTerm>Payment Terms</ccts:PropertyTerm>
|
779
|
+
<ccts:AssociatedObjectClass>Payment Terms</ccts:AssociatedObjectClass>
|
780
|
+
<ccts:RepresentationTerm>Payment Terms</ccts:RepresentationTerm>
|
781
|
+
</ccts:Component>
|
782
|
+
</xsd:documentation>
|
783
|
+
</xsd:annotation>
|
784
|
+
</xsd:element>
|
785
|
+
<xsd:element ref="cac:PrepaidPayment" minOccurs="0" maxOccurs="unbounded">
|
786
|
+
<xsd:annotation>
|
787
|
+
<xsd:documentation>
|
788
|
+
<ccts:Component>
|
789
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
790
|
+
<ccts:DictionaryEntryName>Invoice. Prepaid_ Payment. Payment</ccts:DictionaryEntryName>
|
791
|
+
<ccts:Definition>A prepaid payment.</ccts:Definition>
|
792
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
793
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
794
|
+
<ccts:PropertyTermQualifier>Prepaid</ccts:PropertyTermQualifier>
|
795
|
+
<ccts:PropertyTerm>Payment</ccts:PropertyTerm>
|
796
|
+
<ccts:AssociatedObjectClass>Payment</ccts:AssociatedObjectClass>
|
797
|
+
<ccts:RepresentationTerm>Payment</ccts:RepresentationTerm>
|
798
|
+
</ccts:Component>
|
799
|
+
</xsd:documentation>
|
800
|
+
</xsd:annotation>
|
801
|
+
</xsd:element>
|
802
|
+
<xsd:element ref="cac:AllowanceCharge" minOccurs="0" maxOccurs="unbounded">
|
803
|
+
<xsd:annotation>
|
804
|
+
<xsd:documentation>
|
805
|
+
<ccts:Component>
|
806
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
807
|
+
<ccts:DictionaryEntryName>Invoice. Allowance Charge</ccts:DictionaryEntryName>
|
808
|
+
<ccts:Definition>A discount or charge that applies to a price component.</ccts:Definition>
|
809
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
810
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
811
|
+
<ccts:PropertyTerm>Allowance Charge</ccts:PropertyTerm>
|
812
|
+
<ccts:AssociatedObjectClass>Allowance Charge</ccts:AssociatedObjectClass>
|
813
|
+
<ccts:RepresentationTerm>Allowance Charge</ccts:RepresentationTerm>
|
814
|
+
</ccts:Component>
|
815
|
+
</xsd:documentation>
|
816
|
+
</xsd:annotation>
|
817
|
+
</xsd:element>
|
818
|
+
<xsd:element ref="cac:TaxExchangeRate" minOccurs="0" maxOccurs="1">
|
819
|
+
<xsd:annotation>
|
820
|
+
<xsd:documentation>
|
821
|
+
<ccts:Component>
|
822
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
823
|
+
<ccts:DictionaryEntryName>Invoice. Tax_ Exchange Rate. Exchange Rate</ccts:DictionaryEntryName>
|
824
|
+
<ccts:Definition>The exchange rate between the document currency and the tax currency.</ccts:Definition>
|
825
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
826
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
827
|
+
<ccts:PropertyTermQualifier>Tax</ccts:PropertyTermQualifier>
|
828
|
+
<ccts:PropertyTerm>Exchange Rate</ccts:PropertyTerm>
|
829
|
+
<ccts:AssociatedObjectClass>Exchange Rate</ccts:AssociatedObjectClass>
|
830
|
+
<ccts:RepresentationTerm>Exchange Rate</ccts:RepresentationTerm>
|
831
|
+
</ccts:Component>
|
832
|
+
</xsd:documentation>
|
833
|
+
</xsd:annotation>
|
834
|
+
</xsd:element>
|
835
|
+
<xsd:element ref="cac:PricingExchangeRate" minOccurs="0" maxOccurs="1">
|
836
|
+
<xsd:annotation>
|
837
|
+
<xsd:documentation>
|
838
|
+
<ccts:Component>
|
839
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
840
|
+
<ccts:DictionaryEntryName>Invoice. Pricing_ Exchange Rate. Exchange Rate</ccts:DictionaryEntryName>
|
841
|
+
<ccts:Definition>The exchange rate between the document currency and the pricing currency.</ccts:Definition>
|
842
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
843
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
844
|
+
<ccts:PropertyTermQualifier>Pricing</ccts:PropertyTermQualifier>
|
845
|
+
<ccts:PropertyTerm>Exchange Rate</ccts:PropertyTerm>
|
846
|
+
<ccts:AssociatedObjectClass>Exchange Rate</ccts:AssociatedObjectClass>
|
847
|
+
<ccts:RepresentationTerm>Exchange Rate</ccts:RepresentationTerm>
|
848
|
+
</ccts:Component>
|
849
|
+
</xsd:documentation>
|
850
|
+
</xsd:annotation>
|
851
|
+
</xsd:element>
|
852
|
+
<xsd:element ref="cac:PaymentExchangeRate" minOccurs="0" maxOccurs="1">
|
853
|
+
<xsd:annotation>
|
854
|
+
<xsd:documentation>
|
855
|
+
<ccts:Component>
|
856
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
857
|
+
<ccts:DictionaryEntryName>Invoice. Payment_ Exchange Rate. Exchange Rate</ccts:DictionaryEntryName>
|
858
|
+
<ccts:Definition>The exchange rate between the document currency and the payment currency.</ccts:Definition>
|
859
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
860
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
861
|
+
<ccts:PropertyTermQualifier>Payment</ccts:PropertyTermQualifier>
|
862
|
+
<ccts:PropertyTerm>Exchange Rate</ccts:PropertyTerm>
|
863
|
+
<ccts:AssociatedObjectClass>Exchange Rate</ccts:AssociatedObjectClass>
|
864
|
+
<ccts:RepresentationTerm>Exchange Rate</ccts:RepresentationTerm>
|
865
|
+
</ccts:Component>
|
866
|
+
</xsd:documentation>
|
867
|
+
</xsd:annotation>
|
868
|
+
</xsd:element>
|
869
|
+
<xsd:element ref="cac:PaymentAlternativeExchangeRate"
|
870
|
+
minOccurs="0"
|
871
|
+
maxOccurs="1">
|
872
|
+
<xsd:annotation>
|
873
|
+
<xsd:documentation>
|
874
|
+
<ccts:Component>
|
875
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
876
|
+
<ccts:DictionaryEntryName>Invoice. Payment Alternative_ Exchange Rate. Exchange Rate</ccts:DictionaryEntryName>
|
877
|
+
<ccts:Definition>The exchange rate between the document currency and the payment alternative currency.</ccts:Definition>
|
878
|
+
<ccts:Cardinality>0..1</ccts:Cardinality>
|
879
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
880
|
+
<ccts:PropertyTermQualifier>Payment Alternative</ccts:PropertyTermQualifier>
|
881
|
+
<ccts:PropertyTerm>Exchange Rate</ccts:PropertyTerm>
|
882
|
+
<ccts:AssociatedObjectClass>Exchange Rate</ccts:AssociatedObjectClass>
|
883
|
+
<ccts:RepresentationTerm>Exchange Rate</ccts:RepresentationTerm>
|
884
|
+
</ccts:Component>
|
885
|
+
</xsd:documentation>
|
886
|
+
</xsd:annotation>
|
887
|
+
</xsd:element>
|
888
|
+
<xsd:element ref="cac:TaxTotal" minOccurs="0" maxOccurs="unbounded">
|
889
|
+
<xsd:annotation>
|
890
|
+
<xsd:documentation>
|
891
|
+
<ccts:Component>
|
892
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
893
|
+
<ccts:DictionaryEntryName>Invoice. Tax Total</ccts:DictionaryEntryName>
|
894
|
+
<ccts:Definition>The total amount of a specific type of tax.</ccts:Definition>
|
895
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
896
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
897
|
+
<ccts:PropertyTerm>Tax Total</ccts:PropertyTerm>
|
898
|
+
<ccts:AssociatedObjectClass>Tax Total</ccts:AssociatedObjectClass>
|
899
|
+
<ccts:RepresentationTerm>Tax Total</ccts:RepresentationTerm>
|
900
|
+
</ccts:Component>
|
901
|
+
</xsd:documentation>
|
902
|
+
</xsd:annotation>
|
903
|
+
</xsd:element>
|
904
|
+
<xsd:element ref="cac:WithholdingTaxTotal" minOccurs="0" maxOccurs="unbounded">
|
905
|
+
<xsd:annotation>
|
906
|
+
<xsd:documentation>
|
907
|
+
<ccts:Component>
|
908
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
909
|
+
<ccts:DictionaryEntryName>Invoice. Withholding_ Tax Total. Tax Total</ccts:DictionaryEntryName>
|
910
|
+
<ccts:Definition>The total withholding tax.</ccts:Definition>
|
911
|
+
<ccts:Cardinality>0..n</ccts:Cardinality>
|
912
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
913
|
+
<ccts:PropertyTermQualifier>Withholding</ccts:PropertyTermQualifier>
|
914
|
+
<ccts:PropertyTerm>Tax Total</ccts:PropertyTerm>
|
915
|
+
<ccts:AssociatedObjectClass>Tax Total</ccts:AssociatedObjectClass>
|
916
|
+
<ccts:RepresentationTerm>Tax Total</ccts:RepresentationTerm>
|
917
|
+
</ccts:Component>
|
918
|
+
</xsd:documentation>
|
919
|
+
</xsd:annotation>
|
920
|
+
</xsd:element>
|
921
|
+
<xsd:element ref="cac:LegalMonetaryTotal" minOccurs="1" maxOccurs="1">
|
922
|
+
<xsd:annotation>
|
923
|
+
<xsd:documentation>
|
924
|
+
<ccts:Component>
|
925
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
926
|
+
<ccts:DictionaryEntryName>Invoice. Legal_ Monetary Total. Monetary Total</ccts:DictionaryEntryName>
|
927
|
+
<ccts:Definition>The total amount payable on the Invoice, including Allowances, Charges, and Taxes.</ccts:Definition>
|
928
|
+
<ccts:Cardinality>1</ccts:Cardinality>
|
929
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
930
|
+
<ccts:PropertyTermQualifier>Legal</ccts:PropertyTermQualifier>
|
931
|
+
<ccts:PropertyTerm>Monetary Total</ccts:PropertyTerm>
|
932
|
+
<ccts:AssociatedObjectClass>Monetary Total</ccts:AssociatedObjectClass>
|
933
|
+
<ccts:RepresentationTerm>Monetary Total</ccts:RepresentationTerm>
|
934
|
+
</ccts:Component>
|
935
|
+
</xsd:documentation>
|
936
|
+
</xsd:annotation>
|
937
|
+
</xsd:element>
|
938
|
+
<xsd:element ref="cac:InvoiceLine" minOccurs="1" maxOccurs="unbounded">
|
939
|
+
<xsd:annotation>
|
940
|
+
<xsd:documentation>
|
941
|
+
<ccts:Component>
|
942
|
+
<ccts:ComponentType>ASBIE</ccts:ComponentType>
|
943
|
+
<ccts:DictionaryEntryName>Invoice. Invoice Line</ccts:DictionaryEntryName>
|
944
|
+
<ccts:Definition>A line describing an invoice item.</ccts:Definition>
|
945
|
+
<ccts:Cardinality>1..n</ccts:Cardinality>
|
946
|
+
<ccts:ObjectClass>Invoice</ccts:ObjectClass>
|
947
|
+
<ccts:PropertyTerm>Invoice Line</ccts:PropertyTerm>
|
948
|
+
<ccts:AssociatedObjectClass>Invoice Line</ccts:AssociatedObjectClass>
|
949
|
+
<ccts:RepresentationTerm>Invoice Line</ccts:RepresentationTerm>
|
950
|
+
</ccts:Component>
|
951
|
+
</xsd:documentation>
|
952
|
+
</xsd:annotation>
|
953
|
+
</xsd:element>
|
954
|
+
</xsd:sequence>
|
955
|
+
</xsd:complexType>
|
956
|
+
</xsd:schema>
|
957
|
+
<!-- ===== Copyright Notice ===== --><!--
|
958
|
+
OASIS takes no position regarding the validity or scope of any
|
959
|
+
intellectual property or other rights that might be claimed to pertain
|
960
|
+
to the implementation or use of the technology described in this
|
961
|
+
document or the extent to which any license under such rights
|
962
|
+
might or might not be available; neither does it represent that it has
|
963
|
+
made any effort to identify any such rights. Information on OASIS's
|
964
|
+
procedures with respect to rights in OASIS specifications can be
|
965
|
+
found at the OASIS website. Copies of claims of rights made
|
966
|
+
available for publication and any assurances of licenses to be made
|
967
|
+
available, or the result of an attempt made to obtain a general
|
968
|
+
license or permission for the use of such proprietary rights by
|
969
|
+
implementors or users of this specification, can be obtained from
|
970
|
+
the OASIS Executive Director.
|
971
|
+
|
972
|
+
OASIS invites any interested party to bring to its attention any
|
973
|
+
copyrights, patents or patent applications, or other proprietary
|
974
|
+
rights which may cover technology that may be required to
|
975
|
+
implement this specification. Please address the information to the
|
976
|
+
OASIS Executive Director.
|
977
|
+
|
978
|
+
This document and translations of it may be copied and furnished to
|
979
|
+
others, and derivative works that comment on or otherwise explain
|
980
|
+
it or assist in its implementation may be prepared, copied,
|
981
|
+
published and distributed, in whole or in part, without restriction of
|
982
|
+
any kind, provided that the above copyright notice and this
|
983
|
+
paragraph are included on all such copies and derivative works.
|
984
|
+
However, this document itself may not be modified in any way,
|
985
|
+
such as by removing the copyright notice or references to OASIS,
|
986
|
+
except as needed for the purpose of developing OASIS
|
987
|
+
specifications, in which case the procedures for copyrights defined
|
988
|
+
in the OASIS Intellectual Property Rights document must be
|
989
|
+
followed, or as required to translate it into languages other than
|
990
|
+
English.
|
991
|
+
|
992
|
+
The limited permissions granted above are perpetual and will not be
|
993
|
+
revoked by OASIS or its successors or assigns.
|
994
|
+
|
995
|
+
This document and the information contained herein is provided on
|
996
|
+
an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES,
|
997
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
|
998
|
+
WARRANTY THAT THE USE OF THE INFORMATION HEREIN
|
999
|
+
WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
|
1000
|
+
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
|
1001
|
+
PARTICULAR PURPOSE.
|
1002
|
+
-->
|