UBL-2.1-PEPPOL-Invoice-Out
The data mapping and sample payload for the UBL-2.1-PEPPOL-Invoice-Out message definition are outlined in this section.
You must create the following list of domain value maps before you can exchange UBL PEPPOL messages. Populate each domain value map with values from the code lists.
DVM Name | Code Lists |
---|---|
CURRENCY_CODE |
|
INVOICE_TYPE_CODE |
https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL1001-inv/ |
INVOICE_TRX_TYPE_CODE |
https://docs.peppol.eu/poacc/billing/3.0/codelist/UNCL1001-inv/ |
EAS_CODE |
|
ICD_CODE |
|
CHARGE_REASON_CODE |
|
UOM_CODE |
https://docs.peppol.eu/poacc/billing/3.0/codelist/UNECERec20/ |
COUNTRY_CODE |
|
PAYMENT_METHOD |
|
TAX_CATEGORY_CODE |
|
PAYMENT_TERMS |
Data Mapping
Figure 1
Figure 1 shows the structure of the inbound payload that’s received from the application.
Figure 2
Figure 2 shows the structure of the UBL-2.1-PEPPOL-Invoice-Out payload that’s sent to the customer.
Source: DocumentTransferService | Target: UBL-2.1-PEPPOL-Invoice-Out |
---|---|
CustomizationID This value is set to urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 |
|
ProfileID This value is set to urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 |
|
TrxNumber |
ID |
TrxDate |
IssueDate |
TermDueDate or TransferDocPaymentTerm[1]/DueDate |
DueDate Note: If TermDueDate has a value it is mapped, otherwise
TransferDocPaymentTerm[1]/DueDate is mapped
|
SpecialInstructions |
Note |
TrxTypeName |
InvoiceTypeCode Note: There is a predefined DVM,
INVOICE_TRX_TYPE_CODE in use for this field. |
CurrencyCode |
DocumentCurrencyCode Note: There is a predefined DVM, CURRENCY_CODE in use for this
field
|
BuyerReference The PO number or the buyer reference to be provided as per PEPPOL requirements. If not using the PO number, then the buyerReference variable needs to be set in the XSL. |
|
PurchaseOrder |
OrderReference/ID |
OriginalTrxNumber |
BillingReference/InvoiceDocumentReference/ID |
OrigTrxDate |
BillingReference/InvoiceDocumentReference/IssueDate |
BillingReference/InvoiceDocumentReference/DocumentType This is set to Invoice. |
|
WaybillNumber |
DespatchDocumentReference/ID |
InterfaceHeaderAttribute1 |
OriginatorDocumentReference/ID InterfaceHeaderAttribute1 is mapped if it has a value and if InterfaceHeaderContext = 'CONTRACT INTERNAL INVOICES' or InterfaceHeaderContext = 'CONTRACT INVOICES' |
SupplierCountry |
AccountingSupplierParty/Party/EndpointID/@schemeID Note: There is a predefined DVM,
EAS_CODE in use for this field.
|
SupplierRegNumber |
AccountingSupplierParty/Party/EndpointID |
SupplierCountry |
AccountingSupplierParty/Party/PartyIdentification/ID/@schemeID Note: There is a predefined DVM,
ICD_CODE in use for this field.
|
SupplierRegNumber |
AccountingSupplierParty/Party/EndpointID |
SupplierCountry |
AccountingSupplierParty/Party/PartyIdentification/ID/@schemeID Note: There is a predefined DVM,
ICD_CODE in use for this field.
|
SupplierRegNumber |
AccountingSupplierParty/Party/PartyIdentification/ID |
LegalEntityName |
AccountingSupplierParty/Party/PartyName/Name |
SupplierAddressLineOne |
AccountingSupplierParty/Party/PostalAddress/StreetName |
SupplierAddressLineTwo |
AccountingSupplierParty/Party/PostalAddress/AdditionalStreetName |
SupplierTownOrCity |
AccountingSupplierParty/Party/PostalAddress/CityName |
SupplierPostalCode |
AccountingSupplierParty/Party/PostalAddress/PostalZone |
SupplierRegionTwo |
AccountingSupplierParty/Party/PostalAddress/CountrySubentity |
SupplierAddressLineOne |
AccountingSupplierParty/Party/PostalAddress/AddressLine/Line |
SupplierCountry |
AccountingSupplierParty/Party/PostalAddress/Country/IdentificationCode Note: There is a predefined DVM,
COUNTRY_CODE in use for this field.
|
SupplierRegNumber |
AccountingSupplierParty/Party/PartyTaxScheme/CompanyID |
AccountingSupplierParty/Party/PartyTaxScheme/TaxScheme/ID This is set to VAT. |
|
LegalEntityName |
AccountingSupplierParty/Party/PartyLegalEntity/RegistrationName |
LegalEntityTaxpayerId |
AccountingSupplierParty/Party/PartyLegalEntity/CompanyID |
LeContactName |
AccountingSupplierParty/Party/Contact/Name |
ReceiptMethodName |
PaymentMeans/PaymentMeansCode |
Comments |
InstructionNote |
PayeeIBANNumber |
PaymentMeans/PayeeFinancialAccount/ID |
DebitAuthorizationId |
PaymentMeans/PaymentMandate/ID |
BankAcctNumHash1 |
PaymentMeans/PaymentMandate/PayerFinancialAccount/ID |
TransferDocPaymentTerm/PaymenttermDescription |
PaymentTerms/Note |
TransferDocHeaderAttachments |
AdditionalDocumentReference |
DmDocumentId |
AdditionalDocumentReference/ID |
AdditionalDocumentReference/DocumentTypeCode This is set to 130. |
|
DmDocumentId |
AdditionalDocumentReference/Attachment/EmbeddedDocumentBinaryObject/@uri |
FileName |
AdditionalDocumentReference/Attachment/EmbeddedDocumentBinaryObject/@filename |
AdditionalDocumentReference/Attachment/EmbeddedDocumentBinaryObject/@mimeCode This is set to application/pdf. |
|
URL DatatypeCode |
AdditionalDocumentReference/Attachment/ExternalReference/URI If URL has a value, map the URL, otherwise map DatatypeCode |
TransferDocBillToTradeParty |
AccountingCustomerParty |
CountryCode |
EndpointID/@schemeID Note: There is a predefined DVM,
EAS_CODE in use for this field.
|
CustomerTaxRegNumber |
EndpointID |
CountryCode |
PartyIdentification/ID/@schemeID |
CustomerTaxRegNumber |
PartyIdentification/ID Note: There is a predefined DVM,
IDC_CODE in use for this field.
|
PartyName |
PartyName/Name |
AddressLineOne |
PostalAddress/StreetName |
AddressLineTwo |
PostalAddress/AdditionalStreetName |
City |
PostalAddress/CityName |
PostalCode |
PostalAddress/PostalZone |
AddressLineOne |
PostalAddress/AddressLine/Line |
CountryCode |
PostalAddress/Country/IdentificationCode Note: There is a predefined DVM,
COUNTRY_CODE in use for this field.
|
CustomerTaxRegNumber |
PartyTaxScheme/CompanyID |
PartyTaxScheme/ID This is set to VAT. |
|
PartyName |
PartyLegalEntity/RegistrationName |
CountryCode |
PartyLegalEntity/CompanyID/@schemeID Note: There is a predefined DVM,
ICD_CODE in use for this field.
|
CustomerTaxRegNumber |
PartyLegalEntity/CompanyID |
LegalEntityIdentifier |
PayeeParty/PartyIdentification/ID If LegalEntityIdentifier not equal to SupplierRegNumber then LegalEntityIdentifier is mapped |
LegalEntityName |
PayeeParty/PartyName/Name If LegalEntityIdentifier not equal to SupplierRegNumber then LegalEntityName is mapped |
LegalEntityIdentifier |
PayeeParty/PartyLegalEntity/CompanyID If LegalEntityIdentifier not equal to SupplierRegNumber then LegalEntityIdentifier is mapped |
TaxRepName |
TaxRepresentativeParty/PartyName/Name |
TaxRepAddress1 |
TaxRepresentativeParty/PostalAddress/StreetName |
TaxRepAddress2 |
TaxRepresentativeParty/PostalAddress/AdditionalStreetName |
TaxRepCity |
TaxRepresentativeParty/PostalAddress/CityName |
TaxRepPostalCode |
TaxRepresentativeParty/PostalAddress/PostalCode |
TaxRepState |
TaxRepresentativeParty/PostalAddress/CountrySubentity |
TaxRepAddress3 |
TaxRepresentativeParty/PostalAddress/AddressLine/Line |
TaxRepCountry |
TaxRepresentativeParty/PostalAddress/Country/IdentificationCode |
TaxRepRegistrationNumber |
TaxRepresentativeParty/PartyTaxScheme/CompanyID |
TaxRepresentativeParty/PartyTaxScheme/TaxScheme/ID This is set to VAT. |
|
TransferDocShipToTradeParty |
Delivery |
../ShipDate |
ActualDeliveryDate |
CountryCode |
DeliveryLocation/ID/@schemeID Note: There is a predefined DVM,
IDC_CODE in use for this field.
|
CustomerTaxRegNumber |
DeliveryLocation/ID |
AddressLineOne |
DeliveryLocation/Address/StreetName |
AddressLineTwo |
DeliveryLocation/Address/AdditionalStreetName |
City |
DeliveryLocation/Address/CityName |
PostalCode |
DeliveryLocation/Address/PostalZone |
AddressLineOne |
DeliveryLocation/Address/AddressLine/Line |
CountryCode |
DeliveryLocation/Address/Country/IdentificationCode Note: There is a predefined DVM,
COUNTRY_CODE in use for this field.
|
PartyName |
DeliveryParty/PartyName/Name |
TransferDocHeaderCharge |
AllowanceCharge |
ChargeIndicator This is set to true. |
|
LineType |
AllowanceChargeReasonCode Note: There is a predefined DVM,
CHANGE_REASON_CODE in use for this field.
|
LineType |
AllowanceChargeReason |
result/CurrencyCode |
Amount/@currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
ChargeAmount |
Amount |
TaxCategory/ID This is set to E. |
|
TaxCategory/Percent This is set to 0. |
|
TaxCategory/TaxScheme/ID This is set to VAT. |
|
TransferDocLine |
InvoiceLine |
TransferDocLine/TransferDocLineCharge |
AllowanceCharge TransferDocLine/TransferDocLineCharge is mapped if result/TransferDocHeaderCharge does not exist . There is one AllowanceCharge per LineType.
|
ChargeIndicator This is set to true. |
|
LineType |
AllowanceChargeReasonCode Note: There is a predefined DVM,
CHARGE_REASON_CODE in use for this field.
|
LineType |
AllowanceChargeReason |
result/CurrencyCode |
Amount/@currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
sum(TransferDocLineCharge[LineType = $current]/ChargeAmount) |
Amount |
TaxCategory/ID This is set to E. |
|
TaxCategory/Percent This is set to 0. |
|
TaxCategory/TaxScheme/ID This is set to VAT. |
|
result/CurrencyCode |
TaxTotal/TaxAmount/@currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
TotalTaxAmount |
TaxTotal/TaxAmount |
TaxTotal/TaxSubtotal/ Set to totalChargeAmount if it exists |
|
result/CurrencyCode |
TaxableAmount/@currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
totalChargeAmount + totalTaxExemptTaxableAmount |
TaxableAmount totalChargeAmount sums the ChargeAmount at header if TransferDocHeaderCharge exists on header otherwise sums the ChargeAmount at the line. totalTaxExemptTaxableAmount sums the TaxableAmount at the header where the TaxRateCode = to the taxExemptCode. |
r esult/CurrencyCode |
TaxAmount/@currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
TaxAmount This is set to 0. |
|
TaxCategory/ID This is set to E. |
|
TaxCategory/Percent This is set to 0. |
|
TaxCategory/TaxExemptionReason This is set to Exempt. |
|
TaxCategory/TaxScheme/ID This is set to VAT. |
|
TransferDocHeaderTax |
TaxTotal/TaxSubtotal TransferDocHeaderTax is mapped if TaxRateCode it is not exempt |
result/CurrencyCode |
TaxableAmount/@currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
TaxableAmount |
TaxableAmount |
result/CurrencyCode |
TaxAmount/@currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
TaxAmount |
TaxAmount |
TaxRateCode |
TaxCategory/ID Note: There is a predefined DVM,
TAX_CATEGORY_CODE in use for this field.
|
TaxRate |
TaxCategory/Percent If no value is provided, this is set to 0 |
ExemptReasonCode |
TaxCategory/TaxExemptionReasonCode |
ExemptReason |
TaxCategory/TaxExemptionReason If no value is provided, this is set to Exempt |
TaxCategory/TaxScheme/ID This is set to VAT |
|
result/CurrencyCode |
LegalMonetaryTotal/LineExtensionAmount/@currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
LineExtensionAmount |
LegalMonetaryTotal/LineExtensionAmount |
CurrencyCode |
LegalMonetaryTotal/TaxExclusiveAmount/@currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
TaxExclusiveAmount |
LegalMonetaryTotal/TaxExclusiveAmount |
CurrencyCode |
LegalMonetaryTotal/TaxInclusiveAmount/@currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
InvoiceAmount |
LegalMonetaryTotal/TaxInclusiveAmount |
CurrencyCode |
LegalMonetaryTotal/AllowanceTotalAmount/@currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
sum(tns:TransferDocPaymentTerm[tns:DiscountAmount != '']/tns:DiscountAmount) |
LegalMonetaryTotal/AllowanceTotalAmount The sum of TransferDocPaymentTerm/DiscountAmount is mapped if it exists |
CurrencyCode |
LegalMonetaryTotal/ChargeTotalAmount/@currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
sum(TransferDocHeaderCharge[ChargeAmount != '']/ChargeAmount) or sum(TransferDocLine[TransferDocLineCharge]/TransferDocLineCharge[LineType != '']/ChargeAmount) |
LegalMonetaryTotal/ChargeTotalAmount The sum of TransferDocHeaderCharge/ChargeAmount if it exists is mapped or else the sum of the TransferDocLine/TransferDocLineCharge/ChargeAmount is mapped
|
CurrencyCode |
LegalMonetaryTotal/PayableAmount/@currencyID |
InvoiceAmount |
LegalMonetaryTotal/PayableAmount |
TransferDocLine |
InvoiceLine |
LineNumber |
ID |
Description |
Note |
UnitOfMeasure |
InvoicedQuantity/@unitCode Note: There is a predefined DVM,
UOM_CODE in use for this field.
|
Quantity |
InvoicedQuantity |
result/CurrencyCode |
LineExtensionAmount/@currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
LineAmount |
LineExtensionAmount |
TransferDocSalesOrder[1]/SalesOrderLine |
OrderLineReference/LineID |
TransferDocLine/TransferDocLineCharge |
InvoiceLine/AllowanceCharge |
LineType |
AllowanceChargeReasonCode Note: There is a predefined DVM,
CHARGE_REASON_CODE in use for this field.
|
LineType |
AllowanceChargeReason |
result/CurrencyCode |
Amount/@currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
ChargeAmount |
Amount |
ItemDescription |
Item/Description |
TranslatedDescription |
Item/Name Set to Item Name |
TpItemDesc |
Item/BuyersItemIdentification/ID |
ItemNumber |
Item/SellersItemIdentification/ID |
ItemCategoryName |
CommodityClassification/ItemClassificationCode |
TransferDocLine/TransferDocTax |
InvoiceLine/Item/ClassifiedTaxCategory |
TaxRateCode |
ID Note: There is a predefined DVM,
TAX_CATEGORY_CODE in use for this field.
|
TaxRate |
Percent |
TaxScheme/ID This is set to VAT |
|
result/CurrencyCode |
Price/PriceAmount/currencyID Note: There is a predefined DVM,
CURRENCY_CODE in use for this field.
|
UnitSellingPrice |
Price/PriceAmount |
Sample Payload
Here is a sample of the payload that’s sent for the UBL-2.1-PEPPOL-Invoice-Out message.
<sendCollaborationDocument xmlns="http://xmlns.oracle.com/apps/scm/cmk">
<CollaborationEvent testFlag="true" testResult="Success">
<CollaborationEventName>ProcessInvoiceInitiated</CollaborationEventName>
<RecipientKey1>1245</RecipientKey1>
<RecipientKey2>2959</RecipientKey2>
<RecipientKeyType>CustomerAccount</RecipientKeyType>
<ObjectKey1>1003</ObjectKey1>
<ObjectKey2>300001306852235</ObjectKey2>
<ObjectKey3>5058</ObjectKey3>
</CollaborationEvent>
<Document>
<ns3:findTransferDocumentByDocumentCustomerTrxIdResponse xmlns:ns0="http://xmlns.oracle.com/apps/financials/receivables/transactions/shared/documentTransferService/types/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:ns3="http://xmlns.oracle.com/apps/financials/receivables/transactions/shared/documentTransferService/types/">
<ns2:result xmlns:ns2="http://xmlns.oracle.com/apps/financials/receivables/transactions/shared/documentTransferService/types/" xmlns:ns1="http://xmlns.oracle.com/apps/financials/receivables/transactions/shared/documentTransferService/" xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns1:InvoiceAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">7435</ns1:InvoiceAmount>
<ns1:CurrencyCode>EUR</ns1:CurrencyCode> <!-- CURRENCY_CODE -->
<ns1:TrxDate>2020-09-07</ns1:TrxDate>
<ns1:TrxNumber>2810005248</ns1:TrxNumber>
<ns1:PurchaseOrder>PO123456789</ns1:PurchaseOrder>
<ns1:DocumentType>INV</ns1:DocumentType> <!-- INVOICE_TRX_TYPE_CODE -->
<ns1:PaymentMethod>CHECK</ns1:PaymentMethod>
<ns1:SupplierName>My Supplier</ns1:SupplierName>
<!-- 20220824 Added Start -->
<ns1:ShipDate>2020-09-09</ns1:ShipDate>
<!-- 20220824 Added End -->
<ns1:TaxAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">420</ns1:TaxAmount>
<ns1:SupplierAddressLineOne>123 Main Steet</ns1:SupplierAddressLineOne>
<ns1:SupplierAddressLineTwo>Line 2</ns1:SupplierAddressLineTwo>
<ns1:SupplierTownOrCity>AnyCity</ns1:SupplierTownOrCity>
<ns1:SupplierCountry>NL</ns1:SupplierCountry> <!-- EAS_CODE and ICD_CODE and COUNTRY_CODE -->
<ns1:SupplierRegionTwo>Region 2</ns1:SupplierRegionTwo>
<ns1:SupplierPostalCode>1082 MS</ns1:SupplierPostalCode>
<!-- 20220824 Added Start -->
<ns1:WaybillNumber>123</ns1:WaybillNumber>
<!-- 20220824 Added End -->
<ns1:LegalEntityName>MyLegal Name</ns1:LegalEntityName>
<ns1:LegalEntityTaxpayerId>09036504</ns1:LegalEntityTaxpayerId>
<!-- Needed for Credit Memo
<ns1:OriginalTrxNumber xsi:nil="true"/>
<ns1:OrigTrxDate xsi:nil="true"/>
-->
<ns1:SupplierRegNumber>NL001830041B01</ns1:SupplierRegNumber>
<ns1:TaxTypeCode>NL VAT</ns1:TaxTypeCode>
<ns1:ReceiptMethodName>PO</ns1:ReceiptMethodName> <!-- PAYMENT_METHOD -->
<ns1:RoundedTaxAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">0</ns1:RoundedTaxAmount>
<ns1:LineExtensionAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">7000</ns1:LineExtensionAmount>
<ns1:TaxExclusiveAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">7015</ns1:TaxExclusiveAmount>
<ns1:TotalTaxAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">420</ns1:TotalTaxAmount>
<ns1:ExemptReasonCode xsi:nil="true"/>
<ns1:PayeeIBANNumber>NL85RABO0112295037</ns1:PayeeIBANNumber>
<ns1:PayeeBankAccountName>Dummy 2</ns1:PayeeBankAccountName>
<ns1:PayeeBankAccountType>CHECKING</ns1:PayeeBankAccountType>
<ns1:PayeeBankCurrencyCode>EUR</ns1:PayeeBankCurrencyCode>
<ns1:PayeeBankBranchId>BNPANL2A</ns1:PayeeBankBranchId>
<ns1:PayeeBankCountry>Netherlands</ns1:PayeeBankCountry>
<!-- 20220824 Added Start -->
<ns1:TermDueDate>2022-08-18</ns1:TermDueDate>
<ns1:SpecialInstructions>SpecialInstructions</ns1:SpecialInstructions>
<ns1:ContractId>456</ns1:ContractId>
<ns1:Comments>Comments</ns1:Comments>
<ns1:TrxTypeName>BR Sales</ns1:TrxTypeName>
<ns1:LegalEntityIdentifier>BR123</ns1:LegalEntityIdentifier>
<ns1:LeContactName>Bob</ns1:LeContactName>
<ns1:TaxRepName>Tax Rep Name</ns1:TaxRepName>
<ns1:TaxRepAddress1>Address 1</ns1:TaxRepAddress1>
<ns1:TaxRepAddress2>Address 2</ns1:TaxRepAddress2>
<ns1:TaxRepCity>MyCity</ns1:TaxRepCity>
<ns1:TaxRepPostalCode>12345</ns1:TaxRepPostalCode>
<ns1:TaxRepState>CA</ns1:TaxRepState>
<ns1:TaxRepAddress3>Address 3</ns1:TaxRepAddress3>
<ns1:TaxRepCountry>MyCountry</ns1:TaxRepCountry>
<ns1:TaxRepRegistrationNumber>567</ns1:TaxRepRegistrationNumber>
<ns1:DebitAuthorizationId>789</ns1:DebitAuthorizationId>
<ns1:BankAcctNumHash1>098</ns1:BankAcctNumHash1>
<!-- 20220824 Added End -->
<ns1:TransferDocHeaderCharge>
<ns1:ChargeAmount>10.00</ns1:ChargeAmount>
<ns1:LineType>FREIGHT</ns1:LineType> <!-- CHARGE_REASON_CODE -->
</ns1:TransferDocHeaderCharge>
<ns1:TransferDocLineCharge>
<ns1:ChargeAmount>5.00</ns1:ChargeAmount>
<ns1:LineType>MISC</ns1:LineType> <!-- CHARGE_REASON_CODE -->
</ns1:TransferDocLineCharge>
<ns1:TransferDocLine>
<ns1:LineType>LINE</ns1:LineType>
<ns1:LineNumber>1</ns1:LineNumber>
<ns1:LineAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">2000</ns1:LineAmount>
<ns1:CurrencyCode>EUR</ns1:CurrencyCode>
<ns1:UnitSellingPrice xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">2000</ns1:UnitSellingPrice>
<ns1:Quantity xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/">1</ns1:Quantity>
<ns1:Description>test line 1</ns1:Description>
<ns1:UnitOfMeasure>10</ns1:UnitOfMeasure> <!-- UOM_CODE -->
<ns1:Item>Item</ns1:Item>
<ns1:ItemDescription>Item Description</ns1:ItemDescription>
<ns1:LineTaxAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">420</ns1:LineTaxAmount>
<ns1:RoundedLineTaxAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">0</ns1:RoundedLineTaxAmount>
<!-- 20220824 Added Start -->
<ns1:ItemNumber>BR01</ns1:ItemNumber>
<ns1:TranslatedDescription>Name</ns1:TranslatedDescription>
<ns1:TpItemDesc>TpItemDesc</ns1:TpItemDesc>
<ns1:ItemCategoryName>Category Name</ns1:ItemCategoryName>
<!-- 20220824 Added End -->
<!-- Start Not Used Charge provided on header -->
<ns1:TransferDocLineCharge>
<ns1:ChargeAmount>10.00</ns1:ChargeAmount>
<ns1:LineType>FREIGHT</ns1:LineType> <!-- CHARGE_REASON_CODE -->
</ns1:TransferDocLineCharge>
<ns1:TransferDocLineCharge>
<ns1:ChargeAmount>5.00</ns1:ChargeAmount>
<ns1:LineType>MISC</ns1:LineType> <!-- CHARGE_REASON_CODE -->
</ns1:TransferDocLineCharge>
<!-- End -->
<ns1:TransferDocPurchaseOrder>
<ns1:PurchaseOrder>PO123456789</ns1:PurchaseOrder>
</ns1:TransferDocPurchaseOrder>
<ns1:TransferDocTax>
<ns1:TaxAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">420</ns1:TaxAmount>
<ns1:TaxableAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">2000</ns1:TaxableAmount>
<ns1:TaxRate>21</ns1:TaxRate>
<ns1:TaxRateCode>S</ns1:TaxRateCode> <!-- TAX_CATEGORY_CODE -->
</ns1:TransferDocTax>
</ns1:TransferDocLine>
<ns1:TransferDocPaymentTerm>
<ns1:PaymenttermName>N30</ns1:PaymenttermName>
<ns1:PaymenttermDescription>30 days</ns1:PaymenttermDescription> <!-- PAYMENT_TERMS -->
</ns1:TransferDocPaymentTerm>
<ns1:TransferDocBillToTradeParty>
<ns1:PartyName>BillToPartyName</ns1:PartyName>
<ns1:AddressLineOne>Main Street 2</ns1:AddressLineOne>
<ns1:AddressLineTwo>Line 2</ns1:AddressLineTwo>
<ns1:AddressLineThree xsi:nil="true"/>
<ns1:AddressLineFour xsi:nil="true"/>
<ns1:City>MyCity</ns1:City>
<ns1:PostalCode>3526 LA</ns1:PostalCode>
<ns1:TaxpayerIdNumber>NL821699180B01</ns1:TaxpayerIdNumber>
<ns1:CountryCode>NL</ns1:CountryCode> <!-- EAS_CODE and ICD_CODE and COUNTRY_CODE -->
<ns1:CustomerTaxRegNumber>CustomerTaxRegNumber</ns1:CustomerTaxRegNumber>
</ns1:TransferDocBillToTradeParty>
<ns1:TransferDocShipToTradeParty>
<ns1:AddressLineOne>Griffioenlaan 2</ns1:AddressLineOne>
<ns1:AddressLineTwo>Line 2</ns1:AddressLineTwo>
<ns1:City>MyCity-ShipTo</ns1:City>
<ns1:PostalCode>3526 LA</ns1:PostalCode>
<ns1:CountryCode>NL</ns1:CountryCode> <!-- ICD_CODE and COUNTRY_CODE -->
<ns1:CustomerTaxRegNumber>12345</ns1:CustomerTaxRegNumber>
</ns1:TransferDocShipToTradeParty>
<!-- 20220824 - Added Start -->
<ns1:TransferDocHeaderAttachments>
<ns1:DmDocumentId>UCMFA00292890</ns1:DmDocumentId>
<ns1:FileName>sampleattachment.txt</ns1:FileName>
<ns1:Url>myurl.com</ns1:Url>
<ns1:DatatypeCode>FILE</ns1:DatatypeCode>
</ns1:TransferDocHeaderAttachments>
<!-- 20220824 - Added End -->
<ns1:TransferDocHeaderTax>
<ns1:TaxAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">420</ns1:TaxAmount>
<ns1:TaxableAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">2000</ns1:TaxableAmount>
<ns1:TaxRate>21</ns1:TaxRate>
<ns1:TaxRateCode>S</ns1:TaxRateCode>
</ns1:TransferDocHeaderTax>
<ns1:TransferDocHeaderTax>
<ns1:TaxableAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">5000</ns1:TaxableAmount>
<ns1:TaxAmount xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" currencyCode="EUR">0</ns1:TaxAmount>
<ns1:TaxRate>0</ns1:TaxRate>
<ns1:TaxRateCode>E</ns1:TaxRateCode> <!-- TAX_CATEGORY_CODE -->
<ns1:ExemptReason>Exempt</ns1:ExemptReason> <!-- used if tax exempt -->
<ns1:ExemptReasonCode>E</ns1:ExemptReasonCode> <!-- used if tax exempt -->
</ns1:TransferDocHeaderTax>
</ns2:result>
</ns3:findTransferDocumentByDocumentCustomerTrxIdResponse>
</Document>
</sendCollaborationDocument>