1. Problem
We send orders via Nova Poshta with cash on delivery. Currently, Nova Poshta requires that all cash on delivery transactions be fiscalized.
At the moment, only in-store (offline) sales are being fiscalized — through one individual entrepreneur.
Orders with cash on delivery that come through Nova Poshta must be fiscalized through another individual entrepreneur.
2. What needs to be implemented
Programmers need to implement automatic fiscalization of cash on delivery orders upon receiving funds from Nova Poshta.
2.1. Main requirements
Pull data about cash on delivery via the waybill through the Nova Poshta API.
Track the moment when the cash on delivery status changes to "paid" or "funds received".
Transfer the cash on delivery amount to the fiscalization system of another individual entrepreneur.
Generate a fiscal receipt for each cash on delivery.
Link the receipt to the corresponding order / waybill.
Ensure the preservation of a copy of the receipt (PDF/photo/JSON) in the CRM/accounting system.
Optionally: send a copy of the receipt to the client.
Or maybe there is a faster and easier solution?!