Index files are how you observe processing without calling HTTP APIs. ArdentaxIT appends operational columns to your original data (JSON) or adds columns to your spreadsheet layout (XLSX).
Poll ingestion first, then Peppol on rows that ingested successfully.
Signal 1 — Index file published
Detection: A new file appears:
sent_archive/{YourUploadStem}_index.json or _index.xlsx
Guarantees when this file exists
The upload was fully read and removed from
sent_inbox.Each row includes `ingestion_status`,
document_uuid(or a failure reason on the row).Archive folders referenced by
retrieval_pathwere created where ingestion succeeded.
Until Signal 1 appears, treat the batch as still ingesting.
Integrator action: Open the index and read `ingestion_status` on every row before polling Peppol. On FAILURE, read ingestion_message; retrieval_path and meaningful Peppol polling are `NA` for that row.
Signal 2 — Peppol terminal status
Applies to: Outbound rows where `ingestion_status` = SUCCESS only.
Detection: Read `peppol_status` on each eligible index row (outbound), or on received_archive/{uuid}_index.* (inbound). Use the canonical enum below. When Peppol rejects a successful ingest, open {Prefix}_response.json under retrieval_path.
While `peppol_status` is `NULL`, keep polling the index row. When it is terminal, download artifacts under `retrieval_path`.
Canonical `peppol_status` values (outbound and inbound)
Use the same enum for outbound and inbound index rows (UAE). There is no SENT value on SFTP indexes — successful clearance is `ACCEPTED`.
On FAILURE rows, peppol_status is `NA` and retrieval_path is `NA` (no UUID artifact folder on the index row). Read `ingestion_message` on that row. ArdentaxIT may additionally copy the raw upload under sent_archive/errors/{Source}/ for support — that path is not written into retrieval_path; do not SFTP-list errors/ unless support directs you there.
On JSON indexes, `peppol_status` is the string "NULL" while waiting (not JSON null).
JSON index file shape (outbound)
Each object includes operational fields (document_number, document_uuid, ingestion_status, ingestion_message, peppol_status, retrieval_path) plus echoed fields from your upload. For custom-mapped ERP exports, ArdentaxIT echoes the same ERP field names from your file (and any routing identifier configured during onboarding).
Poll scripts for JSON uploads read one object. For XLSX-sourced index JSON that contains an array, for example:
jq -c 'if type=="array" then .[] else . end'
Minimal single-document JSON index example (fields abbreviated):
{
"document_number": "INV-1001",
"document_uuid": "550e8400-e29b-41d4-a716-446655440000",
"Txn No": "INV-1001",
"ingestion_status": "SUCCESS",
"ingestion_message": "",
"peppol_status": "NULL",
"retrieval_path": "sent_archive/100234567890003/ORACLE/invoice/550e8400-e29b-41d4-a716-446655440000"
}`retrieval_path` rules
Paths are relative to your SFTP home (not an absolute OS path on the server). Use the value from the index as-is when listing or downloading, for example get {retrieval_path}/Invoice.pdf.
Outbound (success)
Prefix: paths start with
sent_archive/.Layout:
sent_archive/{TIN}/{Source}/then a document-type folder (invoice,credit_note,self_billed_invoice,self_billed_credit_note), then{document_uuid}/.Artifacts (PDF, XML, MLS, response JSON) live inside that UUID folder.
Outbound (ingestion failure)
Index
retrieval_pathis `NA` on the row.ArdentaxIT may copy the raw upload under flat
sent_archive/errors/{Source}/for support; that location is not on the index row.
Inbound
Prefix: paths start with
received_archive/.Layout:
received_archive/{TIN}/Peppol/then document-type folder and{document_uuid}/(see Folder reference).
Retention
When artifacts are deleted per policy,
retrieval_pathbecomes `PURGED`; the index row remains for audit.
Grouped XLSX lines that share one document_uuid share one retrieval_path. When Peppol completes, every index row with that UUID is updated to the same terminal peppol_status in one rewrite.
Outbound index columns
Each row corresponds to one document attempt. Column order on XLSX indexes:
document_numberdocument_uuidAll original upload columns (sheet header order)
ingestion_status—SUCCESSorFAILUREingestion_message— human-readable failures (multi-line for several issues)peppol_statusretrieval_path
JSON indexes mirror the same fields as sibling properties on each document object.
Grouped XLSX rows
Multi-line invoices share one document_group_key value. Every line row gets its own index line; document_number, document_uuid, ingestion_status, peppol_status, and retrieval_path repeat across the group.
In one workbook, each document group is processed independently. A validation error in one group produces FAILURE rows for that group only; other groups in the same file can still show SUCCESS.
Inbound index columns
received_archive/{document_uuid}_index.{json|xlsx} contains the export payload plus:
Inbound indexes do not include outbound-only ingestion_status / ingestion_message.
Which file to open for each outcome
Polling pattern (summary)
List
sent_archive/*_index.*after upload.Match index filename stem to your upload basename.
For each row: read `ingestion_status` and sync failures (
ingestion_message) to ERP.On SUCCESS rows, while
peppol_statusisNULL, poll again on an interval.On terminal
peppol_status, pull artifacts fromretrieval_pathand stop polling that row.
Full scripts: Poll submitted status.
