Below we explain how to deal with different types of incidents.
AEAT outage: we handle itIn the event of a tax authority API outage (something that has already happened in the test environment in the past), Verifacti will take care of retrying submissions until the AEAT API is operational again. Verifacti users therefore do not need to worry about this eventuality, which is covered by our API.
Other incidents: retry calls and provisional sale receipt or delayed invoice issuance (B2B only)Any of the following 3 situations make it impossible to call the Verifacti API:
- Power outage
- Internet outage
- Verifacti API outage
The AEAT addresses this topic in a
FAQ on their website, with a response that can be misleading. There, the AEAT says that late submission of the Invoicing Record (the XML with the invoice data) is accepted and that you can "continue invoicing." However, that AEAT FAQ assumes the ability to generate the XML on-premise, which is very uncommon. Therefore, the AEAT approves delaying the XML submission, but does not approve delaying the XML creation to a moment after the invoice issuance.
In inquiries we have made to the AEAT, they have confirmed that
it is not possible under any circumstances to issue an invoice without prior XML generation. For those software that use our API, this means that creating invoices without being able to call our API is not a possibility.
The AEAT has communicated to us in inquiries that given this situation,
the issuance of a provisional sale receipt would be acceptable. That is, you can continue selling (and collecting payment, for example with the POS terminal if necessary), you just need to ensure that you do not deliver an invoice to the client. Instead, you should deliver an alternative document that includes the data that would be on the invoice, but that clarifies it is not the invoice, and indicates a channel for obtaining the invoice later for those who wish to do so.
Once the incident is resolved and the ability to make calls to the Verifacti API is restored,
all pending invoice generation calls must be made:
- Calls should be made in the same order as the transactions took place, although not achieving this would not be a serious problem.
- The incident field must be set to TRUE.
- Consider marking the operation date field with the transaction date if more than one day has elapsed.
It is also worth clarifying that in the case of a
B2B transaction, it is possible to delay the invoice issuance. In this case, the invoice can be issued subsequently, up to the 16th of the month following the transaction. This is another admissible solution.