diff --git a/Interfaces/ZUGFeRDInterface.vb b/Interfaces/ZUGFeRDInterface.vb
index c79bf48d..26242467 100644
--- a/Interfaces/ZUGFeRDInterface.vb
+++ b/Interfaces/ZUGFeRDInterface.vb
@@ -2,6 +2,7 @@
Imports System.Xml
Imports System.Xml.Serialization
Imports DigitalData.Modules.Interfaces.Exceptions
+Imports DigitalData.Modules.Interfaces.Peppol
Imports DigitalData.Modules.Interfaces.ZUGFeRD
Imports DigitalData.Modules.Logging
Imports GdPicture14
@@ -18,12 +19,16 @@ Public Class ZUGFeRDInterface
Public Const ZUGFERD_SPEC_DEFAULT = "DEFAULT"
Public Const ZUGFERD_SPEC_10 = "ZUGFERD_10"
Public Const ZUGFERD_SPEC_2x = "ZUGFERD_2x"
+ Public Const PEPPOL_SPEC_3x_INVOICE = "PEPPOL_BISBILL_3x_INVOICE"
+ Public Const PEPPOL_SPEC_3x_CREDITNOTE = "PEPPOL_BISBILL_3x_CREDITNOTE"
Public Const XMLSCHEMA_ZUGFERD_10 = "Version1_0"
Public Const XMLSCHEMA_ZUGFERD_20 = "Version2_0"
Public Const XMLSCHEMA_ZUGFERD_211 = "Version2_1_1"
Public Const XMLSCHEMA_ZUGFERD_22 = "Version2_2_FacturX"
Public Const XMLSCHEMA_ZUGFERD_23 = "Version2_3_FacturX"
+ Public Const XMLSCHEMA_PEPPOL_3017_INVOICE = "Version3017_INVOICE"
+ Public Const XMLSCHEMA_PEPPOL_3017_CREDITNOTE = "Version3017_CREDITNOTE"
Private ReadOnly ValidFilenames As New List(Of String) From {
PDFEmbeds.ZUGFERD_XML_FILENAME.ToUpper,
@@ -51,6 +56,7 @@ Public Class ZUGFeRDInterface
Public Property AllowXRechnung_Filename As Boolean = True
Public Property AllowZugferd_1_0_Schema As Boolean = True
Public Property AllowZugferd_2_x_Schema As Boolean = True
+ Public Property AllowPeppol_3017_Schema As Boolean = True
End Class
Public Class ZugferdResult
@@ -331,6 +337,21 @@ Public Class ZUGFeRDInterface
})
End If
+ If _Options.AllowPeppol_3017_Schema Then
+ oAllowedTypes.AddRange(New List(Of AllowedType) From {
+ New AllowedType With {
+ .SchemaType = GetType(BISBilling30Invoice.InvoiceType),
+ .Specification = PEPPOL_SPEC_3x_INVOICE,
+ .XMLSchema = XMLSCHEMA_PEPPOL_3017_INVOICE
+ },
+ New AllowedType With {
+ .SchemaType = GetType(BISBilling30CreditNote.CreditNoteType),
+ .Specification = PEPPOL_SPEC_3x_CREDITNOTE,
+ .XMLSchema = XMLSCHEMA_PEPPOL_3017_CREDITNOTE
+ }
+ })
+ End If
+
For Each oType In oAllowedTypes
Dim oTypeName As String = oType.SchemaType.FullName
Dim oSerializer As New XmlSerializer(oType.SchemaType)
diff --git a/Interfaces/ZUGFeRDInterface/Peppol_BIS_Billing3017/CreditNoteType.vb b/Interfaces/ZUGFeRDInterface/Peppol_BIS_Billing3017/CreditNoteType.vb
new file mode 100644
index 00000000..f623f018
--- /dev/null
+++ b/Interfaces/ZUGFeRDInterface/Peppol_BIS_Billing3017/CreditNoteType.vb
@@ -0,0 +1,42562 @@
+'------------------------------------------------------------------------------
+'
+' 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
+
+Imports System.Xml.Serialization
+
+'
+'Dieser Quellcode wurde automatisch generiert von xsd, Version=4.8.3928.0.
+'
+Namespace Peppol.BISBilling30CreditNote
+
+ '''
+ _
+ Partial Public Class TransportEventType
+
+ Private identificationIDField As IdentificationIDType
+
+ Private occurrenceDateField As OccurrenceDateType
+
+ Private occurrenceTimeField As OccurrenceTimeType
+
+ Private transportEventTypeCodeField As TransportEventTypeCodeType
+
+ Private descriptionField() As DescriptionType
+
+ Private completionIndicatorField As CompletionIndicatorType
+
+ Private reportedShipmentField As ShipmentType
+
+ Private currentStatusField() As StatusType
+
+ Private contactField() As ContactType
+
+ Private locationField As LocationType1
+
+ Private signatureField As SignatureType
+
+ Private periodField() As PeriodType
+
+ '''
+ _
+ Public Property IdentificationID() As IdentificationIDType
+ Get
+ Return Me.identificationIDField
+ End Get
+ Set
+ Me.identificationIDField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property OccurrenceDate() As OccurrenceDateType
+ Get
+ Return Me.occurrenceDateField
+ End Get
+ Set
+ Me.occurrenceDateField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property OccurrenceTime() As OccurrenceTimeType
+ Get
+ Return Me.occurrenceTimeField
+ End Get
+ Set
+ Me.occurrenceTimeField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property TransportEventTypeCode() As TransportEventTypeCodeType
+ Get
+ Return Me.transportEventTypeCodeField
+ End Get
+ Set
+ Me.transportEventTypeCodeField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Description() As DescriptionType()
+ Get
+ Return Me.descriptionField
+ End Get
+ Set
+ Me.descriptionField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property CompletionIndicator() As CompletionIndicatorType
+ Get
+ Return Me.completionIndicatorField
+ End Get
+ Set
+ Me.completionIndicatorField = value
+ End Set
+ End Property
+
+ '''
+ Public Property ReportedShipment() As ShipmentType
+ Get
+ Return Me.reportedShipmentField
+ End Get
+ Set
+ Me.reportedShipmentField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property CurrentStatus() As StatusType()
+ Get
+ Return Me.currentStatusField
+ End Get
+ Set
+ Me.currentStatusField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Contact() As ContactType()
+ Get
+ Return Me.contactField
+ End Get
+ Set
+ Me.contactField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Location() As LocationType1
+ Get
+ Return Me.locationField
+ End Get
+ Set
+ Me.locationField = value
+ End Set
+ End Property
+
+ '''
+ Public Property Signature() As SignatureType
+ Get
+ Return Me.signatureField
+ End Get
+ Set
+ Me.signatureField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Period() As PeriodType()
+ Get
+ Return Me.periodField
+ End Get
+ Set
+ Me.periodField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class IdentificationIDType
+ Inherits IdentifierType1
+ End Class
+
+ '''
+ _
+ Partial Public Class IdentifierType1
+ Inherits IdentifierType
+ End Class
+
+ '''
+ _
+ Partial Public Class IdentifierType
+
+ Private schemeIDField As String
+
+ Private schemeNameField As String
+
+ Private schemeAgencyIDField As String
+
+ Private schemeAgencyNameField As String
+
+ Private schemeVersionIDField As String
+
+ Private schemeDataURIField As String
+
+ Private schemeURIField 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 schemeName() As String
+ Get
+ Return Me.schemeNameField
+ End Get
+ Set
+ Me.schemeNameField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property schemeAgencyID() As String
+ Get
+ Return Me.schemeAgencyIDField
+ End Get
+ Set
+ Me.schemeAgencyIDField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property schemeAgencyName() As String
+ Get
+ Return Me.schemeAgencyNameField
+ End Get
+ Set
+ Me.schemeAgencyNameField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property schemeVersionID() As String
+ Get
+ Return Me.schemeVersionIDField
+ End Get
+ Set
+ Me.schemeVersionIDField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property schemeDataURI() As String
+ Get
+ Return Me.schemeDataURIField
+ End Get
+ Set
+ Me.schemeDataURIField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property schemeURI() As String
+ Get
+ Return Me.schemeURIField
+ End Get
+ Set
+ Me.schemeURIField = 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 BinaryObjectType
+
+ Private formatField As String
+
+ Private mimeCodeField As String
+
+ Private encodingCodeField As String
+
+ Private characterSetCodeField As String
+
+ Private uriField As String
+
+ Private filenameField As String
+
+ Private valueField() As Byte
+
+ '''
+ _
+ Public Property format() As String
+ Get
+ Return Me.formatField
+ End Get
+ Set
+ Me.formatField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property mimeCode() As String
+ Get
+ Return Me.mimeCodeField
+ End Get
+ Set
+ Me.mimeCodeField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property encodingCode() As String
+ Get
+ Return Me.encodingCodeField
+ End Get
+ Set
+ Me.encodingCodeField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property characterSetCode() As String
+ Get
+ Return Me.characterSetCodeField
+ End Get
+ Set
+ Me.characterSetCodeField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property uri() As String
+ Get
+ Return Me.uriField
+ End Get
+ Set
+ Me.uriField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property filename() As String
+ Get
+ Return Me.filenameField
+ End Get
+ Set
+ Me.filenameField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property Value() As Byte()
+ Get
+ Return Me.valueField
+ End Get
+ Set
+ Me.valueField = value
+ End Set
+ End Property
+ End Class
+
+ '''
+ _
+ Partial Public Class VideoType
+ Inherits BinaryObjectType
+ End Class
+
+ '''
+ _
+ Partial Public Class SoundType
+ Inherits BinaryObjectType
+ End Class
+
+ '''
+ _
+ Partial Public Class PictureType
+ Inherits BinaryObjectType
+ End Class
+
+ '''
+ _
+ Partial Public Class GraphicType
+ Inherits BinaryObjectType
+ End Class
+
+ '''
+ _
+ Partial Public Class BinaryObjectType1
+ Inherits BinaryObjectType
+ End Class
+
+ '''
+ _
+ Partial Public Class EmbeddedDocumentBinaryObjectType
+ Inherits BinaryObjectType1
+ End Class
+
+ '''
+ _
+ Partial Public Class NumericType
+
+ Private formatField As String
+
+ Private valueField As Decimal
+
+ '''
+ _
+ Public Property format() As String
+ Get
+ Return Me.formatField
+ End Get
+ Set
+ Me.formatField = 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 RateType
+ Inherits NumericType
+ End Class
+
+ '''
+ _
+ Partial Public Class TargetCurrencyBaseRateType
+ Inherits RateType
+ End Class
+
+ '''
+ _
+ Partial Public Class SourceCurrencyBaseRateType
+ Inherits RateType
+ End Class
+
+ '''
+ _
+ Partial Public Class RateType1
+ Inherits RateType
+ End Class
+
+ '''
+ _
+ Partial Public Class OrderableUnitFactorRateType
+ Inherits RateType
+ End Class
+
+ '''
+ _
+ Partial Public Class CalculationRateType
+ Inherits RateType
+ End Class
+
+ '''
+ _
+ Partial Public Class AmountRateType
+ Inherits RateType
+ End Class
+
+ '''
+ _
+ Partial Public Class PercentType
+ Inherits NumericType
+ End Class
+
+ '''
+ _
+ Partial Public Class TierRatePercentType
+ Inherits PercentType
+ End Class
+
+ '''
+ _
+ Partial Public Class TargetServicePercentType
+ Inherits PercentType
+ End Class
+
+ '''
+ _
+ Partial Public Class SettlementDiscountPercentType
+ Inherits PercentType
+ End Class
+
+ '''
+ _
+ Partial Public Class ReliabilityPercentType
+ Inherits PercentType
+ End Class
+
+ '''
+ _
+ Partial Public Class ProgressPercentType
+ Inherits PercentType
+ End Class
+
+ '''
+ _
+ Partial Public Class PercentType1
+ Inherits PercentType
+ End Class
+
+ '''
+ _
+ Partial Public Class PenaltySurchargePercentType
+ Inherits PercentType
+ End Class
+
+ '''
+ _
+ Partial Public Class PaymentPercentType
+ Inherits PercentType
+ End Class
+
+ '''
+ _
+ Partial Public Class ParticipationPercentType
+ Inherits PercentType
+ End Class
+
+ '''
+ _
+ Partial Public Class PartecipationPercentType
+ Inherits PercentType
+ End Class
+
+ '''
+ _
+ Partial Public Class MinimumPercentType
+ Inherits PercentType
+ End Class
+
+ '''
+ _
+ Partial Public Class MaximumPercentType
+ Inherits PercentType
+ End Class
+
+ '''
+ _
+ Partial Public Class HumidityPercentType
+ Inherits PercentType
+ End Class
+
+ '''
+ _
+ Partial Public Class AirFlowPercentType
+ Inherits PercentType
+ End Class
+
+ '''
+ _
+ Partial Public Class ValueType1
+ Inherits NumericType
+ End Class
+
+ '''
+ _
+ Partial Public Class NumericType1
+ Inherits NumericType
+ End Class
+
+ '''
+ _
+ Partial Public Class WeightNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class SequenceNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ResidentOccupantsNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ReminderSequenceNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PackSizeNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class OrderQuantityIncrementNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class OrderIntervalDaysNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MultiplierFactorNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MinimumNumberNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MaximumPaymentInstructionsNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MaximumNumberNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MaximumCopiesNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class LineNumberNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class LineCountNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class FrozenPeriodDaysNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class CalculationSequenceNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class BudgetYearNumericType
+ Inherits NumericType1
+ End Class
+
+ '''
+ _
+ Partial Public Class AmountType
+
+ Private currencyIDField As String
+
+ Private currencyCodeListVersionIDField 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 currencyCodeListVersionID() As String
+ Get
+ Return Me.currencyCodeListVersionIDField
+ End Get
+ Set
+ Me.currencyCodeListVersionIDField = 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 AmountType1
+ Inherits AmountType
+ End Class
+
+ '''
+ _
+ Partial Public Class ValueAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TransactionCurrencyTaxAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalTaxAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalTaskAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalPaymentAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalInvoiceAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalDebitAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalCreditAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalBalanceAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ThresholdAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxableAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxInclusiveAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxExclusiveAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxEnergyOnAccountAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxEnergyBalanceAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxEnergyAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TaxAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class SettlementDiscountAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class RoundingAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class RequiredFeeAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PriceAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PrepaidAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PerUnitAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PenaltyAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PayableRoundingAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PayableAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PayableAlternativeAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PartyCapacityAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PaidAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MinimumAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MaximumPaidAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MaximumAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MaximumAdvertisementAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MarketValueAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class LowerTenderAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class LineExtensionAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class LiabilityAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class InventoryValueAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class InsuranceValueAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class InsurancePremiumAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class HigherTenderAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class FreeOnBoardValueAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class FeeAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class FaceValueAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class EstimatedOverallContractAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class EstimatedAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class DocumentationFeeAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class DeclaredStatisticsValueAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class DeclaredForCarriageValueAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class DeclaredCustomsValueAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class DeclaredCarriageValueAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class DebitLineAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class CreditLineAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class CorrectionUnitAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class CorrectionAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class CorporateStockAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ChargeTotalAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class CallExtensionAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class CallBaseAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class BaseAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class BalanceAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class AverageSubsequentContractAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class AverageAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class AnnualAverageAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class AmountType2
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class AllowanceTotalAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class AdvertisementAmountType
+ Inherits AmountType1
+ End Class
+
+ '''
+ _
+ Partial Public Class QuantityType
+
+ Private unitCodeField As String
+
+ Private unitCodeListIDField As String
+
+ Private unitCodeListAgencyIDField As String
+
+ Private unitCodeListAgencyNameField 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 unitCodeListID() As String
+ Get
+ Return Me.unitCodeListIDField
+ End Get
+ Set
+ Me.unitCodeListIDField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property unitCodeListAgencyID() As String
+ Get
+ Return Me.unitCodeListAgencyIDField
+ End Get
+ Set
+ Me.unitCodeListAgencyIDField = value
+ End Set
+ End Property
+
+ '''
+ _
+ Public Property unitCodeListAgencyName() As String
+ Get
+ Return Me.unitCodeListAgencyNameField
+ End Get
+ Set
+ Me.unitCodeListAgencyNameField = 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 QuantityType1
+ Inherits QuantityType
+ End Class
+
+ '''
+ _
+ Partial Public Class VarianceQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ValueQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalTransportHandlingUnitQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalPackagesQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalPackageQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalMeteredQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalGoodsItemQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalDeliveredQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TotalConsumedQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TimeDeltaDaysQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ThresholdQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TargetInventoryQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ShortQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class SharesNumberQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ReturnableQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class RejectedQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ReceivedTenderQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ReceivedQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ReceivedForeignTenderQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ReceivedElectronicTenderQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class QuantityType2
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PreviousMeterQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PerformanceValueQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PassengerQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PackQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class OversupplyQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class OutstandingQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class OperatingYearsQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class NormalTemperatureReductionQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MultipleOrderQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MinimumQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MinimumOrderQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MinimumInventoryQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MinimumBackorderQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MaximumVariantQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MaximumQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MaximumOrderQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MaximumOperatorQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MaximumBackorderQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class LatestMeterQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class InvoicedQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class GasPressureQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ExpectedQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ExpectedOperatorQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class EstimatedOverallContractQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class EstimatedConsumedQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class EmployeeQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class DifferenceTemperatureReductionQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class DeliveredQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class DebitedQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class CustomsTariffQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class CrewQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class CreditedQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ContentUnitQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ConsumptionWaterQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ConsumptionEnergyQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ConsumerUnitQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ConsignmentQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ChildConsignmentQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ChargeableQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class BatchQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class BasicConsumedQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class BaseQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class BackorderQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ActualTemperatureReductionQuantityType
+ Inherits QuantityType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MeasureType
+
+ Private unitCodeField As String
+
+ Private unitCodeListVersionIDField 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 unitCodeListVersionID() As String
+ Get
+ Return Me.unitCodeListVersionIDField
+ End Get
+ Set
+ Me.unitCodeListVersionIDField = 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 MeasureType1
+ Inherits MeasureType
+ End Class
+
+ '''
+ _
+ Partial Public Class ValueMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class TareWeightMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class SourceValueMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PreEventNotificationDurationMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class PostEventNotificationDurationMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class NetWeightMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class NetVolumeMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class NetTonnageMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class NetNetWeightMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MinimumMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MeasureType2
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class MaximumMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class LongitudeMinutesMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class LongitudeDegreesMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class LoadingLengthMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class LeadTimeMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class LatitudeMinutesMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class LatitudeDegreesMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class GrossWeightMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class GrossVolumeMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class GrossTonnageMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class DurationMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ComparedValueMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class ChargeableWeightMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''
+ _
+ Partial Public Class BaseUnitMeasureType
+ Inherits MeasureType1
+ End Class
+
+ '''