Fictitious demonstration platform
When a Factur-X invoice is generated, the transmission plugin deposits it with a fictitious platform that runs inside the demo and answers a simulated status. No real platform is called: nothing leaves the demo.
The flow
- A demonstration order is paid and its Factur-X invoice is generated.
- The generation event triggers the transmission plugin, which claims a line of the journal for the invoice (a single deposit per invoice).
- The adapter of the demo hands the XML and the PDF to the fictitious platform.
- The platform answers according to the scenario of the order; the journal keeps the status, its simulated reason and its date.
The scenarios
The scenario of each order is fixed by the demonstration data: it is the same after every nightly reset.
-
Deposited
depositedThe invoice is received. It is the scenario of every order without a particular scenario.
-
Rejected
rejectedThe platform rejects the deposit with a simulated reason, readable in the journal.
-
Refused
refusedThe buyer refuses the invoice, with a simulated reason. This status is added to those of the plugin by the configuration of the demo.
-
Collected
collectedThe invoice is marked as collected. This status is added to those of the plugin by the configuration of the demo.