Estándares de factura XML – OIOXML

OIOXML es un estándar de factura XML antiguo que se utiliza en Dinamarca. En su lugar, se debe utilizar el nuevo estándar XML OIOUBL.

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/Address/PostalZone
BuyerContactPersonName /Invoice/BuyerParty/BuyerContact/Name
BuyerVATRegistrationNumber /Invoice/BuyersReferenceID
InvoiceBaselineDate /Invoice/IssueDate
InvoiceCredit /Invoice/TypeCode

El valor “PIP” o “PIE” extraído se traduce a 0 (Debit)

El valor “PCP” o “PCM” extraído se traduce a 1 (Credit)

InvoiceCurrency /invoice/main:InvoiceCurrencyCode
InvoiceDate /Invoice/IssueDate
InvoiceDueDate /Inv/Invoice/PaymentMeans/PaymentDueDateoice/PaymentMeans/DuePaymentDate
InvoiceNumber /Invoice/ID
InvoiceOrderNumber /Invoice/ReferenceOrder/BuyersOrderID

Si el valor de este elemento es “n/a”, se traduce como una cadena vacía.

InvoiceTotalVATAmount /Invoice/TaxTotal/TaxAmounts/TaxAmount

Sólo acepta el valor de la sección en la que /Invoice/TaxTotal/TaxTypeCode es igual a “VAT”.

InvoiceTotalVATExcludedAmount /Invoice/LegalTotal/LineExtensionTotalAmount

Si el valor de este elemento es 0, utilice esta ubicación alternativa:

/Invoice/LegalTotal/ToBePaidTotalAmount

InvoiceTotalVATIncludedAmount /Invoice/LegalTotal/ToBePaidTotalAmount
InvoiceTotalVATRatePercent /Invoice/TaxTotal/CategoryTotal/RatePercentNumeric

Sólo acepta el valor de la sección en la que /Invoice/TaxTotal/CategoryTotal/rateCategoryCode

ID es igual a “VAT”.

Payment ReferenceNumber Este valor se deriva de la combinación de los valores siguientes:

+/Invoice/PaymentMeans/TypeCodeID

</Invoice/PaymentMeans/PaymentID

+/Invoice/PaymentMeans/JointPaymentID

<

PaymentTerms /Invoice/PaymentTerms/ID
PaymentTermsInterest /Invoice/PaymentTerms/PenaltySurchargeRateNumeric
PaymentType /Invoice/PaymentMeans/PaymentChannelCode

If TypeCode==BANK

SupplierAccountNumber1 /Invoice/PaymentMeans/PayeeFinancialAccount/ID
SupplierAccountNumber2 /Invoice/PaymentMeans/JointPaymentID
SupplierAccountNumber4 /Invoice/PaymentMeans/PaymentID
SupplierAddressPostalCode /Invoice/SellerParty/Address/PostalZone
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/ID
LIT_ArticleName /Invoice/InvoiceLine/Item/Description
LIT_DeliveredQuantity /Invoice/InvoiceLine/InvoicedQuantity
LIT_DeliveredQuantityUnitCode /Invoice/InvoiceLine/InvoicedQuantity/@unitCode
LIT_OrderNumber /Invoice/InvoiceLine/ReferenceOrderLine/BuyersID
LIT_RowIdentifier /Invoice/InvoiceLine/ID
LIT_UnitPriceAmount /Invoice/InvoiceLine/BasePrice/PriceAmount
LIT_VatExcludedAmount /Invoice/InvoiceLine/LineExtensionAmount
LIT_VatRate /Invoice/InvoiceLine/Item/Tax/RatePercentNumeric
Campos de adjuntos Posición del elemento asignado en el código XML
EmbeddedValue /Invoice/EncodedDocument
AdditionalInfo /Invoice/EncodedDocument/@agencyID