Hacienda says the supplier's invoice isn't registered
When you accept, partially accept or reject a supplier's document, Hacienda first checks that the invoice is in its records. If it isn't there yet, it answers with code -29: «El comprobante al cual se está haciendo referencia en el espacio denominado 'clave del comprobante', no se encuentra registrado en las bases de datos de la Administración Tributaria». In Astra there is nothing to do at that moment: the document shows Waiting for Hacienda and Astra sends your answer again by itself.
On every plan, like Document Reception. It covers the answers you send by hand and those sent by automatic acceptance.
What it means
The supplier sent you their invoice's XML, but Hacienda doesn't have the invoice yet. It is nearly always one of these:
- The supplier's system hasn't sent it to Hacienda yet, or has it queued because Hacienda was slow.
- Hacienda received it but hasn't finished processing it.
- Hacienda rejected it for the supplier. That invoice is then not valid, and the supplier has to fix it and issue a new one.
It isn't your mistake or Astra's, and your answer isn't lost: it is the one Astra sends again.
What Astra does for you
- The document moves to Waiting for Hacienda, in amber, in the list and on the phone.
- Astra sends the same answer again (acceptance, partial acceptance or rejection, with its reason) after an hour, and if Hacienda still lacks the invoice, after 3, 6, 12 and 24 hours: five attempts over about two days.
- On the document's page, the Hacienda card says when the next attempt is and which one it is, below Hacienda's message.
- As soon as Hacienda has the invoice and accepts your answer, the document moves to Accepted (or the status that applies) and carries on like any other: if you use automatic purchases, the purchase is created then.
If it is still missing after two days
If Hacienda gives the same answer on the fifth attempt, Astra stops retrying. The document stays in Error, and everyone who can answer documents (the Classify purchases permission under Purchase Invoices) gets a notice in Astra, and on their phone if notifications are on. What is missing is then on the supplier's side:
- Write to the supplier with the invoice number, date and total, and ask them to check that invoice's status with Hacienda in their system.
- If Hacienda rejected it, the supplier issues a new one: it reaches you as another document, and that is the one you answer.
- If the supplier sends it and Hacienda accepts it, open the document in Document Reception and answer it again with Accept, Partial accept or Reject.
«Hello, we received your invoice no. … of …, for …, but Hacienda tells us it isn't registered. Could you check in your system whether it was sent and whether Hacienda accepted it? Thank you.»
While it waits
- You can answer by hand at any time from the document's page; if Hacienda gives the same answer again, Astra goes on with the next attempt.
- The deadline to answer keeps running: the eighth business day of the month after the invoice's date. If the supplier is slow, let them know in good time.
- Until Hacienda accepts your answer, that invoice's VAT doesn't count as a credit.
Need more help?
Our team is ready to assist you.