A DATEV export writes every invoice it can. It names every invoice it leaves out, with a code. This guide explains each code and what to change.
You see the codes in the export’s invoice list, or in the message of a refused download. For an invoice already sent, the newest check below means the check it was sent with, while that check accepted it.
Codes for one invoice
| Code | Meaning | What to do |
|---|---|---|
invoice_rejected |
The validator rejected this outgoing invoice, so it may not leave Certinvo. | Correct the invoice and file it again. |
invoice_not_validated |
This outgoing invoice was never checked. | Check it again with POST /v1/invoices/<id>/validations. |
invoice_on_hold |
The validator rejected this received invoice, and your settings hold that format. | Read it, then release it with a reason: POST /v1/invoices/<id>/release. Export again. |
invoice_changed_since_check |
A package carries the invoice’s PDF, and that PDF carries XML the newest check did not grade. Or the invoice data the file would be written from is not the data the newest check recorded. | Check it again with POST /v1/invoices/<id>/validations. If it is still refused, file the invoice again. |
no-invoice-model |
No invoice data was found for this document. | Check that the invoice was read when it arrived. |
no-invoice-image |
A package needs a PDF of the invoice, and none could be made. | Check the invoice’s files. |
no-account-for-category |
The settings have no account for this invoice’s VAT category and rate. | Add the account in the DATEV settings. |
outside-wirtschaftsjahr |
The invoice lies outside the fiscal year of this CSV. A DATEV booking date has no year of its own. | Export the other fiscal year separately. |
other-currency |
The invoice’s currency differs from the file’s. The message names the invoice whose currency the file took. | Export it separately. |
invalid-belegfeld1 |
The invoice number does not fit DATEV’s document number field. | Check the invoice number. |
does-not-foot |
The booking rows do not add up to the invoice total. | Check the invoice’s totals. For a one-cent difference, add a rounding account to the settings. |
unrepresentable-amount |
An amount has more than two decimals. DATEV cannot hold it, and Certinvo does not round. | Check the invoice. |
not-an-invoice |
The document is a business document that claims no payment, such as a pro forma (type code 325). Only an invoice is booked. | Nothing. A pro forma is made as a PDF only. |
positive-correction |
A Buchungsstapel or a package would book this corrected invoice (type code 384) at a plus amount beside the invoice it corrects, and no class is confirmed for it. | Confirm what the correction changes on the invoice, then export again. |
currency-changed |
The correction is in another currency than the invoice it corrects, so no difference can be booked. | Correct the invoice in its own currency, or book it by hand. |
no-original-model |
The invoice this correction corrects holds no invoice data its newest check was made from. | Check the original invoice again with POST /v1/invoices/<id>/validations. |
not-a-canonical-invoice |
The data is not a valid invoice in Certinvo’s model. The message names each field at fault by its JSON Pointer, such as “the invoice has no /seller”. |
Correct the fields the message names. |
Codes for the whole export
| Code | Meaning | What to do |
|---|---|---|
no-datev-settings |
A CSV was asked for, but the company has no DATEV settings. | Set up DATEV. |
no-datev-settings-for-direction |
The settings have no block for this direction. | Add the sent or received block. |
invalid-datev-settings |
The saved settings are not valid. | Save them again in the console. |
nothing-written |
Every invoice was left out. | Look at the per-invoice codes. |
engine_unavailable |
The engine could not run, so no file was written. | Ask for the export again. |
access-revoked |
The person who asked for the export lost access to this company before its job ran, so no file was written. | Ask someone who has access to this company to export again. |
export-failed |
The export stopped before it wrote a file. The cause is not recorded, so the code is all there is. | Ask for the export again. Tell Certinvo if it stops again. |