DX STF Client API

<back to all web services

GetPurchaseConditionByIdentification

Purchase Conditions Requests

Purchase Conditions

Requires Authentication
The following routes are available for this service:
GET/api/purchaseCondition/{OwnerGln}/{Identification}Get specific Purchase Condition by Purchase Condition Identification number
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using DX.STF.Application.ClientApi.Messages.PurchaseCondition;
using DX.STF.Models.Dto.GS1;

namespace DX.STF.Application.ClientApi.Messages.PurchaseCondition
{
    ///<summary>
    ///Purchase Conditions
    ///</summary>
    [Api(Description="Purchase Conditions")]
    [ApiResponse(Description="PurchaseCondition data", IsDefaultResponse=true, StatusCode=200)]
    [ApiResponse(Description="No Content", ResponseType=typeof(ServiceStack.IReturnVoid), StatusCode=204)]
    [ApiResponse(Description="Specified argument was out of the range of valid values.", ResponseType=typeof(System.ArgumentOutOfRangeException), StatusCode=400)]
    public partial class GetPurchaseConditionByIdentification
    {
        ///<summary>
        ///Purchase Condition Owner GLN
        ///</summary>
        [ApiMember(Description="Purchase Condition Owner GLN", ExcludeInSchema=true, ParameterType="path")]
        public virtual string OwnerGln { get; set; }

        ///<summary>
        ///Purchase Condition Identifier
        ///</summary>
        [ApiMember(Description="Purchase Condition Identifier", ExcludeInSchema=true, ParameterType="path")]
        public virtual string Identification { get; set; }
    }

}

namespace DX.STF.Models.Dto.GS1
{
    public partial class Address
    {
        public virtual string StreetAddressOne { get; set; }
        public virtual string StreetAddressTwo { get; set; }
        public virtual string StreetAddressThree { get; set; }
        public virtual string City { get; set; }
        public virtual string PostalCode { get; set; }
        public virtual string ProvinceCode { get; set; }
        public virtual string CountryCode { get; set; }
    }

    public partial class AllowanceCharge
    {
        public virtual decimal? AllowanceChargeAmount { get; set; }
        public virtual decimal? AllowanceChargePercentage { get; set; }
        public virtual string AllowanceChargeType { get; set; }
        public virtual string AllowanceOrChargeType { get; set; }
        public virtual decimal? AmountPerUnit { get; set; }
        public virtual decimal? BaseAmount { get; set; }
        public virtual string BaseNumberOfUnits { get; set; }
        public virtual string BracketIdentifier { get; set; }
        public virtual DateTime? EffectiveDateType { get; set; }
        public virtual string SequenceNumber { get; set; }
        public virtual string SettlementType { get; set; }
        public virtual string SpecialServiceType { get; set; }
        public virtual string AllowanceChargeDescription { get; set; }
    }

    public partial class AvpList
    {
        public virtual string Code { get; set; }
        public virtual string Value { get; set; }
    }

    public partial class BaseDocument
    {
        public virtual string CurrencyCode { get; set; }
        public virtual DateTime CreationDateTime { get; set; }
        public virtual DocumentAction DocumentActionCode { get; set; }
        public virtual DocumentStatus DocumentStatusCode { get; set; }
        public virtual string DocumentStructureVersion { get; set; }
        public virtual DateTime? LastUpdateDateTime { get; set; }
        public virtual long? RevisionNumber { get; set; }
        public virtual List<AvpList> AvpList { get; set; } = [];
    }

    public partial class Colour
    {
        public virtual string ColourCode { get; set; }
        public virtual string ColourDescription { get; set; }
    }

    public partial class CommunicationChannel
    {
        public virtual string CommunicationChannelCode { get; set; }
        public virtual string CommunicationChannelName { get; set; }
        public virtual string CommunicationValue { get; set; }
    }

    public partial class Contact
    {
        public virtual string ContactTypeCode { get; set; }
        public virtual string PersonName { get; set; }
        public virtual string DepartmentName { get; set; }
        public virtual string JobTitle { get; set; }
        public virtual string Responsibility { get; set; }
        public virtual List<CommunicationChannel> CommunicationChannel { get; set; } = [];
    }

    [DataContract]
    public partial class ContactInformation
    {
    }

    public partial class CurrencyExchangeRateInformation
    {
        public virtual string CurrencyConversionFromCode { get; set; }
        public virtual string CurrencyConversionToCode { get; set; }
        public virtual long? ExchangeRate { get; set; }
        public virtual DateTime? ExchangeRateDateTime { get; set; }
    }

    public partial class DateTimeRange
    {
        public virtual DateOnly BeginDate { get; set; }
        public virtual TimeOnly? BeginTime { get; set; }
        public virtual DateOnly? EndDate { get; set; }
        public virtual TimeOnly? EndTime { get; set; }
    }

    public enum DocumentAction
    {
        ADD,
        CHANGE_BY_REFRESH,
        DELETE,
        REJECTED,
    }

    [DataContract]
    public partial class DocumentIdentification
    {
        [DataMember(Name="identifier")]
        public virtual string Identifier { get; set; }

        [DataMember(Name="type")]
        public virtual string Type { get; set; }

        [DataMember(Name="creationDateAndTime")]
        public virtual DateTime CreationDateAndTime { get; set; }
    }

    public partial class DocumentReference
    {
        public virtual DateTime? CreationDateTime { get; set; }
        public virtual long? RevisionNumber { get; set; }
        public virtual long? LineItemNumber { get; set; }
        public virtual string EntityIdentification { get; set; }
    }

    public enum DocumentStatus
    {
        ADDITIONAL_TRANSMISSION,
        COPY,
        ORIGINAL,
    }

    public partial class Ecom_PartyIdentificationType
    {
        public virtual string Gln { get; set; }
        public virtual string Name { get; set; }
        public virtual List<AvpList> AdditionalPartyIdentification { get; set; } = [];
    }

    public partial class FinancialAccount
    {
        public virtual string Number { get; set; }
        public virtual string NumberTypeCode { get; set; }
        public virtual string Name { get; set; }
    }

    public partial class FinancialInstitutionInformation
    {
        public virtual string FinancialInstitutionBranchName { get; set; }
        public virtual string FinancialInstitutionName { get; set; }
        public virtual FinancialRoutingNumber FinancialRoutingNumber { get; set; }
        public virtual FinancialAccount FinancialAccount { get; set; }
        public virtual string SwiftCode { get; set; }
        public virtual string ExportersCode { get; set; }
    }

    public partial class FinancialRoutingNumber
    {
        public virtual string Number { get; set; }
        public virtual string NumberTypeCode { get; set; }
    }

    [DataContract]
    public partial class Header
    {
        [DataMember(Name="documentIdentification")]
        public virtual DocumentIdentification DocumentIdentification { get; set; }

        [DataMember(Name="sender")]
        public virtual Partner Sender { get; set; }

        [DataMember(Name="receiver")]
        public virtual Partner Receiver { get; set; }
    }

    [DataContract]
    public partial class Identifier
    {
        [DataMember(Name="authority")]
        public virtual string Authority { get; set; }

        [DataMember(Name="text")]
        public virtual string Text { get; set; }
    }

    public partial class LeviedDutyFeeTax
    {
        public virtual decimal? DutyFeeTaxAmount { get; set; }
        public virtual decimal? DutyFeeTaxBasisAmount { get; set; }
        public virtual string DutyFeeTaxDescription { get; set; }
        public virtual decimal? DutyFeeTaxPercentage { get; set; }
    }

    [DataContract]
    public partial class Partner
    {
        [DataMember(Name="identifier")]
        public virtual Identifier Identifier { get; set; }

        [DataMember(Name="contactInformation")]
        public virtual List<ContactInformation> ContactInformation { get; set; } = [];
    }

    public partial class PurchaseConditions
        : BaseDocument
    {
        public virtual string PurchaseConditionsCurrencyCode { get; set; }
        public virtual List<PurchaseConditionsLocationInformation> PurchaseConditionsLocationInformation { get; set; } = [];
        public virtual CurrencyExchangeRateInformation CurrencyExchangeRateInformation { get; set; }
        public virtual TransactionalParty Buyer { get; set; }
        public virtual TransactionalParty Payee { get; set; }
        public virtual TransactionalParty Payer { get; set; }
        public virtual string PurchaseConditionsIdentification { get; set; }
        public virtual TransactionalParty RemitTo { get; set; }
        public virtual TransactionalParty Seller { get; set; }
        public virtual TransactionalParty TaxRepresentative { get; set; }
    }

    public partial class PurchaseConditionsCommitmentPeriod
    {
        public virtual TimeMeasurement CommitmentPeriodDuration { get; set; }
        public virtual string PurchaseConditionsCommitmentTypeCode { get; set; }
    }

    public partial class PurchaseConditionsLineItem
    {
        public virtual decimal? DiscrepancyTolerancePercentage { get; set; }
        public virtual long? LineItemNumber { get; set; }
        public virtual string PackagingTypeCode { get; set; }
        public virtual long? ParentLineItemNumber { get; set; }
        public virtual Quantity PurchaseConditionsQuantity { get; set; }
        public virtual List<PurchaseConditionsCommitmentPeriod> PurchaseConditionsCommitmentPeriod { get; set; } = [];
        public virtual List<PurchaseConditionsPriceInformation> PurchaseConditionsPriceInformation { get; set; } = [];
        public virtual List<AllowanceCharge> AllowanceCharge { get; set; } = [];
        public virtual TransactionalTradeItem TransactionalTradeItem { get; set; }
        public virtual LeviedDutyFeeTax LeviedDutyFeeTax { get; set; }
        public virtual List<AvpList> AvpList { get; set; } = [];
        public virtual DateTimeRange EffectivePeriod { get; set; }
        public virtual DocumentReference MaterialSpecification { get; set; }
        public virtual QuantityRange PurchaseConditionsQuantityRange { get; set; }
    }

    public partial class PurchaseConditionsLocationInformation
    {
        public virtual List<PurchaseConditionsLineItem> PurchaseConditionsLineItem { get; set; } = [];
        public virtual TransactionalParty ShipFrom { get; set; }
        public virtual TransactionalParty ShipTo { get; set; }
    }

    public partial class PurchaseConditionsMessage
    {
        public virtual Header Header { get; set; }
        public virtual PurchaseConditions PurchaseConditions { get; set; }
    }

    public partial class PurchaseConditionsPriceInformation
    {
        public virtual Quantity ItemPriceBaseQuantity { get; set; }
        public virtual decimal? ItemPriceExclusiveAllowancesCharges { get; set; }
        public virtual QuantityRange QuantityRange { get; set; }
        public virtual DateTimeRange EffectivePeriod { get; set; }
    }

    public partial class Quantity
    {
        public virtual decimal? Value { get; set; }
        public virtual string MeasurementUnitCode { get; set; }
        public virtual string CodeListVersion { get; set; }
    }

    public partial class QuantityRange
    {
        public virtual Quantity MaximumQuantity { get; set; }
        public virtual Quantity MinimumQuantity { get; set; }
    }

    public partial class SerialNumberRange
    {
        public virtual string MaximumValue { get; set; }
        public virtual string MinimumValue { get; set; }
    }

    public partial class Size
    {
        public virtual string DescriptiveSize { get; set; }
        public virtual string SizeCode { get; set; }
    }

    public partial class TimeMeasurement
    {
        public virtual string TimeMeasurementUnitCode { get; set; }
        public virtual decimal? Value { get; set; }
    }

    public partial class TradeItemClassification
    {
        public virtual string GpcCategoryCode { get; set; }
        public virtual List<AvpList> AdditionalTradeItemClassificationCode { get; set; } = [];
        public virtual string GpcCategoryName { get; set; }
        public virtual List<AvpList> GpcAttribute { get; set; } = [];
    }

    public partial class TradeItemWaste
    {
        public virtual string WasteIdentification { get; set; }
        public virtual List<AvpList> TypeOfWaste { get; set; } = [];
    }

    public partial class TransactionalItem
    {
        public virtual string MeasurementUnitCode { get; set; }
        public virtual string MeasurementType { get; set; }
        public virtual string MeasurementValue { get; set; }
    }

    public partial class TransactionalItemData
    {
        public virtual DateTime? AvailableForSaleDate { get; set; }
        public virtual string BatchNumber { get; set; }
        public virtual DateTime? BestBeforeDate { get; set; }
        public virtual string CountryOfOrigin { get; set; }
        public virtual DateTime? ItemExpirationDate { get; set; }
        public virtual string LotNumber { get; set; }
        public virtual DateTime? PackagingDate { get; set; }
        public virtual DateTime? ProductionDate { get; set; }
        public virtual string ProductQualityIndication { get; set; }
        public virtual DateTime? SellByDate { get; set; }
        public virtual List<string> SerialNumber { get; set; } = [];
        public virtual string ShelfLife { get; set; }
        public virtual long? TradeItemQuantity { get; set; }
        public virtual bool? ItemInContactWithFoodProduct { get; set; }
        public virtual List<TransactionalItem> TransactionalItemWeight { get; set; } = [];
        public virtual List<TransactionalItem> TransactionalItemVolume { get; set; } = [];
        public virtual List<SerialNumberRange> SerialNumberRange { get; set; } = [];
        public virtual List<TransactionalItemDimension> TransactionalItemDimensions { get; set; } = [];
        public virtual TransactionalItemLogisticUnitInformation TransactionalItemLogisticUnitInformation { get; set; }
        public virtual TransactionalItemDataCarrierAndIdentification TransactionalItemDataCarrierAndIdentification { get; set; }
        public virtual List<TradeItemWaste> TradeItemWaste { get; set; } = [];
        public virtual TransactionalItemOrganicInformation TransactionalItemOrganicInformation { get; set; }
        public virtual List<AvpList> AvpList { get; set; } = [];
    }

    public partial class TransactionalItemDataCarrierAndIdentification
    {
        public virtual string Gs1TransactionalItemIdentificationKey { get; set; }
        public virtual string DataCarrier { get; set; }
    }

    public partial class TransactionalItemDimension
    {
        public virtual string MeasurementUnitCode { get; set; }
        public virtual string Depth { get; set; }
        public virtual string Height { get; set; }
        public virtual string Width { get; set; }
    }

    public partial class TransactionalItemLogisticUnitInformation
    {
        public virtual long? NumberOfLayers { get; set; }
        public virtual long? NumberOfUnitsPerLayer { get; set; }
        public virtual long? NumberOfUnitsPerPallet { get; set; }
        public virtual string PackagingTerms { get; set; }
        public virtual string PackageTypeCode { get; set; }
        public virtual long? MaximumStackingFactor { get; set; }
        public virtual string ReturnablePackageTransportCostPayment { get; set; }
        public virtual List<TransactionalItemDimension> DimensionsOfLogisticUnit { get; set; } = [];
    }

    public partial class TransactionalItemOrganicInformation
    {
        public virtual bool? IsTradeItemOrganic { get; set; }
        public virtual string OrganicCertification { get; set; }
    }

    public partial class TransactionalParty
        : Ecom_PartyIdentificationType
    {
        public virtual List<Contact> Contact { get; set; } = [];
        public virtual Address Address { get; set; }
        public virtual List<AvpList> CommunicationChannel { get; set; } = [];
        public virtual FinancialInstitutionInformation FinancialInstitutionInformation { get; set; }
        public virtual string DutyFeeTaxRegistration { get; set; }
        public virtual string EntityIdentification { get; set; }
    }

    public partial class TransactionalTradeItem
    {
        public virtual string Gtin { get; set; }
        public virtual List<AvpList> AdditionalTradeItemIdentification { get; set; } = [];
        public virtual decimal? TradeItemQuantity { get; set; }
        public virtual string TradeItemDescription { get; set; }
        public virtual string ProductVariantIdentifier { get; set; }
        public virtual string ItemTypeCode { get; set; }
        public virtual string TradeItemDataOwner { get; set; }
        public virtual string ButterFatReference { get; set; }
        public virtual List<TransactionalItemData> TransactionalItemData { get; set; } = [];
        public virtual List<Colour> Colour { get; set; } = [];
        public virtual Size Size { get; set; }
        public virtual TradeItemClassification TradeItemClassification { get; set; }
        public virtual List<AvpList> AvpList { get; set; } = [];
    }

}

C# GetPurchaseConditionByIdentification DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api/purchaseCondition/{OwnerGln}/{Identification} HTTP/1.1 
Host: stf-api-uat.data-xchange.co.za 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	header: 
	{
		documentIdentification: 
		{
			identifier: String,
			type: String
		},
		sender: 
		{
			identifier: 
			{
				authority: String,
				text: String
			},
			contactInformation: 
			[
				{
					
				}
			]
		},
		receiver: 
		{
			identifier: 
			{
				authority: String,
				text: String
			},
			contactInformation: 
			[
				{
					
				}
			]
		}
	},
	purchaseConditions: 
	{
		purchaseConditionsCurrencyCode: String,
		purchaseConditionsLocationInformation: 
		[
			{
				purchaseConditionsLineItem: 
				[
					{
						discrepancyTolerancePercentage: 0,
						lineItemNumber: 0,
						packagingTypeCode: String,
						parentLineItemNumber: 0,
						purchaseConditionsQuantity: 
						{
							value: 0,
							measurementUnitCode: String,
							codeListVersion: String
						},
						purchaseConditionsCommitmentPeriod: 
						[
							{
								commitmentPeriodDuration: 
								{
									timeMeasurementUnitCode: String,
									value: 0
								},
								purchaseConditionsCommitmentTypeCode: String
							}
						],
						purchaseConditionsPriceInformation: 
						[
							{
								itemPriceBaseQuantity: 
								{
									value: 0,
									measurementUnitCode: String,
									codeListVersion: String
								},
								itemPriceExclusiveAllowancesCharges: 0,
								quantityRange: 
								{
									maximumQuantity: 
									{
										value: 0,
										measurementUnitCode: String,
										codeListVersion: String
									},
									minimumQuantity: 
									{
										value: 0,
										measurementUnitCode: String,
										codeListVersion: String
									}
								},
								effectivePeriod: 
								{
									beginDate: 0001-01-01,
									beginTime: PT0S,
									endDate: 0001-01-01,
									endTime: PT0S
								}
							}
						],
						allowanceCharge: 
						[
							{
								allowanceChargeAmount: 0,
								allowanceChargePercentage: 0,
								allowanceChargeType: String,
								allowanceOrChargeType: String,
								amountPerUnit: 0,
								baseAmount: 0,
								baseNumberOfUnits: String,
								bracketIdentifier: String,
								effectiveDateType: 0001-01-01,
								sequenceNumber: String,
								settlementType: String,
								specialServiceType: String,
								allowanceChargeDescription: String
							}
						],
						transactionalTradeItem: 
						{
							gtin: String,
							additionalTradeItemIdentification: 
							[
								{
									code: String,
									value: String
								}
							],
							tradeItemQuantity: 0,
							tradeItemDescription: String,
							productVariantIdentifier: String,
							itemTypeCode: String,
							tradeItemDataOwner: String,
							butterFatReference: String,
							transactionalItemData: 
							[
								{
									availableForSaleDate: 0001-01-01,
									batchNumber: String,
									bestBeforeDate: 0001-01-01,
									countryOfOrigin: String,
									itemExpirationDate: 0001-01-01,
									lotNumber: String,
									packagingDate: 0001-01-01,
									productionDate: 0001-01-01,
									productQualityIndication: String,
									sellByDate: 0001-01-01,
									serialNumber: 
									[
										String
									],
									shelfLife: String,
									tradeItemQuantity: 0,
									itemInContactWithFoodProduct: False,
									transactionalItemWeight: 
									[
										{
											measurementUnitCode: String,
											measurementType: String,
											measurementValue: String
										}
									],
									transactionalItemVolume: 
									[
										{
											measurementUnitCode: String,
											measurementType: String,
											measurementValue: String
										}
									],
									serialNumberRange: 
									[
										{
											maximumValue: String,
											minimumValue: String
										}
									],
									transactionalItemDimensions: 
									[
										{
											measurementUnitCode: String,
											depth: String,
											height: String,
											width: String
										}
									],
									transactionalItemLogisticUnitInformation: 
									{
										numberOfLayers: 0,
										numberOfUnitsPerLayer: 0,
										numberOfUnitsPerPallet: 0,
										packagingTerms: String,
										packageTypeCode: String,
										maximumStackingFactor: 0,
										returnablePackageTransportCostPayment: String,
										dimensionsOfLogisticUnit: 
										[
											{
												measurementUnitCode: String,
												depth: String,
												height: String,
												width: String
											}
										]
									},
									transactionalItemDataCarrierAndIdentification: 
									{
										gs1TransactionalItemIdentificationKey: String,
										dataCarrier: String
									},
									tradeItemWaste: 
									[
										{
											wasteIdentification: String,
											typeOfWaste: 
											[
												{
													code: String,
													value: String
												}
											]
										}
									],
									transactionalItemOrganicInformation: 
									{
										isTradeItemOrganic: False,
										organicCertification: String
									},
									avpList: 
									[
										{
											code: String,
											value: String
										}
									]
								}
							],
							colour: 
							[
								{
									colourCode: String,
									colourDescription: String
								}
							],
							size: 
							{
								descriptiveSize: String,
								sizeCode: String
							},
							tradeItemClassification: 
							{
								gpcCategoryCode: String,
								additionalTradeItemClassificationCode: 
								[
									{
										code: String,
										value: String
									}
								],
								gpcCategoryName: String,
								gpcAttribute: 
								[
									{
										code: String,
										value: String
									}
								]
							},
							avpList: 
							[
								{
									code: String,
									value: String
								}
							]
						},
						leviedDutyFeeTax: 
						{
							dutyFeeTaxAmount: 0,
							dutyFeeTaxBasisAmount: 0,
							dutyFeeTaxDescription: String,
							dutyFeeTaxPercentage: 0
						},
						avpList: 
						[
							{
								code: String,
								value: String
							}
						],
						effectivePeriod: 
						{
							beginDate: 0001-01-01,
							beginTime: PT0S,
							endDate: 0001-01-01,
							endTime: PT0S
						},
						materialSpecification: 
						{
							creationDateTime: 0001-01-01,
							revisionNumber: 0,
							lineItemNumber: 0,
							entityIdentification: String
						},
						purchaseConditionsQuantityRange: 
						{
							maximumQuantity: 
							{
								value: 0,
								measurementUnitCode: String,
								codeListVersion: String
							},
							minimumQuantity: 
							{
								value: 0,
								measurementUnitCode: String,
								codeListVersion: String
							}
						}
					}
				],
				shipFrom: 
				{
					contact: 
					[
						{
							contactTypeCode: String,
							personName: String,
							departmentName: String,
							jobTitle: String,
							responsibility: String,
							communicationChannel: 
							[
								{
									communicationChannelCode: String,
									communicationChannelName: String,
									communicationValue: String
								}
							]
						}
					],
					address: 
					{
						streetAddressOne: String,
						streetAddressTwo: String,
						streetAddressThree: String,
						city: String,
						postalCode: String,
						provinceCode: String,
						countryCode: String
					},
					communicationChannel: 
					[
						{
							code: String,
							value: String
						}
					],
					financialInstitutionInformation: 
					{
						financialInstitutionBranchName: String,
						financialInstitutionName: String,
						financialRoutingNumber: 
						{
							number: String,
							numberTypeCode: String
						},
						financialAccount: 
						{
							number: String,
							numberTypeCode: String,
							name: String
						},
						swiftCode: String,
						exportersCode: String
					},
					dutyFeeTaxRegistration: String,
					entityIdentification: String,
					gln: String,
					name: String,
					additionalPartyIdentification: 
					[
						{
							code: String,
							value: String
						}
					]
				},
				shipTo: 
				{
					contact: 
					[
						{
							contactTypeCode: String,
							personName: String,
							departmentName: String,
							jobTitle: String,
							responsibility: String,
							communicationChannel: 
							[
								{
									communicationChannelCode: String,
									communicationChannelName: String,
									communicationValue: String
								}
							]
						}
					],
					address: 
					{
						streetAddressOne: String,
						streetAddressTwo: String,
						streetAddressThree: String,
						city: String,
						postalCode: String,
						provinceCode: String,
						countryCode: String
					},
					communicationChannel: 
					[
						{
							code: String,
							value: String
						}
					],
					financialInstitutionInformation: 
					{
						financialInstitutionBranchName: String,
						financialInstitutionName: String,
						financialRoutingNumber: 
						{
							number: String,
							numberTypeCode: String
						},
						financialAccount: 
						{
							number: String,
							numberTypeCode: String,
							name: String
						},
						swiftCode: String,
						exportersCode: String
					},
					dutyFeeTaxRegistration: String,
					entityIdentification: String,
					gln: String,
					name: String,
					additionalPartyIdentification: 
					[
						{
							code: String,
							value: String
						}
					]
				}
			}
		],
		currencyExchangeRateInformation: 
		{
			currencyConversionFromCode: String,
			currencyConversionToCode: String,
			exchangeRate: 0,
			exchangeRateDateTime: 0001-01-01
		},
		buyer: 
		{
			contact: 
			[
				{
					contactTypeCode: String,
					personName: String,
					departmentName: String,
					jobTitle: String,
					responsibility: String,
					communicationChannel: 
					[
						{
							communicationChannelCode: String,
							communicationChannelName: String,
							communicationValue: String
						}
					]
				}
			],
			address: 
			{
				streetAddressOne: String,
				streetAddressTwo: String,
				streetAddressThree: String,
				city: String,
				postalCode: String,
				provinceCode: String,
				countryCode: String
			},
			communicationChannel: 
			[
				{
					code: String,
					value: String
				}
			],
			financialInstitutionInformation: 
			{
				financialInstitutionBranchName: String,
				financialInstitutionName: String,
				financialRoutingNumber: 
				{
					number: String,
					numberTypeCode: String
				},
				financialAccount: 
				{
					number: String,
					numberTypeCode: String,
					name: String
				},
				swiftCode: String,
				exportersCode: String
			},
			dutyFeeTaxRegistration: String,
			entityIdentification: String,
			gln: String,
			name: String,
			additionalPartyIdentification: 
			[
				{
					code: String,
					value: String
				}
			]
		},
		payee: 
		{
			contact: 
			[
				{
					contactTypeCode: String,
					personName: String,
					departmentName: String,
					jobTitle: String,
					responsibility: String,
					communicationChannel: 
					[
						{
							communicationChannelCode: String,
							communicationChannelName: String,
							communicationValue: String
						}
					]
				}
			],
			address: 
			{
				streetAddressOne: String,
				streetAddressTwo: String,
				streetAddressThree: String,
				city: String,
				postalCode: String,
				provinceCode: String,
				countryCode: String
			},
			communicationChannel: 
			[
				{
					code: String,
					value: String
				}
			],
			financialInstitutionInformation: 
			{
				financialInstitutionBranchName: String,
				financialInstitutionName: String,
				financialRoutingNumber: 
				{
					number: String,
					numberTypeCode: String
				},
				financialAccount: 
				{
					number: String,
					numberTypeCode: String,
					name: String
				},
				swiftCode: String,
				exportersCode: String
			},
			dutyFeeTaxRegistration: String,
			entityIdentification: String,
			gln: String,
			name: String,
			additionalPartyIdentification: 
			[
				{
					code: String,
					value: String
				}
			]
		},
		payer: 
		{
			contact: 
			[
				{
					contactTypeCode: String,
					personName: String,
					departmentName: String,
					jobTitle: String,
					responsibility: String,
					communicationChannel: 
					[
						{
							communicationChannelCode: String,
							communicationChannelName: String,
							communicationValue: String
						}
					]
				}
			],
			address: 
			{
				streetAddressOne: String,
				streetAddressTwo: String,
				streetAddressThree: String,
				city: String,
				postalCode: String,
				provinceCode: String,
				countryCode: String
			},
			communicationChannel: 
			[
				{
					code: String,
					value: String
				}
			],
			financialInstitutionInformation: 
			{
				financialInstitutionBranchName: String,
				financialInstitutionName: String,
				financialRoutingNumber: 
				{
					number: String,
					numberTypeCode: String
				},
				financialAccount: 
				{
					number: String,
					numberTypeCode: String,
					name: String
				},
				swiftCode: String,
				exportersCode: String
			},
			dutyFeeTaxRegistration: String,
			entityIdentification: String,
			gln: String,
			name: String,
			additionalPartyIdentification: 
			[
				{
					code: String,
					value: String
				}
			]
		},
		purchaseConditionsIdentification: String,
		remitTo: 
		{
			contact: 
			[
				{
					contactTypeCode: String,
					personName: String,
					departmentName: String,
					jobTitle: String,
					responsibility: String,
					communicationChannel: 
					[
						{
							communicationChannelCode: String,
							communicationChannelName: String,
							communicationValue: String
						}
					]
				}
			],
			address: 
			{
				streetAddressOne: String,
				streetAddressTwo: String,
				streetAddressThree: String,
				city: String,
				postalCode: String,
				provinceCode: String,
				countryCode: String
			},
			communicationChannel: 
			[
				{
					code: String,
					value: String
				}
			],
			financialInstitutionInformation: 
			{
				financialInstitutionBranchName: String,
				financialInstitutionName: String,
				financialRoutingNumber: 
				{
					number: String,
					numberTypeCode: String
				},
				financialAccount: 
				{
					number: String,
					numberTypeCode: String,
					name: String
				},
				swiftCode: String,
				exportersCode: String
			},
			dutyFeeTaxRegistration: String,
			entityIdentification: String,
			gln: String,
			name: String,
			additionalPartyIdentification: 
			[
				{
					code: String,
					value: String
				}
			]
		},
		seller: 
		{
			contact: 
			[
				{
					contactTypeCode: String,
					personName: String,
					departmentName: String,
					jobTitle: String,
					responsibility: String,
					communicationChannel: 
					[
						{
							communicationChannelCode: String,
							communicationChannelName: String,
							communicationValue: String
						}
					]
				}
			],
			address: 
			{
				streetAddressOne: String,
				streetAddressTwo: String,
				streetAddressThree: String,
				city: String,
				postalCode: String,
				provinceCode: String,
				countryCode: String
			},
			communicationChannel: 
			[
				{
					code: String,
					value: String
				}
			],
			financialInstitutionInformation: 
			{
				financialInstitutionBranchName: String,
				financialInstitutionName: String,
				financialRoutingNumber: 
				{
					number: String,
					numberTypeCode: String
				},
				financialAccount: 
				{
					number: String,
					numberTypeCode: String,
					name: String
				},
				swiftCode: String,
				exportersCode: String
			},
			dutyFeeTaxRegistration: String,
			entityIdentification: String,
			gln: String,
			name: String,
			additionalPartyIdentification: 
			[
				{
					code: String,
					value: String
				}
			]
		},
		taxRepresentative: 
		{
			contact: 
			[
				{
					contactTypeCode: String,
					personName: String,
					departmentName: String,
					jobTitle: String,
					responsibility: String,
					communicationChannel: 
					[
						{
							communicationChannelCode: String,
							communicationChannelName: String,
							communicationValue: String
						}
					]
				}
			],
			address: 
			{
				streetAddressOne: String,
				streetAddressTwo: String,
				streetAddressThree: String,
				city: String,
				postalCode: String,
				provinceCode: String,
				countryCode: String
			},
			communicationChannel: 
			[
				{
					code: String,
					value: String
				}
			],
			financialInstitutionInformation: 
			{
				financialInstitutionBranchName: String,
				financialInstitutionName: String,
				financialRoutingNumber: 
				{
					number: String,
					numberTypeCode: String
				},
				financialAccount: 
				{
					number: String,
					numberTypeCode: String,
					name: String
				},
				swiftCode: String,
				exportersCode: String
			},
			dutyFeeTaxRegistration: String,
			entityIdentification: String,
			gln: String,
			name: String,
			additionalPartyIdentification: 
			[
				{
					code: String,
					value: String
				}
			]
		},
		currencyCode: String,
		documentActionCode: ADD,
		documentStatusCode: ADDITIONAL_TRANSMISSION,
		documentStructureVersion: String,
		lastUpdateDateTime: 0001-01-01,
		revisionNumber: 0,
		avpList: 
		[
			{
				code: String,
				value: String
			}
		]
	}
}