REDA One Help Center
EN
Language
English EN Español ES Português PT Italiano coming soon Français FR Deutsch coming soon العربية coming soon
reda.one ↗
Home / REDA Financials AI / Administration / Electronic Invoicing / Reading an E-Invoice Trail

Reading an E-Invoice Trail

When REDA Financials files an invoice with a tax authority, it keeps a record of the entire exchange on a single object called the E-Invoice Trail — one per invoice. It holds what was sent, what came back, the official identifiers the authority issued, and every attempt made along the way. When something goes wrong, the Trail is where the answer is; when an auditor asks for proof that an invoice was filed, the Trail is the evidence.

This article explains how to read one, what each of the eight statuses is telling you, and what to do about the two that need a person: Rejected and Error.

Not sure what electronic invoicing is yet? Read Electronic invoicing: how it works first — it explains the concept and the end-to-end flow. This article assumes you already have it configured and are looking at a real Trail.

Where Trails live, and who can see them

There are two ways to open a Trail, and you will use both.

  1. From the invoice. Open the Sales Invoice and scroll to the E-Invoice Trails related list at the bottom of the record. This is the right route when you are asking “what happened to this invoice?”
  2. From the tab. Go to App Launcher → REDA Financials → E-Invoice Trails for the full list. This is the right route when you are asking “what is stuck?” — sort or filter by Status to see everything sitting at Rejected or Error at once.
The Trail record itself is not edited by hand. A Trail is audit evidence and the system writes it, so its fields are maintained by the app rather than typed over. The two things a person does need to do — filing a Trail held at Draft, and retrying one that failed — are both done with the Send / Resend action rather than by changing the record. See Send / Resend for who holds it.

What is on the record

The Trail layout is grouped into four blocks. You do not need to understand every field to use it — but you do need to know which three fields answer “what went wrong”.

SectionFieldWhat it tells you
Trail DetailsTrail NumberThe record's own reference. Quote it when you raise a query with whoever supports your country connection.
E-Invoice SetupWhich entity configuration handled this filing. Useful when you run several entities and need to know which one was in play.
Document TypeWhat kind of document was filed. In this release only sales-side documents are filed, so a trail reads Sales Invoice or Credit Memo — the field’s other values are not produced by the current engine.
StatusWhere the document has got to. The single most important field on the record — see the eight statuses.
Sales InvoiceThe invoice this Trail belongs to.
Retry CountHow many attempts have failed. A count of 0 alongside a status of Error means it failed on the very first try; a climbing count means something is failing repeatedly and will not fix itself.
Provider Document IDThe reference the country connection assigns to the document at submission. It is how REDA later asks “what happened to this one?”, which makes it load-bearing for the status poll — see stuck at Submitted. New in this release.
Fiscal ResponseFiscal UUIDThe unique identifier the authority issues when it accepts the document. This is the number that makes the invoice legally valid, and it is the one an auditor asks for.
Fiscal NumberThe authority's own sequential document number, where the country issues one in addition to the identifier.
Response CodeThe authority's status code, or one of REDA's own codes when the document never got that far. Short, and paired with the message below.
Submitted DateWhen the document was transmitted.
Response DateWhen a definitive answer came back. The gap between the two is how long the authority took.
Response MessageThe reason, in words. On a rejection this is the authority's list of what is wrong with the invoice; on an error it is what prevented the exchange. Read this first.
PayloadsXML Payload / Response PayloadThe raw documents sent and received. You will rarely need them, but they are retained so that a technical query can be answered without re-filing anything.
The Trail Details section of an E-Invoice Trail record: Trail Number EIT-00000, E-Invoice Setup “Continental Holdings — AE”, Document Type Sales Invoice, Status Draft, Currency USD, Sales Invoice OI-0000000069, Purchase Invoice empty, Retry Count 0.
The Trail Details block. Status is the field that carries the whole story; Sales Invoice ties the Trail to the document it files; Retry Count at 0 means nothing has failed yet.

The eight statuses

Status is the whole story in one field. Five of the eight are the system working normally and need nobody; three want attention.

StatusWhat has happenedWhat you do
DraftA Trail was created when the invoice posted, but the entity is configured for manual filing so nothing has been sent yet.Release it when you are satisfied with the invoice. Nothing happens until you do.
Ready to SendReleased — either automatically on posting, or by a person. It is about to be checked and queued.Nothing. This status normally lasts seconds.
QueuedChecks passed; the document is in line to be transmitted. Documents are sent one at a time so that a single bad one cannot affect its neighbours.Nothing. Wait.
SubmittedThe authority has the document and has acknowledged it, but has not ruled on it yet.Nothing — provided the status poll is scheduled. See stuck at Submitted.
AcceptedApproved. The Fiscal UUID is populated and the invoice is legally valid.Nothing. This is the finish line.
RejectedThe authority received the document, examined it, and refused it. The reason is in Response Message.Act. See Rejected.
ErrorThe exchange itself failed — the document was never validly delivered, or REDA could not process it.Act. See Error.
CancelledThe document was withdrawn at the authority.Nothing.
Only seven statuses in your org? A package upgrade does not add new picklist values to an org that already has the field, so on any org upgraded to v1.610 Ready to Send is missing until an administrator adds it. Go to Setup → Object Manager → E-Invoice Trail → Fields & Relationships → Status and add it — the full step is in Setting up electronic invoicing for an entity.
Rejected and Error are different problems with different owners. A rejection means the system worked perfectly and the authority disagreed with the invoice — that is an accounting problem, and Accounts Receivable fixes it. An error means the conversation broke down before any verdict existed — that is a configuration or connection problem, and an administrator fixes it. Retrying a rejection without changing anything will simply be rejected again.

Sending a Trail yourself — Send / Resend

Most invoices are filed without anyone touching them. Two situations need a person: an entity set to file manually, and a document that failed. Both are handled by the same control on the Trail record — Send / Resend.

Trail statusButton readsWhat happens
DraftSendThe document is checked and filed. This is the normal path when the entity has Auto Submit On Post unticked.
ErrorRetryThe document is re-checked and filed again. Use after fixing whatever the Trail’s message reported.
Queued, Submitted, Accepted, Rejected, Cancelled— refusedThe action explains which status blocked it and does nothing.
No Send / Resend button on your Trail? The action ships with the package, but an upgrade does not add it to a page layout your org already has — so on an upgraded org the action bar can show only Edit, Delete and Clone. An administrator adds it in Setup → Object Manager → E-Invoice Trail → Page Layouts → Mobile & Lightning Actions. Until it is there, a held Trail cannot be filed and a failed one cannot be retried.
An E-Invoice Trail record header: the record is EIT-00000, Status Draft, Document Type Sales Invoice, with Fiscal UUID, Submitted Date and Response Date empty. The action bar on the right shows Follow, Edit, Send / Resend, New Note and Sharing Hierarchy.
A Trail waiting at Draft, with Send / Resend in the action bar. On a Draft the button files the document; on an Error it reads Retry. If the action is not on your action bar, an administrator has to add it to the layout.
  1. Open the Trail — from the invoice’s E-Invoice Trails related list, or the E-Invoice Trails tab.
  2. Check the invoice is genuinely correct. Once it is filed and accepted, the only way to change it is a credit memo.
  3. Click Send / Resend in the action bar at the top right of the record.
  4. Read the confirmation and click Send (or Retry).
  5. Check what you should see: the Trail moves to Queued, then Submitted within a minute or so. Refresh to watch it move. If it lands on Error instead, the checks found a configuration problem — see Error.
A document already filed cannot be sent again, and the system will not let you. At Submitted or Accepted the tax authority already holds the document; sending it twice would file a duplicate legal document. The action refuses and names the status that blocked it: This e-invoice cannot be sent again from status "Submitted". A document in this state has already been filed with the tax authority, or a send is already in progress. Issue a credit note to correct a filed document. This is not only a button rule — the same check applies to a data load, a flow, or anything else that edits the record, so it cannot be worked around by editing the status directly. To correct a filed invoice, raise a credit memo.
Retrying after an error is safe. If a send failed but the request had in fact reached the authority before the reply was lost, retrying does not file a second document — the connection recognises the repeat and returns the original outcome.
Who can use it. Send / Resend is available to Accounting Admin, Accounting Controller, Accounts Payable and Accounts Receivable. It is deliberately not available to Read Only — filing a document with a tax authority is not a read-only action. Assign one of those permission sets to whoever owns this queue, and decide who that is before go-live: a queue with no owner is invisible until a tax deadline makes it visible.

Rejected — the authority said no

A rejection is a verdict about the content of the invoice. The authority has compared it against its own records and rules, and something did not hold up. Common causes are a customer tax identifier that is not registered, or does not match the name on the authority's register; a total or tax figure the authority calculates differently; or a document number that clashes with one already filed.

What to do, in order:

  1. Open the Trail and read Response Message in full. Authorities typically list every problem they found, not just the first — fixing one and refiling wastes a round trip.
  2. Decide whether the fault is in the invoice or in the master data behind it. A wrong customer tax identifier is master data, and the same rejection will hit every invoice for that customer until it is corrected on the customer record.
  3. Correct the underlying data.
  4. Because the original invoice is posted, correct the accounting the normal way: issue a credit memo against it, then raise a corrected invoice. The corrected invoice posts and files as a new document with its own Trail.
Worked example. Invoice SI-004182 for 12,400.00 is rejected. Response Message reads: “Receiver tax identification number not found in register.” The customer's tax number on their account record has a transposed digit. Correcting the invoice alone would fix one document and leave the next twenty to fail the same way. So: correct the tax number on the customer record, issue a credit memo for 12,400.00 against SI-004182, then raise the replacement invoice. Two documents are filed — the credit memo and the new invoice — which is exactly the history an auditor expects to see.
If everything is being rejected for the same reason, stop and fix the cause. A repeated identical rejection is almost never twenty separate mistakes; it is one systematic problem — a data field populated wrongly at source, or a configuration that does not match what the authority expects. Reissuing invoices one at a time against a systematic fault just multiplies the work.

Error — the exchange broke down

Error means no verdict exists, because the document never completed its journey. The Response Code narrows down where it stopped, and Response Message gives the detail.

What Response Code showsWhat it meansWhat fixes it
VALIDATIONREDA's own pre-send checks found a configuration problem and deliberately did not call the authority. The message names each one.Read the message — the specific problems are listed below.
CALLOUTThe attempt to reach the authority failed — it was unreachable, timed out, or refused the connection.Usually transient. Retry. If it persists, the authority's service or your connection to it is down; check with whoever installed your country connection.
Anything elseA code returned by the authority or by the country connection itself.Read the message, then quote the Trail Number and that code to whoever supports the connection.

When the code is VALIDATION, the message spells out exactly which check failed. Each of these is a configuration problem an administrator fixes on the E-Invoice Setup record — none of them is anything to do with the invoice:

The message saysWhat to do
No E-Invoice Setup is linked to this TrailThe configuration record the Trail pointed at is gone. Open the entity's E-Invoice Setup, confirm it exists, and re-post the invoice so a fresh Trail is created.
The E-Invoice Setup for this entity is not activeTick Active on the entity's E-Invoice Setup, then release the Trail again.
Document type is not enabled on the E-Invoice SetupAdd that document type to Document Types on the Setup, then release the Trail again.
The connection to the authority could not be resolvedThe country connection is missing or was removed. Confirm the extension package that connects your country's authority is still installed and configured, and check the Setup record with whoever installed it.
The Trail references no source documentThe invoice behind the Trail no longer exists. Nothing to file; the Trail can be left as a record of the attempt.
The Fiscal Response and Response Message sections of an E-Invoice Trail in Error: Fiscal UUID and Fiscal Number empty, Response Code CALLOUT, a Submitted Date but no Response Date, and the message “The tax authority did not respond within the timeout. No document was accepted; the exchange can be retried.”
An Error, read from the record. Response Code narrows down where it stopped and Response Message says why. Fiscal UUID and Response Date are empty because no verdict exists — that is what separates an error from a rejection.

To retry after fixing the cause, click Send / Resend on the Trail — exactly as when filing a Draft. The checks run again and, if they now pass, the document is queued and sent. Retry Count increases each time an attempt fails, so it is a quick way to spot a Trail that is being retried into a wall rather than fixed.

A Trail sitting at Submitted and not moving

Submitted is a normal, healthy status — the authority has the document and is thinking. Many authorities answer in minutes; some take hours, and most are slower at month-end when everyone files at once. So a Trail at Submitted is only a problem when it stays there.

What you seeAlmost certainlyWhat to do
Everything is stuck at Submitted, none of it ever reaches AcceptedThe E-Invoice Status Poll has never been scheduled. Nothing collects the verdicts, so nothing moves. This is the single most common go-live omission.Schedule it — see the E-Invoice Status Poll card. The backlog clears on the first run.
One Trail is stuck while others around it clearThat document has no Provider Document ID. The poll asks after documents by that reference, so a Trail without one is never asked about, indefinitely.Check the field on the Trail. If it is blank, the submission did not complete cleanly — retry it with Send / Resend.
Everything is stuck and the poll is scheduledThe scheduled job is failing, or the authority is not answering.Check the job's last run on Admin Console → Operations, and use Run Now to test it immediately rather than waiting for the next cycle.

Using Trails as audit evidence

A Trail is designed to be handed to an auditor. For any invoice it answers what an audit actually asks — was this filed, when, what did the authority say, and what identifier did it issue — without anyone logging into a government portal or reconstructing it after the fact. Two properties make it dependable:

  • One invoice, one Trail — permanently. Re-posting never creates a second Trail, so there is exactly one thread of evidence per document.
  • Nothing is overwritten by users. The system writes the record and the permission sets grant read access only, so the sent document, the reply and the timestamps stay as they were.

Where to go next

Frequently asked questions

You should not, and the packaged permission sets do not let you. A Trail is the evidence that a filing was attempted, including the attempts that failed — deleting it destroys exactly what an audit wants to see. Fix the cause and retry the existing Trail instead with Send / Resend.

Three possibilities, in order of likelihood: the invoice is marked Skip E-Invoicing; there is no active E-Invoice Setup for that invoice's entity; or the Setup exists but that document type is not selected in Document Types. All three are deliberate — nothing is filed by accident.

No. Trail creation checks whether one already exists for that invoice and skips if it does, so re-posting never produces a duplicate filing.

Rejection messages come from the tax authority in its own wording, so they can be terse. Note the Trail Number and the Response Code, then raise it with whoever implemented your country connection — those two values are enough for them to identify the document precisely.

That the same document has failed repeatedly. Retrying only helps when the cause was temporary, such as the authority being briefly unreachable. A count that keeps climbing means the underlying problem has not been fixed — read Response Message and address what it says before retrying again.

Yes. E-Invoice Trail is a standard reportable object, so you can build a report grouped by Status to monitor the queue, or filtered to Rejected and Error as a daily work list. The invoice itself also carries E-Invoice Status, so you can report from the Sales Invoice side without joining to the Trail.