Skip to main content

E-Documents

The E-Documents page lists every document captured in the archive — not only the ones that became invoices. A spool that failed early, or a document type that never produces an invoice, is still here. It is the archive browser next to the E-Invoicing list, which shows only invoices.

Each row is a document as it was received; open it to see the archived source spool and, when the document became an invoice, the generated UBL — both formatted and downloadable.


At a glance​

E-DocumentsActivity · Customer · Source filePeriod rangeDOCUMENTTYPECUSTOMERAMOUNTDOC DATESOURCE FILE→ PA26000001CG00005RIACME Distribution4 500,002026-07-02SPOOL_4281.xml✓26000002CG00005RIBeta Industries1 280,502026-07-02SPOOL_4281.xml✓26000003DL00005DLGamma SARL—2026-07-01SPOOL_4280.xml—Open a document →Archived source spool — formatted · downloadableGenerated UBL (if it became an invoice) · downloadable

What each row shows​

The default columns are the archive fields: document number, type, company, activity, sub-type, a send-to-PA flag, customer, amount, document date, archive date, source file and the PA UUID. Filters cover activity, customer, source file and the usual period range.

Columns and filters are configurable from Settings → List Views → E-Documents — the same list-view mechanism used elsewhere, so you can pin the columns your team scans and hide the rest. The catalog also carries the refusal fields — rejection reason, expected action and status note — so an archive view can surface why a document was refused as a column, without opening each one.


Opening a document​

Clicking a row opens the document window, with three tabs:

  • Summary — the archive fields of the document: status, source file, customer, type, UBL number, dates, amount, template, PA UUID.
  • Source XML — the archived source spool, the document exactly as it was received, before any transform.
  • UBL — present when the document became an invoice; the UBL that was produced and sent.

The source and the UBL are shown formatted and can be downloaded, named after the document. When the document has a post-transform, the UBL pane also offers Download CII (or Download converted file): the archived UBL converted on demand. A document that failed before producing UBL shows only the source spool — which is precisely what you need to see why.

When the document has a template and an archived source, the viewer also offers an Extract & Process button: it re-extracts the archived spool and re-runs it through the document's template — the same pipeline as the Extract & Process page with the Archive source, with the parameters taken from the document itself. Replace mode is forced, so the rerun overwrites the previous result. Handy to regenerate a document's outputs after a template or configuration change.

Change the type or edit the UBL​

On the UBL tab, two buttons are offered to users whose role has the Edit UBL / change type right (see Access):

▤ Document 1042 / RI / 00001✕SummarySource XMLUBL<Invoice xmlns="urn:oasis:…:Invoice-2"> <cbc:CustomizationID>urn:cen.eu:en16931…</cbc:CustomizationID> <cbc:ID>F2026-1042</cbc:ID> <cbc:IssueDate>2026-11-20</cbc:IssueDate> <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode> <cbc:Note>#BAR#B2B</cbc:Note> <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode> <cac:AccountingSupplierParty> <cac:Party> … <cac:AccountingCustomerParty> <cbc:RegistrationName>ACME</cbc:RegistrationName> …Change the transaction typeCURRENT TYPEB2BNEW TYPEB2C – Relève du e-reporting… ▾Only the type changes: status andplatform are untouched.ConfirmCancel▶ Extract & Process✎ Change type✎ Edit UBL⤓ Download UBLCloseUBL tabthe stored UBL, formattedTransaction typerouting note #BAR# / #ADN#Change type · Edit UBLright Edit UBL / change typeNew typefrom the Document typesType onlyno validation, status or sendEdit UBL → Save UBLvalidated again on save
ButtonWhat it does
Change typeOpens Change the transaction type: the Current type read from the UBL and a New type picked among the document types (B2B, B2C, B2G…). Confirm writes the new type into the routing note of the stored UBL (#BAR#B2C, #ADN#B2G for B2G; the note is added after the type code when the UBL has none) and into the invoice header, so the lists show it at once. Only the type changes: no validation, no status change, nothing sent to the platform.
Edit UBLOpens the stored UBL as text in an XML editor. Save UBL stores it the way the invoice window saves an invoice: the UBL is validated again, the window reports the resulting status and lists the findings above the editor. Cancel leaves the stored UBL unchanged. An invoice already processed by the platform is refused (Not saved: the invoice was already processed by the platform); unlock it through Set status first.

Both actions refresh the list behind the window. A typical use: an invoice produced as B2B that should have been declared as B2C, corrected before it is sent.


Query it over REST​

The same archive is reachable from an external application through GET /api/list-documents (documented in the built-in API reference), with per-document endpoints for the source spool and the generated UBL. It is the integration point for a downstream system that needs to pull an archived document without going through the UI.


Access​

The page follows the same company / role access rules as the E-Invoicing list — a user sees only the companies their role allows. Grant the page to a role from Settings → Roles (under Navigation); it is not visible until granted.

The Change type and Edit UBL buttons of the UBL tab need the Edit UBL / change type action (invoice.edit-ubl) on the role. A role restricted to a list of actions does not have it until it is ticked.


Tips & best practices​

  • Start here when a spool "disappeared". If a document never reached the invoice list, E-Documents shows whether it was archived at all and lets you read its source spool to find the reason.
  • Pin the columns you scan. Configure the E-Documents list view once (Settings → List Views) so the archive opens on the fields that matter to your team.
  • Use the REST endpoint for downstream pulls. /api/list-documents gives an external system the same archive without screen-scraping.