ERP & e-invoicing
Where did the invoice email go?
Follow one missing invoice from the ERP job to the receiving mail server, and find the handoff that needs attention.
Accounts receivable sees a sent flag. The customer sees an empty inbox. Before anyone presses Resend, pick one invoice and follow the evidence. A second copy creates a second trail, and the customer may end up paying attention to the wrong one.
Start with one invoice
Open the invoice and its outbound job side by side. Record the invoice reference, the actual envelope recipient, the dispatch time with its time zone, and any message or queue ID. An address copied from today's customer record can differ from the address captured when yesterday's batch ran.
Check what the ERP calls “sent.” Some systems mark the job complete when they hand it to an internal queue. Look for a separate mail worker or connector log. If the job never left that queue, changing a relay setting will leave the blocked document exactly where it was.
Read the last handoff
Find that recipient and time in the relay activity. Allow for a different time zone. Open the individual event sequence and read the server response, including any queue identifier. The application job ID, the email's Message-ID and the receiving server's queue ID can all be different.
| Last evidence | Next useful check |
|---|---|
| ERP job only | Inspect the outbound queue, worker and connection error at dispatch time. |
| Temporary 4xx reply | Find the queued copy and its next retry before triggering a resend. |
| Permanent 5xx reply | Read the diagnostic. Check the address or named policy before retrying. |
| Recipient server accepted the message | Give its confirmation and timestamp to the recipient's mail administrator. |
Work through an example
Suppose invoice INV-1048 was dispatched at 09:12 UTC. At 09:13 the relay records a final 250 response after the message data and a receiving queue ID. You now have a precise request for the customer's administrator. Trace that ID for the original recipient around 09:13 and check quarantine, routing rules and mailbox folders. Keep the invoice attachment out of the support ticket unless it is needed and authorised.
If the recipient finds the attachment, confirm that it is the expected revision. An email receipt establishes a mail-system event. Where invoices also travel through an electronic invoicing network, check that network's acknowledgement separately before marking the business transaction complete.
Close the case once
Record the last confirmed handoff, who owns the next check and whether the customer received the intended copy. If a corrected address requires a resend, use one controlled resend and add its identifiers to the same case. That small record will save the next person from investigating both copies as separate failures.