Estándar de factura XML – OIOUBL (Invoice y Credit Note [Factura y Nota de abono])

OIOUBL Invoice y OIOUBL Credit Note son estándares de facturas XML que se utilizan en Dinamarca.

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

Para la versión Invoice, "..." en cada cadena de abajo se debe sustituir por "/Invoice"

Para la versión Credit note, "..." en cada cadena de abajo se debe sustituir por "/CreditNote"

BuyerAddressPostalCode .../AccountingCustomerParty/Party/PostalAddress/PostalZone
BuyerContactPersonName .../AccountingCustomerParty/Party/Contact/Name
BuyerVATRegistrationNumber .../AccountingCustomerParty/Party/PartyTaxScheme/CompanyID
DeliveryDate .../Delivery/ActualDeliveryDate
InvoiceBaselineDate .../IssueDate
InvoiceCredit 0 = invoice (debit)

1 = credit note

InvoiceCurrency .../DocumentCurrencyCode
InvoiceDate .../IssueDate
InvoiceDueDate .../PaymentMeans/PaymentDueDate
InvoiceNumber .../ID
InvoiceOrderNumber .../OrderReference/ID

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

InvoiceTaxAmount1 .../TaxTotal/TaxSubtotal/TaxAmount

Solo toma el valor de la sección en la que el valor de /Invoice/TaxTotal/TaxSubtotal/TaxCategory/ID es igual a ‘StandardRated’.

InvoiceTotalVATAmount .../TaxTotal/TaxAmount
InvoiceTotalVATExcludedAmount .../LegalMonetaryTotal/LineExtensionAmount
InvoiceTotalVATIncludedAmount .../LegalMonetaryTotal/PayableAmount
InvoiceTotalVATRatePercent .../TaxTotal/TaxSubtotal/TaxCategory/Percent

Solo toma el valor de la sección en la que el valor de /Invoice/TaxTotal/TaxSubtotal/TaxCategory/ID es igual a ‘StandardRated’.

Payment ReferenceNumber .../PaymentMeans/PayeeFinancialAccount/

El valor que se utiliza aquí deriva de la combinación de valores en estas ubicaciones, de la manera siguiente (si existen):

+/PaymentMeans/PaymentID

</PaymentMeans/InstructionID

+/PaymentMeans/AccountID

<

PaymentTerms .../PaymentTerms/:ID
PaymentTermsInterest .../PaymentTerms/PenaltySurchargePercent
PaymentType /Invoice/PaymentMeans/PaymentChannelCode

If the node does not exist, the value is taken from this alternate location: /Invoice/PaymentMeans/PaymentMeansCode

SupplierAccountNumber1 .../PaymentMeans/PayeeFinancialAccount/ID
SupplierAddressPostalCode .../AccountingSupplierParty/Party/PostalAddress/PostalZone
SupplierVATRegistrationNumber .../AccountingSupplierParty/Party/PartyTaxScheme/CompanyID
Campos de línea de detalles/artículos (Invoices) 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/@unitCode
LIT_RowIdentifier /Invoice/InvoiceLine/ID
LIT_UnitPriceAmount /Invoice/InvoiceLine/Price/PriceAmount
LIT_VatAmount /Invoice/InvoiceLine/TaxTotal/TaxAmount
LIT_VatExcludedAmount /Invoice/InvoiceLine/LineExtensionAmount
LIT_VatRate /Invoice/InvoiceLine/TaxTotal/TaxSubtotal/TaxCategory/Percent
Campos de línea de detalles/artículos (Credit notes) Posición del elemento asignado en el código XML
LIT_ArticleIdentifier /CreditNote/CreditNoteLine/Item/SellersItemIdentification/ID
LIT_ArticleName /CreditNote/CreditNoteLine/Item/Description
LIT_DeliveredQuantity /CreditNote/CreditNoteLine/CreditedQuantity
LIT_DeliveredQuantityUnitCode /CreditNote/CreditNoteLine/CreditedQuantity/@unitCode
LIT_RowIdentifier /CreditNote/CreditNoteLine/ID
LIT_UnitPriceAmount /CreditNote/CreditNoteLine/Price/PriceAmount
LIT_VatAmount /CreditNote/CreditNoteLine/TaxTotal/TaxAmount
LIT_VatExcludedAmount /CreditNote/CreditNoteLine/LineExtensionAmount
LIT_VatRate /CreditNote/CreditNoteLine/TaxTotal/TaxSubtotal/TaxCategory/Percent
Campos de adjuntos Posición del elemento asignado en el código XML

Para la versión Invoice, "..." en cada cadena de abajo se debe sustituir por "/Invoice"

Para la versión Credit note, "..." en cada cadena de abajo se debe sustituir por "/CreditNote"

Id       .../ID
EmbeddedValue .../Attachment/EmbeddedDocumentBinaryObject
DataURI .../Attachment/ExternalReference/URI
DataType .../DocumentTypeCode
AdditionalInfo .../Attachment/EmbeddedDocumentBinaryObject/@mimeCode