diff --git a/Modules.Interfaces/ZUGFeRDInterface.vb b/Modules.Interfaces/ZUGFeRDInterface.vb index d86d104c..1b24c0f2 100644 --- a/Modules.Interfaces/ZUGFeRDInterface.vb +++ b/Modules.Interfaces/ZUGFeRDInterface.vb @@ -123,25 +123,26 @@ Public Class ZUGFeRDInterface Dim oXmlDocument As XPathDocument If Results Is Nothing Then - Throw New ZUGFeRDExecption(ErrorType.NoZugferd, "Datei ist keine ZUGFeRD Datei.") + Throw New ZUGFeRDExecption(ErrorType.NoZugferd, "Datei ist keine ZUGFeRD Datei, weil die Attachments nicht gelesen werden konnten.") End If If Results.Count = 0 Then - Throw New ZUGFeRDExecption(ErrorType.NoZugferd, "Datei ist keine ZUGFeRD Datei.") + Throw New ZUGFeRDExecption(ErrorType.NoZugferd, "Datei ist keine ZUGFeRD Datei, weil sie keine Attachments enthält.") End If - Dim oFound As Boolean = False - Dim oFoundResult As PDFEmbeds.EmbeddedFile = Nothing + Dim oValidFilenames As New List(Of String) From { + PDFEmbeds.ZUGFERD_XML_FILENAME.ToUpper, + PDFEmbeds.FACTUR_X_XML_FILENAME_DE.ToUpper, + PDFEmbeds.FACTUR_X_XML_FILENAME_FR.ToUpper + } - For Each oResult In Results - If oResult.FileName.ToUpper() = PDFEmbeds.ZUGFERD_XML_FILENAME.ToUpper() Then - oFound = True - oFoundResult = oResult - End If - Next + ' Find the first file which filename matches the valid filenames for embedded invoice files + Dim oFoundResult As PDFEmbeds.EmbeddedFile = Results. + Where(Function(result) oValidFilenames.Contains(result.FileName.ToUpper)). + FirstOrDefault() - If Not oFound Then - Throw New ZUGFeRDExecption(ErrorType.NoZugferd, "Datei ist keine ZUGFeRD Datei.") + If oFoundResult Is Nothing Then + Throw New ZUGFeRDExecption(ErrorType.NoZugferd, "Datei ist keine ZUGFeRD Datei, weil die zugferd-invoice.xml nicht gefunden wurde.") End If Try @@ -170,7 +171,8 @@ Public Class ZUGFeRDInterface Dim oTypes As New List(Of Type) From { GetType(ZUGFeRD.Version1_0.CrossIndustryDocumentType), GetType(ZUGFeRD.Version2_0.CrossIndustryInvoiceType), - GetType(ZUGFeRD.Version2_1_1.CrossIndustryInvoiceType) + GetType(ZUGFeRD.Version2_1_1.CrossIndustryInvoiceType), + GetType(ZUGFeRD.Version2_2_FacturX.CrossIndustryInvoiceType) } For Each oType In oTypes diff --git a/Modules.Interfaces/ZUGFeRDInterface/PDFEmbeds.vb b/Modules.Interfaces/ZUGFeRDInterface/PDFEmbeds.vb index 215b7198..b9143772 100644 --- a/Modules.Interfaces/ZUGFeRDInterface/PDFEmbeds.vb +++ b/Modules.Interfaces/ZUGFeRDInterface/PDFEmbeds.vb @@ -7,6 +7,8 @@ Public Class PDFEmbeds Private ReadOnly Logger As Logger Public Const ZUGFERD_XML_FILENAME = "ZUGFeRD-invoice.xml" + Public Const FACTUR_X_XML_FILENAME_FR = "factur-x.xml" + Public Const FACTUR_X_XML_FILENAME_DE = "xrechnung.xml" Public Class EmbeddedFile Public FileName As String diff --git a/Modules.Interfaces/ZUGFeRDInterface/Version2.2_FacturX/CrossIndustryInvoiceType.vb b/Modules.Interfaces/ZUGFeRDInterface/Version2.2_FacturX/CrossIndustryInvoiceType.vb new file mode 100644 index 00000000..61d654b2 --- /dev/null +++ b/Modules.Interfaces/ZUGFeRDInterface/Version2.2_FacturX/CrossIndustryInvoiceType.vb @@ -0,0 +1,4427 @@ +'------------------------------------------------------------------------------ +' +' Dieser Code wurde von einem Tool generiert. +' Laufzeitversion:4.0.30319.42000 +' +' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn +' der Code erneut generiert wird. +' +'------------------------------------------------------------------------------ + +Option Strict Off +Option Explicit On + +' +'This source code was auto-generated by xsd, Version=4.6.1055.0. +'Source: Factur-X_1.0.06_BASIC_XSD + +Namespace ZUGFeRD.Version2_2_FacturX + ''' + + Partial Public Class CrossIndustryInvoiceType + + Private exchangedDocumentContextField As ExchangedDocumentContextType + + Private exchangedDocumentField As ExchangedDocumentType + + Private supplyChainTradeTransactionField As SupplyChainTradeTransactionType + + ''' + Public Property ExchangedDocumentContext() As ExchangedDocumentContextType + Get + Return Me.exchangedDocumentContextField + End Get + Set + Me.exchangedDocumentContextField = Value + End Set + End Property + + ''' + Public Property ExchangedDocument() As ExchangedDocumentType + Get + Return Me.exchangedDocumentField + End Get + Set + Me.exchangedDocumentField = Value + End Set + End Property + + ''' + Public Property SupplyChainTradeTransaction() As SupplyChainTradeTransactionType + Get + Return Me.supplyChainTradeTransactionField + End Get + Set + Me.supplyChainTradeTransactionField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class ExchangedDocumentContextType + + Private businessProcessSpecifiedDocumentContextParameterField As DocumentContextParameterType + + Private guidelineSpecifiedDocumentContextParameterField As DocumentContextParameterType + + ''' + Public Property BusinessProcessSpecifiedDocumentContextParameter() As DocumentContextParameterType + Get + Return Me.businessProcessSpecifiedDocumentContextParameterField + End Get + Set + Me.businessProcessSpecifiedDocumentContextParameterField = Value + End Set + End Property + + ''' + Public Property GuidelineSpecifiedDocumentContextParameter() As DocumentContextParameterType + Get + Return Me.guidelineSpecifiedDocumentContextParameterField + End Get + Set + Me.guidelineSpecifiedDocumentContextParameterField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class DocumentContextParameterType + + Private idField As IDType + + ''' + Public Property ID() As IDType + Get + Return Me.idField + End Get + Set + Me.idField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class IDType + + Private schemeIDField As String + + Private valueField As String + + ''' + + Public Property schemeID() As String + Get + Return Me.schemeIDField + End Get + Set + Me.schemeIDField = Value + End Set + End Property + + ''' + + Public Property Value() As String + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class TradeAccountingAccountType + + Private idField As IDType + + ''' + Public Property ID() As IDType + Get + Return Me.idField + End Get + Set + Me.idField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class TradeSettlementHeaderMonetarySummationType + + Private lineTotalAmountField As AmountType + + Private chargeTotalAmountField As AmountType + + Private allowanceTotalAmountField As AmountType + + Private taxBasisTotalAmountField As AmountType + + Private taxTotalAmountField() As AmountType + + Private grandTotalAmountField As AmountType + + Private totalPrepaidAmountField As AmountType + + Private duePayableAmountField As AmountType + + ''' + Public Property LineTotalAmount() As AmountType + Get + Return Me.lineTotalAmountField + End Get + Set + Me.lineTotalAmountField = Value + End Set + End Property + + ''' + Public Property ChargeTotalAmount() As AmountType + Get + Return Me.chargeTotalAmountField + End Get + Set + Me.chargeTotalAmountField = Value + End Set + End Property + + ''' + Public Property AllowanceTotalAmount() As AmountType + Get + Return Me.allowanceTotalAmountField + End Get + Set + Me.allowanceTotalAmountField = Value + End Set + End Property + + ''' + Public Property TaxBasisTotalAmount() As AmountType + Get + Return Me.taxBasisTotalAmountField + End Get + Set + Me.taxBasisTotalAmountField = Value + End Set + End Property + + ''' + + Public Property TaxTotalAmount() As AmountType() + Get + Return Me.taxTotalAmountField + End Get + Set + Me.taxTotalAmountField = Value + End Set + End Property + + ''' + Public Property GrandTotalAmount() As AmountType + Get + Return Me.grandTotalAmountField + End Get + Set + Me.grandTotalAmountField = Value + End Set + End Property + + ''' + Public Property TotalPrepaidAmount() As AmountType + Get + Return Me.totalPrepaidAmountField + End Get + Set + Me.totalPrepaidAmountField = Value + End Set + End Property + + ''' + Public Property DuePayableAmount() As AmountType + Get + Return Me.duePayableAmountField + End Get + Set + Me.duePayableAmountField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class AmountType + + Private currencyIDField As String + + Private valueField As Decimal + + ''' + + Public Property currencyID() As String + Get + Return Me.currencyIDField + End Get + Set + Me.currencyIDField = Value + End Set + End Property + + ''' + + Public Property Value() As Decimal + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class TradePaymentTermsType + + Private descriptionField As TextType + + Private dueDateDateTimeField As DateTimeType + + Private directDebitMandateIDField As IDType + + ''' + Public Property Description() As TextType + Get + Return Me.descriptionField + End Get + Set + Me.descriptionField = Value + End Set + End Property + + ''' + Public Property DueDateDateTime() As DateTimeType + Get + Return Me.dueDateDateTimeField + End Get + Set + Me.dueDateDateTimeField = Value + End Set + End Property + + ''' + Public Property DirectDebitMandateID() As IDType + Get + Return Me.directDebitMandateIDField + End Get + Set + Me.directDebitMandateIDField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class TextType + + Private valueField As String + + ''' + + Public Property Value() As String + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class DateTimeType + + Private itemField As DateTimeTypeDateTimeString + + ''' + + Public Property Item() As DateTimeTypeDateTimeString + Get + Return Me.itemField + End Get + Set + Me.itemField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class DateTimeTypeDateTimeString + + Private formatField As String + + Private valueField As String + + ''' + + Public Property format() As String + Get + Return Me.formatField + End Get + Set + Me.formatField = Value + End Set + End Property + + ''' + + Public Property Value() As String + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class CreditorFinancialAccountType + + Private iBANIDField As IDType + + Private proprietaryIDField As IDType + + ''' + Public Property IBANID() As IDType + Get + Return Me.iBANIDField + End Get + Set + Me.iBANIDField = Value + End Set + End Property + + ''' + Public Property ProprietaryID() As IDType + Get + Return Me.proprietaryIDField + End Get + Set + Me.proprietaryIDField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class DebtorFinancialAccountType + + Private iBANIDField As IDType + + ''' + Public Property IBANID() As IDType + Get + Return Me.iBANIDField + End Get + Set + Me.iBANIDField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class PaymentMeansCodeType + + Private valueField As PaymentMeansCodeContentType + + ''' + + Public Property Value() As PaymentMeansCodeContentType + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Public Enum PaymentMeansCodeContentType + + ''' + + Item10 + + ''' + + Item20 + + ''' + + Item30 + + ''' + + Item42 + + ''' + + Item48 + + ''' + + Item49 + + ''' + + Item57 + + ''' + + Item58 + + ''' + + Item59 + + ''' + + Item97 + + ''' + ZZZ + End Enum + + ''' + + Partial Public Class TradeSettlementPaymentMeansType + + Private typeCodeField As PaymentMeansCodeType + + Private payerPartyDebtorFinancialAccountField As DebtorFinancialAccountType + + Private payeePartyCreditorFinancialAccountField As CreditorFinancialAccountType + + ''' + Public Property TypeCode() As PaymentMeansCodeType + Get + Return Me.typeCodeField + End Get + Set + Me.typeCodeField = Value + End Set + End Property + + ''' + Public Property PayerPartyDebtorFinancialAccount() As DebtorFinancialAccountType + Get + Return Me.payerPartyDebtorFinancialAccountField + End Get + Set + Me.payerPartyDebtorFinancialAccountField = Value + End Set + End Property + + ''' + Public Property PayeePartyCreditorFinancialAccount() As CreditorFinancialAccountType + Get + Return Me.payeePartyCreditorFinancialAccountField + End Get + Set + Me.payeePartyCreditorFinancialAccountField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class CurrencyCodeType + + Private valueField As CurrencyCodeContentType + + ''' + + Public Property Value() As CurrencyCodeContentType + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Public Enum CurrencyCodeContentType + + ''' + AED + + ''' + AFN + + ''' + ALL + + ''' + AMD + + ''' + ANG + + ''' + AOA + + ''' + ARS + + ''' + AUD + + ''' + AWG + + ''' + AZN + + ''' + BAM + + ''' + BBD + + ''' + BDT + + ''' + BGN + + ''' + BHD + + ''' + BIF + + ''' + BMD + + ''' + BND + + ''' + BOB + + ''' + BOV + + ''' + BRL + + ''' + BSD + + ''' + BTN + + ''' + BWP + + ''' + BYN + + ''' + BZD + + ''' + CAD + + ''' + CDF + + ''' + CHE + + ''' + CHF + + ''' + CHW + + ''' + CLF + + ''' + CLP + + ''' + CNY + + ''' + COP + + ''' + COU + + ''' + CRC + + ''' + CUC + + ''' + CUP + + ''' + CVE + + ''' + CZK + + ''' + DJF + + ''' + DKK + + ''' + DOP + + ''' + DZD + + ''' + EGP + + ''' + ERN + + ''' + ETB + + ''' + EUR + + ''' + FJD + + ''' + FKP + + ''' + GBP + + ''' + GEL + + ''' + GHS + + ''' + GIP + + ''' + GMD + + ''' + GNF + + ''' + GTQ + + ''' + GYD + + ''' + HKD + + ''' + HNL + + ''' + HRK + + ''' + HTG + + ''' + HUF + + ''' + IDR + + ''' + ILS + + ''' + INR + + ''' + IQD + + ''' + IRR + + ''' + ISK + + ''' + JMD + + ''' + JOD + + ''' + JPY + + ''' + KES + + ''' + KGS + + ''' + KHR + + ''' + KMF + + ''' + KPW + + ''' + KRW + + ''' + KWD + + ''' + KYD + + ''' + KZT + + ''' + LAK + + ''' + LBP + + ''' + LKR + + ''' + LRD + + ''' + LSL + + ''' + LYD + + ''' + MAD + + ''' + MDL + + ''' + MGA + + ''' + MKD + + ''' + MMK + + ''' + MNT + + ''' + MOP + + ''' + MRU + + ''' + MUR + + ''' + MVR + + ''' + MWK + + ''' + MXN + + ''' + MXV + + ''' + MYR + + ''' + MZN + + ''' + NAD + + ''' + NGN + + ''' + NIO + + ''' + NOK + + ''' + NPR + + ''' + NZD + + ''' + OMR + + ''' + PAB + + ''' + PEN + + ''' + PGK + + ''' + PHP + + ''' + PKR + + ''' + PLN + + ''' + PYG + + ''' + QAR + + ''' + RON + + ''' + RSD + + ''' + RUB + + ''' + RWF + + ''' + SAR + + ''' + SBD + + ''' + SCR + + ''' + SDG + + ''' + SEK + + ''' + SGD + + ''' + SHP + + ''' + SLL + + ''' + SOS + + ''' + SRD + + ''' + SSP + + ''' + STN + + ''' + SVC + + ''' + SYP + + ''' + SZL + + ''' + THB + + ''' + TJS + + ''' + TMT + + ''' + TND + + ''' + TOP + + ''' + [TRY] + + ''' + TTD + + ''' + TWD + + ''' + TZS + + ''' + UAH + + ''' + UGX + + ''' + USD + + ''' + USN + + ''' + UYI + + ''' + UYU + + ''' + UYW + + ''' + UZS + + ''' + VES + + ''' + VND + + ''' + VUV + + ''' + WST + + ''' + XAF + + ''' + XAG + + ''' + XAU + + ''' + XBA + + ''' + XBB + + ''' + XBC + + ''' + XBD + + ''' + XCD + + ''' + XDR + + ''' + XOF + + ''' + XPD + + ''' + XPF + + ''' + XPT + + ''' + XSU + + ''' + XTS + + ''' + XUA + + ''' + XXX + + ''' + YER + + ''' + ZAR + + ''' + ZMW + + ''' + ZWL + End Enum + + ''' + + Partial Public Class HeaderTradeSettlementType + + Private creditorReferenceIDField As IDType + + Private paymentReferenceField As TextType + + Private taxCurrencyCodeField As CurrencyCodeType + + Private invoiceCurrencyCodeField As CurrencyCodeType + + Private payeeTradePartyField As TradePartyType + + Private specifiedTradeSettlementPaymentMeansField As TradeSettlementPaymentMeansType + + Private applicableTradeTaxField() As TradeTaxType + + Private billingSpecifiedPeriodField As SpecifiedPeriodType + + Private specifiedTradeAllowanceChargeField() As TradeAllowanceChargeType + + Private specifiedTradePaymentTermsField As TradePaymentTermsType + + Private specifiedTradeSettlementHeaderMonetarySummationField As TradeSettlementHeaderMonetarySummationType + + Private invoiceReferencedDocumentField As ReferencedDocumentType + + Private receivableSpecifiedTradeAccountingAccountField As TradeAccountingAccountType + + ''' + Public Property CreditorReferenceID() As IDType + Get + Return Me.creditorReferenceIDField + End Get + Set + Me.creditorReferenceIDField = Value + End Set + End Property + + ''' + Public Property PaymentReference() As TextType + Get + Return Me.paymentReferenceField + End Get + Set + Me.paymentReferenceField = Value + End Set + End Property + + ''' + Public Property TaxCurrencyCode() As CurrencyCodeType + Get + Return Me.taxCurrencyCodeField + End Get + Set + Me.taxCurrencyCodeField = Value + End Set + End Property + + ''' + Public Property InvoiceCurrencyCode() As CurrencyCodeType + Get + Return Me.invoiceCurrencyCodeField + End Get + Set + Me.invoiceCurrencyCodeField = Value + End Set + End Property + + ''' + Public Property PayeeTradeParty() As TradePartyType + Get + Return Me.payeeTradePartyField + End Get + Set + Me.payeeTradePartyField = Value + End Set + End Property + + ''' + Public Property SpecifiedTradeSettlementPaymentMeans() As TradeSettlementPaymentMeansType + Get + Return Me.specifiedTradeSettlementPaymentMeansField + End Get + Set + Me.specifiedTradeSettlementPaymentMeansField = Value + End Set + End Property + + ''' + + Public Property ApplicableTradeTax() As TradeTaxType() + Get + Return Me.applicableTradeTaxField + End Get + Set + Me.applicableTradeTaxField = Value + End Set + End Property + + ''' + Public Property BillingSpecifiedPeriod() As SpecifiedPeriodType + Get + Return Me.billingSpecifiedPeriodField + End Get + Set + Me.billingSpecifiedPeriodField = Value + End Set + End Property + + ''' + + Public Property SpecifiedTradeAllowanceCharge() As TradeAllowanceChargeType() + Get + Return Me.specifiedTradeAllowanceChargeField + End Get + Set + Me.specifiedTradeAllowanceChargeField = Value + End Set + End Property + + ''' + Public Property SpecifiedTradePaymentTerms() As TradePaymentTermsType + Get + Return Me.specifiedTradePaymentTermsField + End Get + Set + Me.specifiedTradePaymentTermsField = Value + End Set + End Property + + ''' + Public Property SpecifiedTradeSettlementHeaderMonetarySummation() As TradeSettlementHeaderMonetarySummationType + Get + Return Me.specifiedTradeSettlementHeaderMonetarySummationField + End Get + Set + Me.specifiedTradeSettlementHeaderMonetarySummationField = Value + End Set + End Property + + ''' + Public Property InvoiceReferencedDocument() As ReferencedDocumentType + Get + Return Me.invoiceReferencedDocumentField + End Get + Set + Me.invoiceReferencedDocumentField = Value + End Set + End Property + + ''' + Public Property ReceivableSpecifiedTradeAccountingAccount() As TradeAccountingAccountType + Get + Return Me.receivableSpecifiedTradeAccountingAccountField + End Get + Set + Me.receivableSpecifiedTradeAccountingAccountField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class TradePartyType + + Private idField() As IDType + + Private globalIDField() As IDType + + Private nameField As TextType + + Private specifiedLegalOrganizationField As LegalOrganizationType + + Private postalTradeAddressField As TradeAddressType + + Private uRIUniversalCommunicationField As UniversalCommunicationType + + Private specifiedTaxRegistrationField() As TaxRegistrationType + + ''' + + Public Property ID() As IDType() + Get + Return Me.idField + End Get + Set + Me.idField = Value + End Set + End Property + + ''' + + Public Property GlobalID() As IDType() + Get + Return Me.globalIDField + End Get + Set + Me.globalIDField = Value + End Set + End Property + + ''' + Public Property Name() As TextType + Get + Return Me.nameField + End Get + Set + Me.nameField = Value + End Set + End Property + + ''' + Public Property SpecifiedLegalOrganization() As LegalOrganizationType + Get + Return Me.specifiedLegalOrganizationField + End Get + Set + Me.specifiedLegalOrganizationField = Value + End Set + End Property + + ''' + Public Property PostalTradeAddress() As TradeAddressType + Get + Return Me.postalTradeAddressField + End Get + Set + Me.postalTradeAddressField = Value + End Set + End Property + + ''' + Public Property URIUniversalCommunication() As UniversalCommunicationType + Get + Return Me.uRIUniversalCommunicationField + End Get + Set + Me.uRIUniversalCommunicationField = Value + End Set + End Property + + ''' + + Public Property SpecifiedTaxRegistration() As TaxRegistrationType() + Get + Return Me.specifiedTaxRegistrationField + End Get + Set + Me.specifiedTaxRegistrationField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class LegalOrganizationType + + Private idField As IDType + + Private tradingBusinessNameField As TextType + + ''' + Public Property ID() As IDType + Get + Return Me.idField + End Get + Set + Me.idField = Value + End Set + End Property + + ''' + Public Property TradingBusinessName() As TextType + Get + Return Me.tradingBusinessNameField + End Get + Set + Me.tradingBusinessNameField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class TradeAddressType + + Private postcodeCodeField As CodeType + + Private lineOneField As TextType + + Private lineTwoField As TextType + + Private lineThreeField As TextType + + Private cityNameField As TextType + + Private countryIDField As CountryIDType + + Private countrySubDivisionNameField As TextType + + ''' + Public Property PostcodeCode() As CodeType + Get + Return Me.postcodeCodeField + End Get + Set + Me.postcodeCodeField = Value + End Set + End Property + + ''' + Public Property LineOne() As TextType + Get + Return Me.lineOneField + End Get + Set + Me.lineOneField = Value + End Set + End Property + + ''' + Public Property LineTwo() As TextType + Get + Return Me.lineTwoField + End Get + Set + Me.lineTwoField = Value + End Set + End Property + + ''' + Public Property LineThree() As TextType + Get + Return Me.lineThreeField + End Get + Set + Me.lineThreeField = Value + End Set + End Property + + ''' + Public Property CityName() As TextType + Get + Return Me.cityNameField + End Get + Set + Me.cityNameField = Value + End Set + End Property + + ''' + Public Property CountryID() As CountryIDType + Get + Return Me.countryIDField + End Get + Set + Me.countryIDField = Value + End Set + End Property + + ''' + Public Property CountrySubDivisionName() As TextType + Get + Return Me.countrySubDivisionNameField + End Get + Set + Me.countrySubDivisionNameField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class CodeType + + Private valueField As String + + ''' + + Public Property Value() As String + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class CountryIDType + + Private valueField As CountryIDContentType + + ''' + + Public Property Value() As CountryIDContentType + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Public Enum CountryIDContentType + + ''' + + Item1A + + ''' + AD + + ''' + AE + + ''' + AF + + ''' + AG + + ''' + AI + + ''' + AL + + ''' + AM + + ''' + AO + + ''' + AQ + + ''' + AR + + ''' + [AS] + + ''' + AT + + ''' + AU + + ''' + AW + + ''' + AX + + ''' + AZ + + ''' + BA + + ''' + BB + + ''' + BD + + ''' + BE + + ''' + BF + + ''' + BG + + ''' + BH + + ''' + BI + + ''' + BJ + + ''' + BL + + ''' + BM + + ''' + BN + + ''' + BO + + ''' + BQ + + ''' + BR + + ''' + BS + + ''' + BT + + ''' + BV + + ''' + BW + + ''' + BY + + ''' + BZ + + ''' + CA + + ''' + CC + + ''' + CD + + ''' + CF + + ''' + CG + + ''' + CH + + ''' + CI + + ''' + CK + + ''' + CL + + ''' + CM + + ''' + CN + + ''' + CO + + ''' + CR + + ''' + CU + + ''' + CV + + ''' + CW + + ''' + CX + + ''' + CY + + ''' + CZ + + ''' + DE + + ''' + DJ + + ''' + DK + + ''' + DM + + ''' + [DO] + + ''' + DZ + + ''' + EC + + ''' + EE + + ''' + EG + + ''' + EH + + ''' + ER + + ''' + ES + + ''' + ET + + ''' + FI + + ''' + FJ + + ''' + FK + + ''' + FM + + ''' + FO + + ''' + FR + + ''' + GA + + ''' + GB + + ''' + GD + + ''' + GE + + ''' + GF + + ''' + GG + + ''' + GH + + ''' + GI + + ''' + GL + + ''' + GM + + ''' + GN + + ''' + GP + + ''' + GQ + + ''' + GR + + ''' + GS + + ''' + GT + + ''' + GU + + ''' + GW + + ''' + GY + + ''' + HK + + ''' + HM + + ''' + HN + + ''' + HR + + ''' + HT + + ''' + HU + + ''' + ID + + ''' + IE + + ''' + IL + + ''' + IM + + ''' + [IN] + + ''' + IO + + ''' + IQ + + ''' + IR + + ''' + [IS] + + ''' + IT + + ''' + JE + + ''' + JM + + ''' + JO + + ''' + JP + + ''' + KE + + ''' + KG + + ''' + KH + + ''' + KI + + ''' + KM + + ''' + KN + + ''' + KP + + ''' + KR + + ''' + KW + + ''' + KY + + ''' + KZ + + ''' + LA + + ''' + LB + + ''' + LC + + ''' + LI + + ''' + LK + + ''' + LR + + ''' + LS + + ''' + LT + + ''' + LU + + ''' + LV + + ''' + LY + + ''' + MA + + ''' + MC + + ''' + MD + + ''' + [ME] + + ''' + MF + + ''' + MG + + ''' + MH + + ''' + MK + + ''' + ML + + ''' + MM + + ''' + MN + + ''' + MO + + ''' + MP + + ''' + MQ + + ''' + MR + + ''' + MS + + ''' + MT + + ''' + MU + + ''' + MV + + ''' + MW + + ''' + MX + + ''' + MY + + ''' + MZ + + ''' + NA + + ''' + NC + + ''' + NE + + ''' + NF + + ''' + NG + + ''' + NI + + ''' + NL + + ''' + NO + + ''' + NP + + ''' + NR + + ''' + NU + + ''' + NZ + + ''' + OM + + ''' + PA + + ''' + PE + + ''' + PF + + ''' + PG + + ''' + PH + + ''' + PK + + ''' + PL + + ''' + PM + + ''' + PN + + ''' + PR + + ''' + PS + + ''' + PT + + ''' + PW + + ''' + PY + + ''' + QA + + ''' + RE + + ''' + RO + + ''' + RS + + ''' + RU + + ''' + RW + + ''' + SA + + ''' + SB + + ''' + SC + + ''' + SD + + ''' + SE + + ''' + SG + + ''' + SH + + ''' + SI + + ''' + SJ + + ''' + SK + + ''' + SL + + ''' + SM + + ''' + SN + + ''' + SO + + ''' + SR + + ''' + SS + + ''' + ST + + ''' + SV + + ''' + SX + + ''' + SY + + ''' + SZ + + ''' + TC + + ''' + TD + + ''' + TF + + ''' + TG + + ''' + TH + + ''' + TJ + + ''' + TK + + ''' + TL + + ''' + TM + + ''' + TN + + ''' + [TO] + + ''' + TR + + ''' + TT + + ''' + TV + + ''' + TW + + ''' + TZ + + ''' + UA + + ''' + UG + + ''' + UM + + ''' + US + + ''' + UY + + ''' + UZ + + ''' + VA + + ''' + VC + + ''' + VE + + ''' + VG + + ''' + VI + + ''' + VN + + ''' + VU + + ''' + WF + + ''' + WS + + ''' + XI + + ''' + YE + + ''' + YT + + ''' + ZA + + ''' + ZM + + ''' + ZW + End Enum + + ''' + + Partial Public Class UniversalCommunicationType + + Private uRIIDField As IDType + + ''' + Public Property URIID() As IDType + Get + Return Me.uRIIDField + End Get + Set + Me.uRIIDField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class TaxRegistrationType + + Private idField As IDType + + ''' + Public Property ID() As IDType + Get + Return Me.idField + End Get + Set + Me.idField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class TradeTaxType + + Private calculatedAmountField As AmountType + + Private typeCodeField As TaxTypeCodeType + + Private exemptionReasonField As TextType + + Private basisAmountField As AmountType + + Private categoryCodeField As TaxCategoryCodeType + + Private exemptionReasonCodeField As CodeType + + Private dueDateTypeCodeField As TimeReferenceCodeType + + Private rateApplicablePercentField As PercentType + + ''' + Public Property CalculatedAmount() As AmountType + Get + Return Me.calculatedAmountField + End Get + Set + Me.calculatedAmountField = Value + End Set + End Property + + ''' + Public Property TypeCode() As TaxTypeCodeType + Get + Return Me.typeCodeField + End Get + Set + Me.typeCodeField = Value + End Set + End Property + + ''' + Public Property ExemptionReason() As TextType + Get + Return Me.exemptionReasonField + End Get + Set + Me.exemptionReasonField = Value + End Set + End Property + + ''' + Public Property BasisAmount() As AmountType + Get + Return Me.basisAmountField + End Get + Set + Me.basisAmountField = Value + End Set + End Property + + ''' + Public Property CategoryCode() As TaxCategoryCodeType + Get + Return Me.categoryCodeField + End Get + Set + Me.categoryCodeField = Value + End Set + End Property + + ''' + Public Property ExemptionReasonCode() As CodeType + Get + Return Me.exemptionReasonCodeField + End Get + Set + Me.exemptionReasonCodeField = Value + End Set + End Property + + ''' + Public Property DueDateTypeCode() As TimeReferenceCodeType + Get + Return Me.dueDateTypeCodeField + End Get + Set + Me.dueDateTypeCodeField = Value + End Set + End Property + + ''' + Public Property RateApplicablePercent() As PercentType + Get + Return Me.rateApplicablePercentField + End Get + Set + Me.rateApplicablePercentField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class TaxTypeCodeType + + Private valueField As TaxTypeCodeContentType + + ''' + + Public Property Value() As TaxTypeCodeContentType + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Public Enum TaxTypeCodeContentType + + ''' + VAT + End Enum + + ''' + + Partial Public Class TaxCategoryCodeType + + Private valueField As TaxCategoryCodeContentType + + ''' + + Public Property Value() As TaxCategoryCodeContentType + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Public Enum TaxCategoryCodeContentType + + ''' + AE + + ''' + E + + ''' + G + + ''' + K + + ''' + L + + ''' + M + + ''' + O + + ''' + S + + ''' + Z + End Enum + + ''' + + Partial Public Class TimeReferenceCodeType + + Private valueField As TimeReferenceCodeContentType + + ''' + + Public Property Value() As TimeReferenceCodeContentType + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Public Enum TimeReferenceCodeContentType + + ''' + + Item5 + + ''' + + Item29 + + ''' + + Item72 + End Enum + + ''' + + Partial Public Class PercentType + + Private valueField As Decimal + + ''' + + Public Property Value() As Decimal + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class SpecifiedPeriodType + + Private startDateTimeField As DateTimeType + + Private endDateTimeField As DateTimeType + + ''' + Public Property StartDateTime() As DateTimeType + Get + Return Me.startDateTimeField + End Get + Set + Me.startDateTimeField = Value + End Set + End Property + + ''' + Public Property EndDateTime() As DateTimeType + Get + Return Me.endDateTimeField + End Get + Set + Me.endDateTimeField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class TradeAllowanceChargeType + + Private chargeIndicatorField As IndicatorType + + Private calculationPercentField As PercentType + + Private basisAmountField As AmountType + + Private actualAmountField As AmountType + + Private reasonCodeField As AllowanceChargeReasonCodeType + + Private reasonField As TextType + + Private categoryTradeTaxField As TradeTaxType + + ''' + Public Property ChargeIndicator() As IndicatorType + Get + Return Me.chargeIndicatorField + End Get + Set + Me.chargeIndicatorField = Value + End Set + End Property + + ''' + Public Property CalculationPercent() As PercentType + Get + Return Me.calculationPercentField + End Get + Set + Me.calculationPercentField = Value + End Set + End Property + + ''' + Public Property BasisAmount() As AmountType + Get + Return Me.basisAmountField + End Get + Set + Me.basisAmountField = Value + End Set + End Property + + ''' + Public Property ActualAmount() As AmountType + Get + Return Me.actualAmountField + End Get + Set + Me.actualAmountField = Value + End Set + End Property + + ''' + Public Property ReasonCode() As AllowanceChargeReasonCodeType + Get + Return Me.reasonCodeField + End Get + Set + Me.reasonCodeField = Value + End Set + End Property + + ''' + Public Property Reason() As TextType + Get + Return Me.reasonField + End Get + Set + Me.reasonField = Value + End Set + End Property + + ''' + Public Property CategoryTradeTax() As TradeTaxType + Get + Return Me.categoryTradeTaxField + End Get + Set + Me.categoryTradeTaxField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class IndicatorType + + Private itemField As Boolean + + ''' + + Public Property Item() As Boolean + Get + Return Me.itemField + End Get + Set + Me.itemField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class AllowanceChargeReasonCodeType + + Private valueField As AllowanceChargeReasonCodeContentType + + ''' + + Public Property Value() As AllowanceChargeReasonCodeContentType + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Public Enum AllowanceChargeReasonCodeContentType + + ''' + AA + + ''' + AAA + + ''' + AAC + + ''' + AAD + + ''' + AAE + + ''' + AAF + + ''' + AAH + + ''' + AAI + + ''' + AAS + + ''' + AAT + + ''' + AAV + + ''' + AAY + + ''' + AAZ + + ''' + ABA + + ''' + ABB + + ''' + ABC + + ''' + ABD + + ''' + ABF + + ''' + ABK + + ''' + ABL + + ''' + ABN + + ''' + ABR + + ''' + ABS + + ''' + ABT + + ''' + ABU + + ''' + ACF + + ''' + ACG + + ''' + ACH + + ''' + ACI + + ''' + ACJ + + ''' + ACK + + ''' + ACL + + ''' + ACM + + ''' + ACS + + ''' + ADC + + ''' + ADE + + ''' + ADJ + + ''' + ADK + + ''' + ADL + + ''' + ADM + + ''' + ADN + + ''' + ADO + + ''' + ADP + + ''' + ADQ + + ''' + ADR + + ''' + ADT + + ''' + ADW + + ''' + ADY + + ''' + ADZ + + ''' + AEA + + ''' + AEB + + ''' + AEC + + ''' + AED + + ''' + AEF + + ''' + AEH + + ''' + AEI + + ''' + AEJ + + ''' + AEK + + ''' + AEL + + ''' + AEM + + ''' + AEN + + ''' + AEO + + ''' + AEP + + ''' + AES + + ''' + AET + + ''' + AEU + + ''' + AEV + + ''' + AEW + + ''' + AEX + + ''' + AEY + + ''' + AEZ + + ''' + AJ + + ''' + AU + + ''' + CA + + ''' + CAB + + ''' + CAD + + ''' + CAE + + ''' + CAF + + ''' + CAI + + ''' + CAJ + + ''' + CAK + + ''' + CAL + + ''' + CAM + + ''' + CAN + + ''' + CAO + + ''' + CAP + + ''' + CAQ + + ''' + CAR + + ''' + CAS + + ''' + CAT + + ''' + CAU + + ''' + CAV + + ''' + CAW + + ''' + CAX + + ''' + CAY + + ''' + CAZ + + ''' + CD + + ''' + CG + + ''' + CS + + ''' + CT + + ''' + DAB + + ''' + DAC + + ''' + DAD + + ''' + DAF + + ''' + DAG + + ''' + DAH + + ''' + DAI + + ''' + DAJ + + ''' + DAK + + ''' + DAL + + ''' + DAM + + ''' + DAN + + ''' + DAO + + ''' + DAP + + ''' + DAQ + + ''' + DL + + ''' + EG + + ''' + EP + + ''' + ER + + ''' + FAA + + ''' + FAB + + ''' + FAC + + ''' + FC + + ''' + FH + + ''' + FI + + ''' + GAA + + ''' + HAA + + ''' + HD + + ''' + HH + + ''' + IAA + + ''' + IAB + + ''' + ID + + ''' + [IF] + + ''' + IR + + ''' + [IS] + + ''' + KO + + ''' + L1 + + ''' + LA + + ''' + LAA + + ''' + LAB + + ''' + LF + + ''' + MAE + + ''' + MI + + ''' + ML + + ''' + NAA + + ''' + OA + + ''' + PA + + ''' + PAA + + ''' + PC + + ''' + PL + + ''' + RAB + + ''' + RAC + + ''' + RAD + + ''' + RAF + + ''' + RE + + ''' + RF + + ''' + RH + + ''' + RV + + ''' + SA + + ''' + SAA + + ''' + SAD + + ''' + SAE + + ''' + SAI + + ''' + SG + + ''' + SH + + ''' + SM + + ''' + SU + + ''' + TAB + + ''' + TAC + + ''' + TT + + ''' + TV + + ''' + V1 + + ''' + V2 + + ''' + WH + + ''' + XAA + + ''' + YY + + ''' + ZZZ + + ''' + + Item41 + + ''' + + Item42 + + ''' + + Item60 + + ''' + + Item62 + + ''' + + Item63 + + ''' + + Item64 + + ''' + + Item65 + + ''' + + Item66 + + ''' + + Item67 + + ''' + + Item68 + + ''' + + Item70 + + ''' + + Item71 + + ''' + + Item88 + + ''' + + Item95 + + ''' + + Item100 + + ''' + + Item102 + + ''' + + Item103 + + ''' + + Item104 + + ''' + + Item105 + End Enum + + ''' + + Partial Public Class ReferencedDocumentType + + Private issuerAssignedIDField As IDType + + Private formattedIssueDateTimeField As FormattedDateTimeType + + ''' + Public Property IssuerAssignedID() As IDType + Get + Return Me.issuerAssignedIDField + End Get + Set + Me.issuerAssignedIDField = Value + End Set + End Property + + ''' + Public Property FormattedIssueDateTime() As FormattedDateTimeType + Get + Return Me.formattedIssueDateTimeField + End Get + Set + Me.formattedIssueDateTimeField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class FormattedDateTimeType + + Private dateTimeStringField As FormattedDateTimeTypeDateTimeString + + ''' + Public Property DateTimeString() As FormattedDateTimeTypeDateTimeString + Get + Return Me.dateTimeStringField + End Get + Set + Me.dateTimeStringField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class FormattedDateTimeTypeDateTimeString + + Private formatField As String + + Private valueField As String + + ''' + + Public Property format() As String + Get + Return Me.formatField + End Get + Set + Me.formatField = Value + End Set + End Property + + ''' + + Public Property Value() As String + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class SupplyChainEventType + + Private occurrenceDateTimeField As DateTimeType + + ''' + Public Property OccurrenceDateTime() As DateTimeType + Get + Return Me.occurrenceDateTimeField + End Get + Set + Me.occurrenceDateTimeField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class HeaderTradeDeliveryType + + Private shipToTradePartyField As TradePartyType + + Private actualDeliverySupplyChainEventField As SupplyChainEventType + + Private despatchAdviceReferencedDocumentField As ReferencedDocumentType + + ''' + Public Property ShipToTradeParty() As TradePartyType + Get + Return Me.shipToTradePartyField + End Get + Set + Me.shipToTradePartyField = Value + End Set + End Property + + ''' + Public Property ActualDeliverySupplyChainEvent() As SupplyChainEventType + Get + Return Me.actualDeliverySupplyChainEventField + End Get + Set + Me.actualDeliverySupplyChainEventField = Value + End Set + End Property + + ''' + Public Property DespatchAdviceReferencedDocument() As ReferencedDocumentType + Get + Return Me.despatchAdviceReferencedDocumentField + End Get + Set + Me.despatchAdviceReferencedDocumentField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class HeaderTradeAgreementType + + Private buyerReferenceField As TextType + + Private sellerTradePartyField As TradePartyType + + Private buyerTradePartyField As TradePartyType + + Private sellerTaxRepresentativeTradePartyField As TradePartyType + + Private buyerOrderReferencedDocumentField As ReferencedDocumentType + + Private contractReferencedDocumentField As ReferencedDocumentType + + ''' + Public Property BuyerReference() As TextType + Get + Return Me.buyerReferenceField + End Get + Set + Me.buyerReferenceField = Value + End Set + End Property + + ''' + Public Property SellerTradeParty() As TradePartyType + Get + Return Me.sellerTradePartyField + End Get + Set + Me.sellerTradePartyField = Value + End Set + End Property + + ''' + Public Property BuyerTradeParty() As TradePartyType + Get + Return Me.buyerTradePartyField + End Get + Set + Me.buyerTradePartyField = Value + End Set + End Property + + ''' + Public Property SellerTaxRepresentativeTradeParty() As TradePartyType + Get + Return Me.sellerTaxRepresentativeTradePartyField + End Get + Set + Me.sellerTaxRepresentativeTradePartyField = Value + End Set + End Property + + ''' + Public Property BuyerOrderReferencedDocument() As ReferencedDocumentType + Get + Return Me.buyerOrderReferencedDocumentField + End Get + Set + Me.buyerOrderReferencedDocumentField = Value + End Set + End Property + + ''' + Public Property ContractReferencedDocument() As ReferencedDocumentType + Get + Return Me.contractReferencedDocumentField + End Get + Set + Me.contractReferencedDocumentField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class TradeSettlementLineMonetarySummationType + + Private lineTotalAmountField As AmountType + + ''' + Public Property LineTotalAmount() As AmountType + Get + Return Me.lineTotalAmountField + End Get + Set + Me.lineTotalAmountField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class LineTradeSettlementType + + Private applicableTradeTaxField As TradeTaxType + + Private billingSpecifiedPeriodField As SpecifiedPeriodType + + Private specifiedTradeAllowanceChargeField() As TradeAllowanceChargeType + + Private specifiedTradeSettlementLineMonetarySummationField As TradeSettlementLineMonetarySummationType + + ''' + Public Property ApplicableTradeTax() As TradeTaxType + Get + Return Me.applicableTradeTaxField + End Get + Set + Me.applicableTradeTaxField = Value + End Set + End Property + + ''' + Public Property BillingSpecifiedPeriod() As SpecifiedPeriodType + Get + Return Me.billingSpecifiedPeriodField + End Get + Set + Me.billingSpecifiedPeriodField = Value + End Set + End Property + + ''' + + Public Property SpecifiedTradeAllowanceCharge() As TradeAllowanceChargeType() + Get + Return Me.specifiedTradeAllowanceChargeField + End Get + Set + Me.specifiedTradeAllowanceChargeField = Value + End Set + End Property + + ''' + Public Property SpecifiedTradeSettlementLineMonetarySummation() As TradeSettlementLineMonetarySummationType + Get + Return Me.specifiedTradeSettlementLineMonetarySummationField + End Get + Set + Me.specifiedTradeSettlementLineMonetarySummationField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class LineTradeDeliveryType + + Private billedQuantityField As QuantityType + + ''' + Public Property BilledQuantity() As QuantityType + Get + Return Me.billedQuantityField + End Get + Set + Me.billedQuantityField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class QuantityType + + Private unitCodeField As String + + Private valueField As Decimal + + ''' + + Public Property unitCode() As String + Get + Return Me.unitCodeField + End Get + Set + Me.unitCodeField = Value + End Set + End Property + + ''' + + Public Property Value() As Decimal + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class TradePriceType + + Private chargeAmountField As AmountType + + Private basisQuantityField As QuantityType + + Private appliedTradeAllowanceChargeField As TradeAllowanceChargeType + + ''' + Public Property ChargeAmount() As AmountType + Get + Return Me.chargeAmountField + End Get + Set + Me.chargeAmountField = Value + End Set + End Property + + ''' + Public Property BasisQuantity() As QuantityType + Get + Return Me.basisQuantityField + End Get + Set + Me.basisQuantityField = Value + End Set + End Property + + ''' + Public Property AppliedTradeAllowanceCharge() As TradeAllowanceChargeType + Get + Return Me.appliedTradeAllowanceChargeField + End Get + Set + Me.appliedTradeAllowanceChargeField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class LineTradeAgreementType + + Private grossPriceProductTradePriceField As TradePriceType + + Private netPriceProductTradePriceField As TradePriceType + + ''' + Public Property GrossPriceProductTradePrice() As TradePriceType + Get + Return Me.grossPriceProductTradePriceField + End Get + Set + Me.grossPriceProductTradePriceField = Value + End Set + End Property + + ''' + Public Property NetPriceProductTradePrice() As TradePriceType + Get + Return Me.netPriceProductTradePriceField + End Get + Set + Me.netPriceProductTradePriceField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class TradeProductType + + Private globalIDField As IDType + + Private nameField As TextType + + ''' + Public Property GlobalID() As IDType + Get + Return Me.globalIDField + End Get + Set + Me.globalIDField = Value + End Set + End Property + + ''' + Public Property Name() As TextType + Get + Return Me.nameField + End Get + Set + Me.nameField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class DocumentLineDocumentType + + Private lineIDField As IDType + + Private includedNoteField As NoteType + + ''' + Public Property LineID() As IDType + Get + Return Me.lineIDField + End Get + Set + Me.lineIDField = Value + End Set + End Property + + ''' + Public Property IncludedNote() As NoteType + Get + Return Me.includedNoteField + End Get + Set + Me.includedNoteField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class NoteType + + Private contentField As TextType + + Private subjectCodeField As CodeType + + ''' + Public Property Content() As TextType + Get + Return Me.contentField + End Get + Set + Me.contentField = Value + End Set + End Property + + ''' + Public Property SubjectCode() As CodeType + Get + Return Me.subjectCodeField + End Get + Set + Me.subjectCodeField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class SupplyChainTradeLineItemType + + Private associatedDocumentLineDocumentField As DocumentLineDocumentType + + Private specifiedTradeProductField As TradeProductType + + Private specifiedLineTradeAgreementField As LineTradeAgreementType + + Private specifiedLineTradeDeliveryField As LineTradeDeliveryType + + Private specifiedLineTradeSettlementField As LineTradeSettlementType + + ''' + Public Property AssociatedDocumentLineDocument() As DocumentLineDocumentType + Get + Return Me.associatedDocumentLineDocumentField + End Get + Set + Me.associatedDocumentLineDocumentField = Value + End Set + End Property + + ''' + Public Property SpecifiedTradeProduct() As TradeProductType + Get + Return Me.specifiedTradeProductField + End Get + Set + Me.specifiedTradeProductField = Value + End Set + End Property + + ''' + Public Property SpecifiedLineTradeAgreement() As LineTradeAgreementType + Get + Return Me.specifiedLineTradeAgreementField + End Get + Set + Me.specifiedLineTradeAgreementField = Value + End Set + End Property + + ''' + Public Property SpecifiedLineTradeDelivery() As LineTradeDeliveryType + Get + Return Me.specifiedLineTradeDeliveryField + End Get + Set + Me.specifiedLineTradeDeliveryField = Value + End Set + End Property + + ''' + Public Property SpecifiedLineTradeSettlement() As LineTradeSettlementType + Get + Return Me.specifiedLineTradeSettlementField + End Get + Set + Me.specifiedLineTradeSettlementField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class SupplyChainTradeTransactionType + + Private includedSupplyChainTradeLineItemField() As SupplyChainTradeLineItemType + + Private applicableHeaderTradeAgreementField As HeaderTradeAgreementType + + Private applicableHeaderTradeDeliveryField As HeaderTradeDeliveryType + + Private applicableHeaderTradeSettlementField As HeaderTradeSettlementType + + ''' + + Public Property IncludedSupplyChainTradeLineItem() As SupplyChainTradeLineItemType() + Get + Return Me.includedSupplyChainTradeLineItemField + End Get + Set + Me.includedSupplyChainTradeLineItemField = Value + End Set + End Property + + ''' + Public Property ApplicableHeaderTradeAgreement() As HeaderTradeAgreementType + Get + Return Me.applicableHeaderTradeAgreementField + End Get + Set + Me.applicableHeaderTradeAgreementField = Value + End Set + End Property + + ''' + Public Property ApplicableHeaderTradeDelivery() As HeaderTradeDeliveryType + Get + Return Me.applicableHeaderTradeDeliveryField + End Get + Set + Me.applicableHeaderTradeDeliveryField = Value + End Set + End Property + + ''' + Public Property ApplicableHeaderTradeSettlement() As HeaderTradeSettlementType + Get + Return Me.applicableHeaderTradeSettlementField + End Get + Set + Me.applicableHeaderTradeSettlementField = Value + End Set + End Property + End Class + + ''' + + Partial Public Class DocumentCodeType + + Private valueField As DocumentCodeContentType + + ''' + + Public Property Value() As DocumentCodeContentType + Get + Return Me.valueField + End Get + Set + Me.valueField = Value + End Set + End Property + End Class + + ''' + + Public Enum DocumentCodeContentType + + ''' + + Item80 + + ''' + + Item81 + + ''' + + Item82 + + ''' + + Item83 + + ''' + + Item84 + + ''' + + Item130 + + ''' + + Item202 + + ''' + + Item203 + + ''' + + Item204 + + ''' + + Item211 + + ''' + + Item261 + + ''' + + Item262 + + ''' + + Item295 + + ''' + + Item296 + + ''' + + Item308 + + ''' + + Item325 + + ''' + + Item326 + + ''' + + Item380 + + ''' + + Item381 + + ''' + + Item383 + + ''' + + Item384 + + ''' + + Item385 + + ''' + + Item386 + + ''' + + Item387 + + ''' + + Item388 + + ''' + + Item389 + + ''' + + Item390 + + ''' + + Item393 + + ''' + + Item394 + + ''' + + Item395 + + ''' + + Item396 + + ''' + + Item420 + + ''' + + Item456 + + ''' + + Item457 + + ''' + + Item458 + + ''' + + Item527 + + ''' + + Item575 + + ''' + + Item623 + + ''' + + Item633 + + ''' + + Item751 + + ''' + + Item780 + + ''' + + Item875 + + ''' + + Item876 + + ''' + + Item877 + + ''' + + Item935 + End Enum + + ''' + + Partial Public Class ExchangedDocumentType + + Private idField As IDType + + Private typeCodeField As DocumentCodeType + + Private issueDateTimeField As DateTimeType + + Private includedNoteField() As NoteType + + ''' + Public Property ID() As IDType + Get + Return Me.idField + End Get + Set + Me.idField = Value + End Set + End Property + + ''' + Public Property TypeCode() As DocumentCodeType + Get + Return Me.typeCodeField + End Get + Set + Me.typeCodeField = Value + End Set + End Property + + ''' + Public Property IssueDateTime() As DateTimeType + Get + Return Me.issueDateTimeField + End Get + Set + Me.issueDateTimeField = Value + End Set + End Property + + ''' + + Public Property IncludedNote() As NoteType() + Get + Return Me.includedNoteField + End Get + Set + Me.includedNoteField = Value + End Set + End Property + End Class + +End Namespace \ No newline at end of file