Check invoice delivery
Checking the delivery status of an invoice
Overview
After sending an invoice, you can check the delivery status to make sure that the invoice has reached the recipient. faktoora tracks delivery attempts for email, Peppol and manual deliveries.
Checking the delivery status in the web interface
- Open the invoice details in your faktoora instance
- Scroll to the "Deliveries" section
- You see a list of all delivery attempts with the following information:
- Type: type of delivery (email, Peppol, manual)
- Recipient: email address or Peppol identifier
- Status: current delivery status
- Updated on: timestamp of the last status change
Retrieving the delivery status via the API
Use the API endpoint GET /invoices/{faktooraId}/status to retrieve the delivery status:
GET https://api.faktoora.com/api/v1/invoices/{faktooraId}/status
The response contains the delivery field, an array with all delivery attempts:
{
"delivery": [
{
"type": "email",
"recipient": "rechnung@beispielkunde.de",
"carbonCopy": "cc1@example.com",
"blindCarbonCopy": "bcc@example.com"
}
]
}
Delivery status values
Email delivery
Email deliveries store the recipient addresses without tracking an ongoing delivery status. You can judge the delivery by the absence of error reports or bounce notifications.
Peppol delivery
Peppol deliveries have an ongoing delivery status:
- PENDING_GENERATION: the invoice XML is still being generated; Peppol delivery has not been requested yet.
- ACTIVE: transmission is in progress.
- READY: waiting for the next retry (occurs after an error during a retry).
- DELIVERED: delivery confirmed by the receiving access point.
- REJECTED: rejected by the receiving access point.
- FAILED: permanently failed (e.g. due to a validation error).
- SUSPENDED: given up after all retries were exhausted, or paused; can be restarted via
POST /invoices/{faktooraId}/dispatch/peppol/resend.
Error reports
For failed Peppol deliveries (status FAILED, REJECTED, SUSPENDED), the response may contain a messages field with error or warning messages:
{
"type": "peppol",
"recipient": "9930:DE123456789",
"state": "REJECTED",
"attempts": 3,
"messages": [
{
"level": "ERROR",
"code": "BR-S-02",
"text": "A business rule validation error"
}
]
}
Common problems
No delivery confirmation
By default, email deliveries do not store delivery confirmations from mail servers. If you want to check whether an email delivery was successful:
- Check the delivery history in the web interface
- Check your mail server logs (if you use your own SMTP server)
- Ask the recipient to confirm that the invoice has arrived
- Check for bounce notifications from your mail service
Peppol delivery failed
If a Peppol delivery fails:
- Check the error messages in the
messagesfield - Fix the problem (e.g. invalid data, missing information)
- Use
POST /invoices/{faktooraId}/dispatch/peppol/resendto retry sending - Contact faktoora support if the problem persists
No delivery attempts visible
If the delivery array is empty:
- The invoice may not have been sent yet
- Check whether the invoice is still in draft status (
draftOnly: true) - Make sure you requested the sending correctly
Monitoring the delivery history
For automated monitoring or integration with your system, you can query the delivery status regularly:
- Store the
faktooraIdafter creating the invoice - Query
GET /invoices/{faktooraId}/status - Check for status changes in the
deliveryarray - Implement error handling for the
REJECTED,FAILEDorSUSPENDEDstatuses
Was this helpful?