Estándar de factura XML: Svefaktura

Svefaktura es un estándar de factura XML que se utiliza en Suecia.

Si recibe facturas XML de una o más empresas desde ahí, las facturas podrían venir en este formato.

En este tema se muestra una lista de los tipos de campos de Kofax ReadSoft Invoices que normalmente se correlacionan con elementos en estos documentos e indica en qué parte del código XML se suelen encontrar los elementos. Los tipos de campo de Kofax ReadSoft Invoices que normalmente no se correlacionan con elementos XML no se muestran aquí.

Para obtener más información cómo la lógica en el XML inteligente de Collector funciona con este estándar, consulte ReadSoft COLLECTOR Integration Specification.pdf. Puede obtener este documento de su representante de Kofax.

Campo Kofax ReadSoft Invoices Posición del elemento asignado en el código XML
BuyerAddressPostalCode /Invoice/BuyerParty/Party/Address/PostalZone
BuyerContactPersonName /Invoice/BuyerParty/Party/Contact/Name
BuyerTaxNumber1 /Invoice/BuyerParty/PartyTaxScheme/CompanyID

Toma el valor de la sección en la que el valor de

/Invoice/BuyerParty/PartyTaxScheme/TaxScheme/ID es igual a ‘VAT’ (IVA).

BuyerTaxNumber2 /Invoice/BuyerParty/PartyTaxScheme/CompanyID

Toma el valor de la sección en la que el valor de

/Invoice/BuyerParty/PartyTaxScheme/TaxScheme/ID es igual a ‘SWT’.

BuyerVATRegistrationNumber /Invoice/BuyerParty/PartyTaxScheme/CompanyID

Toma el valor de la sección en la que el valor de

/Invoice/BuyerParty/PartyTaxScheme/TaxScheme/ID es igual a ‘VAT’.

DeliveryDate /Invoice/Delivery/ActualDeliveryDateTime
DeliveryNote /Invoice/InvoiceLine/DespatchLineReference/DocumentReference/ID
DeliveryTerms /Invoice/DeliveryTerms/SpecialTerms
InvoiceBaselineDate /Invoice/IssueDate
InvoiceCredit /Invoice/InvoiceTypeCode

El valor extraído ‘380’ se traduce a 0 (Debit, factura)

Cualquier otro valor se traduce a 1 (Credit, abono)

InvoiceCurrency /Invoice/InvoiceCurrencyCode
InvoiceDate /Invoice/IssueDate
InvoiceDueDate /Invoice/PaymentMeans/DuePaymentDate
InvoiceNote /Invoice/Note

Este campo no es en un campo de Kofax ReadSoft Invoices por definición, pero se incluye de forma que se pueda mostrar una nota o información adicional en la imagen de la factura.

InvoiceNumber /Invoice/ID
InvoiceOrderNumber /Invoice/InvoiceLine/OrderLineReference/OrderReference/BuyersID
InvoiceTaxAmount1 /Invoice/TaxTotal/TaxSubTotal/TaxAmount

Solo toma el valor de la sección en la que el valor de

/Invoice/TaxTotal/TaxSubTotal/TaxCategory/ID no es igual a ‘E’

InvoiceTotalVATAmount /Invoice/TaxTotal/TotalTaxAmount
InvoiceTotalVATExcludedAmount /Invoice/LegalTotal/TaxExclusiveTotalAmount
InvoiceTotalVATIncludedAmount /Invoice/LegalTotal/TaxInclusiveTotalAmount
InvoiceTotalVATRatePercent /Invoice/TaxTotal/TaxSubTotal/TaxCategory/Percent

Solo toma el valor de la sección en la que el valor de

/Invoice/TaxTotal/TaxSubTotal/TaxCategory/ID no es igual a ‘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

Solo toma el valor de la sección en la que el valor de

/Invoice/PaymentMeans/PayeeFinancialAccount/FinancialInstitutionBranch/FinancialInstitution/ID es igual a ‘PGSISESS’ (PlusGiro)

SupplierAccountNumber2 /Invoice/PaymentMeans/PayeeFinancialAccount/ID

Solo toma el valor de la sección en la que el valor de

/Invoice/PaymentMeans/PayeeFinancialAccount/FinancialInstitutionBranch/FinancialInstitution/ID es igual a ‘BGABSESS’ (BankGiro).

SupplierAccountNumber3 /Invoice/PaymentMeans/PayeeFinancialAccount/ID

Solo toma el valor de la sección en la que el valor de

/Invoice/PaymentMeans/PayeeFinancialAccount/FinancialInstitutionBranch/FinancialInstitution/ID no es igual a ‘PGSISESS’ (PlusGiro) ni ‘BGABSESS’ (BankGiro).

SupplierAddressPostalCode /Invoice/SellerParty/Party/Address/cbc:PostalZone
SupplierTaxNumber1 /Invoice/SellerParty/PartyTaxScheme/CompanyID

Toma el valor de la sección en la que el valor de

/Invoice/SellerParty/PartyTaxScheme/TaxScheme/ID es igual a ‘VAT’.

SupplierTaxNumber2 /Invoice/SellerParty/PartyTaxScheme/CompanyID

Toma el valor de la sección en la que el valor de

/Invoice/SellerParty/PartyTaxScheme/TaxScheme/ID es igual a ‘SWT’.

SupplierVATRegistrationNumber /Invoice/SellerParty/PartyTaxScheme/CompanyID

Toma el valor de la sección en la que el valor de

/Invoice/SellerParty/PartyTaxScheme/TaxScheme/ID es igual a 'VAT'.

Campos de línea de detalles Posición del elemento asignado en el código XML
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
Campos de adjuntos Posición del elemento asignado en el código XML
ID /Invoice/AdditionalDocumentReference/ID
DataURI /Invoice/AdditionalDocumentReference/ID/@identificationSchemeDataURI
SchemeURI /Invoice/AdditionalDocumentReference/ID/@identificationSchemeURI
DataType /Invoice/AdditionalDocumentReference/ID/@identificationSchemeName
AdditionalInfo /Invoice/AdditionalDocumentReference/ID/@identificationSchemeID