get_einvoice_statement_m Guide
- Last updated
-
-
Save as PDF
-
Note: This guide will be published on the R74 Stage Future date of 10/6/26.
The get_einvoice_statement_m API returns the latest generated e-invoice XML for a given invoice, along with the statement's e-invoicing status and, when the latest attempt failed, its error code and message.
Additional Guidance
Output Field
| Field Name |
Notes |
| <einvoice_status_ind> |
The statement's e-invoicing status
Allowable Values
| Values |
Description |
| 0 |
Pending |
| 1 |
Done |
| 2 |
Partial |
| 3 |
Failed |
| 4 |
Not Eligible |
|
Error Codes
| Error Code/Description |
Associated Inputs |
1009: account does not exist, Account not found: AriaNo (acct_no), Account not found: Userid (userid), or Account not found: ClientId (client_acct_id)
|
"Account Does Not Exist" message appears for e-invoicing. |
34001: No e-invoice document (XML) found for the specified account and invoice.
|
|
34002: The specified client could not be found.
|
|
34003: No e-invoicing template is configured for this account or client.
|
|
34004: No e-invoicing recipient is configured for this account.
|
|
34005: The e-invoice document could not be delivered.
|
|
34006: The configured e-invoicing template has no content.
|
|
34007: Unable to calculate the invoice total for e-invoicing.
|
|
34008: An unexpected error occurred while generating the e-invoice document.
|
|
34009: The generated e-invoice document failed validation.
|
|