post https://api-sandbox.getdefacto.com/sandbox/invoice-generator
!!! The documentation website is not able to display the full response of this endpoint. The use of the curl command is recommended. !!!
Generate a fake invoice that will produce a given scenario on the sandbox, for example a rejected loan.
The generation will not add the invoice to the list of your invoices. You must do this via API.
To achieve this, you can copy the invoice_creation_payload into the payload of the invoice creation API.
If you want to test another scenario on a given business, create another fake invoice.
For more information on the scenarios of the sandbox, please refer to the <a href="https://developers.getdefacto.com/reference/testing-your-integration">Testing your integration</a> section.
Warning: these invoices and their IBANs will not work in production.