Invoice-2 DEFINITIONS AUTOMATIC TAGS ::= BEGIN IMPORTS UBLVersionID, CustomizationID, ProfileID, ID, CopyIndicator, UUID, IssueDate, InvoiceTypeCode, Note, TaxPointDate FROM CommonBasicComponents-2 InvoicePeriod, OrderReference, AccountingSupplierParty, AccountingCustomerParty, Delivery, PaymentMeans, PaymentTerms, AllowanceCharge, TaxTotal, LegalMonetaryTotal, InvoiceLine FROM CommonAggregateComponents-2; Invoice ::= InvoiceType InvoiceType ::= SEQUENCE { uBLVersionID UBLVersionID OPTIONAL, customizationID CustomizationID OPTIONAL, profileID ProfileID OPTIONAL, iD ID, copyIndicator CopyIndicator OPTIONAL, uUID UUID OPTIONAL, issueDate IssueDate, invoiceTypeCode InvoiceTypeCode OPTIONAL, note-list SEQUENCE OF note Note, taxPointDate TaxPointDate OPTIONAL, invoicePeriod-list SEQUENCE OF invoicePeriod InvoicePeriod, orderReference OrderReference OPTIONAL, accountingSupplierParty AccountingSupplierParty, accountingCustomerParty AccountingCustomerParty, delivery-list SEQUENCE OF delivery Delivery, paymentMeans-list SEQUENCE OF paymentMeans PaymentMeans, paymentTerms-list SEQUENCE OF paymentTerms PaymentTerms, allowanceCharge-list SEQUENCE OF allowanceCharge AllowanceCharge, taxTotal-list SEQUENCE OF taxTotal TaxTotal, legalMonetaryTotal LegalMonetaryTotal, invoiceLine-list SEQUENCE (SIZE(1..MAX)) OF invoiceLine InvoiceLine } ENCODING-CONTROL XER GLOBAL-DEFAULTS MODIFIED-ENCODINGS GLOBAL-DEFAULTS CONTROL-NAMESPACE "http://www.w3.org/2001/XMLSchema-instance" PREFIX "xsi" NAMESPACE ALL, ALL IN ALL AS "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" PREFIX "ns23" NAMESPACE InvoiceType.uBLVersionID, InvoiceType.customizationID, InvoiceType.profileID, InvoiceType.iD, InvoiceType.copyIndicator, InvoiceType.uUID, InvoiceType.issueDate, InvoiceType.invoiceTypeCode, InvoiceType.note-list.note, InvoiceType.taxPointDate AS "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" PREFIX "ns5" NAMESPACE InvoiceType.invoicePeriod-list.invoicePeriod, InvoiceType.orderReference, InvoiceType.accountingSupplierParty, InvoiceType.accountingCustomerParty, InvoiceType.delivery-list.delivery, InvoiceType.paymentMeans-list.paymentMeans, InvoiceType.paymentTerms-list.paymentTerms, InvoiceType.allowanceCharge-list.allowanceCharge, InvoiceType.taxTotal-list.taxTotal, InvoiceType.legalMonetaryTotal, InvoiceType.invoiceLine-list.invoiceLine AS "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" PREFIX "ns4" NAME ALL IN InvoiceType, InvoiceType.note-list.note, InvoiceType.invoicePeriod-list.invoicePeriod, InvoiceType.delivery-list.delivery, InvoiceType.paymentMeans-list.paymentMeans, InvoiceType.paymentTerms-list.paymentTerms, InvoiceType.allowanceCharge-list.allowanceCharge, InvoiceType.taxTotal-list.taxTotal, InvoiceType.invoiceLine-list.invoiceLine AS CAPITALIZED UNTAGGED SEQUENCE OF END