XML invoice standard - Svefaktura
Svefaktura is an XML invoice standard that is used in Sweden.
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/BuyerParty/Party/Address/PostalZone |
BuyerContactPersonName | /Invoice/BuyerParty/Party/Contact/Name |
BuyerTaxNumber1 | /Invoice/BuyerParty/PartyTaxScheme/CompanyID
Takes the value from the section in which the value of /Invoice/BuyerParty/PartyTaxScheme/TaxScheme/ID is equal to ‘VAT’. |
BuyerTaxNumber2 | /Invoice/BuyerParty/PartyTaxScheme/CompanyID
Takes the value from the section in which the value of /Invoice/BuyerParty/PartyTaxScheme/TaxScheme/ID is equal to ‘SWT’. |
BuyerVATRegistrationNumber | /Invoice/BuyerParty/PartyTaxScheme/CompanyID
Takes the value from the section in which the value of /Invoice/BuyerParty/PartyTaxScheme/TaxScheme/ID is equal to ‘VAT’. |
DeliveryDate | /Invoice/Delivery/ActualDeliveryDateTime |
DeliveryNote | /Invoice/InvoiceLine/DespatchLineReference/DocumentReference/ID |
DeliveryTerms | /Invoice/DeliveryTerms/SpecialTerms |
InvoiceBaselineDate | /Invoice/IssueDate |
InvoiceCredit | /Invoice/InvoiceTypeCode
Extracted value ‘380’ is translated into 0 (Debit) Any other extracted value is translated into 1 (Credit) |
InvoiceCurrency | /Invoice/InvoiceCurrencyCode |
InvoiceDate | /Invoice/IssueDate |
InvoiceDueDate | /Invoice/PaymentMeans/DuePaymentDate |
InvoiceNote | /Invoice/Note
This field is not an Kofax ReadSoft Invoices field by definition, but it is included so that a note or additional information can be displayed in the image of the invoice. |
InvoiceNumber | /Invoice/ID |
InvoiceOrderNumber | /Invoice/InvoiceLine/OrderLineReference/OrderReference/BuyersID |
InvoiceTaxAmount1 | /Invoice/TaxTotal/TaxSubTotal/TaxAmount
Only takes the value from the section in which the value of /Invoice/TaxTotal/TaxSubTotal/TaxCategory/ID is not equal to ‘E’ |
InvoiceTotalVATAmount | /Invoice/TaxTotal/TotalTaxAmount |
InvoiceTotalVATExcludedAmount | /Invoice/LegalTotal/TaxExclusiveTotalAmount |
InvoiceTotalVATIncludedAmount | /Invoice/LegalTotal/TaxInclusiveTotalAmount |
InvoiceTotalVATRatePercent | /Invoice/TaxTotal/TaxSubTotal/TaxCategory/Percent
Only takes the value from the section in which the value of /Invoice/TaxTotal/TaxSubTotal/TaxCategory/ID is not equal to ‘E’ |
InvoicingPeriodEnd | /Invoice/InvoicingPeriod/EndDateTime |
InvoicingPeriodStart | /Invoice/InvoicingPeriod/StartDateTime |
Payment ReferenceNumber | /Invoice/PaymentMeans/PayeeFinancialAccount/PaymentInstructionID |
PaymentTerms | /Invoice/PaymentTerms/Note |
PaymentTermsInterest | /Invoice/PaymentTerms/PenaltySurchargePercent |
PaymentType | /Invoice/PaymentMeans/PaymentMeansTypeCode |
SupplierAccountNumber1 | /Invoice/PaymentMeans/PayeeFinancialAccount/ID
Only takes the value from the section in which the value of /Invoice/PaymentMeans/PayeeFinancialAccount/FinancialInstitutionBranch/FinancialInstitution/ID is equal to ‘PGSISESS’ (PlusGiro) |
SupplierAccountNumber2 | /Invoice/PaymentMeans/PayeeFinancialAccount/ID
Only takes the value from the section in which the value of /Invoice/PaymentMeans/PayeeFinancialAccount/FinancialInstitutionBranch/FinancialInstitution/ID is equal to ‘BGABSESS’ (BankGiro). |
SupplierAccountNumber3 | /Invoice/PaymentMeans/PayeeFinancialAccount/ID
Only takes the value from the section in which the value of /Invoice/PaymentMeans/PayeeFinancialAccount/FinancialInstitutionBranch/FinancialInstitution/ID is not equal to ‘PGSISESS’ (PlusGiro) or ‘BGABSESS’ (BankGiro). |
SupplierAddressPostalCode | /Invoice/SellerParty/Party/Address/cbc:PostalZone |
SupplierTaxNumber1 | /Invoice/SellerParty/PartyTaxScheme/CompanyID
Takes the value from the section in which the value of /Invoice/SellerParty/PartyTaxScheme/TaxScheme/ID is equal to ‘VAT’. |
SupplierTaxNumber2 | /Invoice/SellerParty/PartyTaxScheme/CompanyID
Takes the value from the section in which the value of /Invoice/SellerParty/PartyTaxScheme/TaxScheme/ID is equal to ‘SWT’. |
SupplierVATRegistrationNumber | /Invoice/SellerParty/PartyTaxScheme/CompanyID
Takes the value from the section in which the value of /Invoice/SellerParty/PartyTaxScheme/TaxScheme/ID is equal to 'VAT'. |
Line Item Fields | Location of element mapped in the XML code |
LIT_ArticleIdentifier | /Invoice/InvoiceLine/Item/SellersItemIdentification/ID |
LIT_ArticleName | /Invoice/InvoiceLine/Item/Description |
LIT_DeliveredQuantity | /Invoice/InvoiceLine/InvoicedQuantity |
LIT_DeliveredQuantityUnitCode | /Invoice/InvoiceLine/InvoicedQuantity/@quantityUnitCode |
LIT_OrderNumber | /Invoice/InvoiceLine/OrderLineReference/OrderReference/BuyersID |
LIT_RowIdentifier | /Invoice/InvoiceLine/ID |
LIT_UnitPriceAmount | /Invoice/InvoiceLine/Item/BasePrice/PriceAmount |
LIT_VatExcludedAmount | /Invoice/InvoiceLine/LineExtensionAmount |
LIT_VatRate | /Invoice/InvoiceLine/Item/TaxCategory/Percent |
Attachment fields | Location of element mapped in the XML code |
ID | /Invoice/AdditionalDocumentReference/ID |
DataURI | /Invoice/AdditionalDocumentReference/ID/@identificationSchemeDataURI |
SchemeURI | /Invoice/AdditionalDocumentReference/ID/@identificationSchemeURI |
DataType | /Invoice/AdditionalDocumentReference/ID/@identificationSchemeName |
AdditionalInfo | /Invoice/AdditionalDocumentReference/ID/@identificationSchemeID |