XML invoice standard – E2B
E2B is an XML invoice standard that is used in Norway.
If you receive XML invoices from one or more companies from there, the invoices may come in this format.
This topic lists the Kofax ReadSoft Invoices field types that are normally mapped to elements in these documents and indicates where in the XML code the elements are normally found. The Kofax ReadSoft Invoices 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 Integration Specification.pdf. You can obtain this document from your Kofax representative.
Kofax ReadSoft Invoices 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 |
DeliveryDate | /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 |