Simulate legal storage missing vat

You can simulate the legal-storage-missing-vat event by sending a POST /simulate/legal-storage-missing-vat/<BusinessRegistryConfiguration fiscal id>. You will receive a BusinessRegistryConfiguration payload to your configured endpoint as a POST request:

Copy
Copied
{
    "fiscal_id": "here the vat number / fiscal code",
    "name": null,
    "email": null,
    "email_for_preservation_requested_a": "the date time the request was received",
    "apply_signature": true,
    "apply_legal_storage": true,
    "legal_storage_active": false,
    "supplier_invoice_enabled": true
}

In the legal storage activation flow you will need to send this payload, with the email field filled, to API PUT /business-registry-configurations/{fiscalId} or by using the dashboard.