E2B is an XML document standard that is used in Norway.
If you receive XML documents from one or more companies from there, the documents may come in this format.
This topic lists the ENTRANCE field types that are normally mapped to elements in these documents and indicates where in the XML code the elements are normally found. The ENTRANCE field types that are not normally mapped to XML elements are not listed here.
For more information on how the logic in COLLECTOR's intelligent XML functionality works with this standard, please see ReadSoft COLLECTOR 6-3 Integration Specification.pdf. You can obtain this document from your ReadSoft representative.
|
ENTRANCE field |
Location of element mapped in the XML code |
|---|---|
|
BuyerAddressPostalCode |
/Invoice/InvoiceHeader/Buyer/PostalAddress/PostalCode |
|
BuyerContactPersonName |
/invoice/InvoiceHeader/Buyer/ContactPerson/Name |
|
BuyerTaxNumber1 |
/Invoice/InvoiceHeader/Buyer/VatId |
|
BuyerTaxNumber2 |
Descrip/Invoice/InvoiceHeader/Buyer/OrgNumbertion |
|
BuyerVATRegistrationNumber |
/Invoice/InvoiceHeader/Buyer/VatId If this element does not exist, use alternative location: /Invoice/InvoiceHeader/Buyer/OrgNumber |
|
/Invoice/InvoiceHeader/InvoiceReferences/DeliveryDate |
|
|
DeliveryNote |
/Invoice/InvoiceHeader/InvoiceReferences/DeliveryNoteNum |
|
DeliveryTerms |
/Invoice/InvoiceHeader/InvoiceReferences/DeliveryTerms |
|
InvoiceBaselineDate |
/Invoice/InvoiceHeader/InvoiceDate |
|
InvoiceCredit |
/Invoice/InvoiceHeader/InvoiceType Extracted value ‘380’ is translated into 0 (Debit) Any other extracted value is translated into 1 (Credit) |
|
InvoiceCurrency |
/Invoice/InvoiceHeader/Payment/Currency |
|
InvoiceDate |
/Invoice/InvoiceHeader/InvoiceDate |
|
InvoiceDiscountAmount |
/Invoice/InvoiceSummary/DiscountTotals/Amount |
|
InvoiceDiscountPercent |
/Invoice/InvoiceSummary/DiscountTotals/Percent |
|
InvoiceDueDate |
/Invoice/InvoiceHeader/Payment/DueDate |
|
InvoiceNumber |
/Invoice/InvoiceHeader/InvoiceNumber |
| InvoiceOrderNumber |
/Invoice/InvoiceHeader/InvoiceReferences/BuyersOrderNumber |
|
InvoiceTaxAmount1 |
Descripti/Invoice/InvoiceSummary/VatTotalsInfo/VatAmounton |
|
InvoiceTotalVATAmount |
/Invoice/InvoiceSummary/InvoiceTotals/VatTotalsAmount |
|
InvoiceTotalVATExcludedAmount |
/Invoice/InvoiceSummary/InvoiceTotals/NetAmount |
|
InvoiceTotalVATIncludedAmount |
/Invoice/InvoiceSummary/InvoiceTotals/GrossAmount |
|
InvoiceTotalVATRatePercent |
/Invoice/InvoiceSummary/VatTotalsInfo/VatPercent |
|
Payment ReferenceNumber |
/Invoice/InvoiceHeader/Payment/KidNumber |
|
PaymentTerms |
/Invoice/InvoiceHeader/Payment/PaymentTerms |
|
PaymentTermsInterest |
/Invoice/InvoiceHeader/Payment/OverDuePercent |
|
SupplierAccountNumber1 |
/Invoice/InvoiceHeader/Supplier/AccountInformation/AccountNumber |
|
SupplierAddressPostalCode |
/Invoice/InvoiceHeader/Supplier/PostalAddress/PostalCode |
|
SupplierIBAN1 |
/Invoice/InvoiceHeader/Supplier/AccountInformation/IbanNumber |
|
SupplierTaxNumber1 |
/Invoice/InvoiceHeader/Supplier/VatId |
|
SupplierTaxNumber2 |
/Invoice/InvoiceHeader/Supplier/OrgNumber |
|
SupplierVATRegistrationNumber |
/Invoice/InvoiceHeader/Supplier/VatId If this element does not exist, use this alternative location: /Invoice/InvoiceHeader/Supplier/OrgNumber |
| Line Item Fields | |
|
LIT_ArticleIdentifier |
/Invoice/InvoiceDetails/BaseItemDetails/SupplierProductId |
|
LIT_ArticleName |
/Invoice/InvoiceDetails/BaseItemDetails/Description |
|
LIT_DeliveredQuantity |
/Invoice/InvoiceDetails/BaseItemDetails/QuantityInvoiced |
|
LIT_DeliveredQuantityUnitCode |
/Invoice/InvoiceDetails/BaseItemDetails/UnitOfMeasure |
|
LIT_RowIdentifier |
/Invoice/InvoiceDetails/BaseItemDetails/LineItemNum |
|
LIT_UnitPriceAmount |
/Invoice/InvoiceDetails/BaseItemDetails/UnitPrice |
|
LIT_VatAmount |
/Invoice/InvoiceDetails/BaseItemDetails/VatInfo/VatAmount |
|
LIT_VatExcludedAmount |
/Invoice/InvoiceDetails/BaseItemDetails/LineItemAmount |
|
LIT_VatIncludedAmount |
/Invoice/InvoiceDetails/BaseItemDetails/LineItemGrossAmount |
|
LIT_VatRate |
/Invoice/InvoiceDetails/BaseItemDetails/VatInfo/VatPercent |
| Attachment fields | |
|
ID |
/MessageHeader/Attachment/AttachmentName |
|
DataURI |
/MessageHeader/Attachment/AttachmentLocation |
|
DataType |
/MessageHeader/Attachment/AttachmentType |
|
LinkType |
/MessageHeader/Attachment/@type |
|
AdditionalInfo |
/MessageHeader/Attachment/AttachmentNumber |
Supported XML document standard formats
Processing XML documents using COLLECTOR: Overview
Optimizing XML document definitions
Creating rules to map values for fields in XML documents