Playbook
Draft 0.1.0QFZP de minimis watch for free zone clients
Watches a free zone client's sales during the year and warns the accountant before non-qualifying revenue reaches the de minimis limit that keeps Qualifying Free Zone Person status. Sales come from the client's accounting system (Odoo through the Arakan connector, or any system Ledger syncs). A person tags each revenue line as qualifying or not in Ledger; the agent never decides that an activity qualifies. The limit is read from Lexara, never written into the playbook.
What starts it
- On a schedule: check position
- In the client's system: period closed in accounting
- When someone asks, e.g. “How close is Gulf Trading FZE to the de minimis limit?”
Connects to the client's systems
These events start it. Every system sends them in the same Arakan event format, so the playbook works the same whichever ERP, CRM or HR system the client runs.
- Accounting period lockedReady for Odoo
Ready-made connectors today: Odoo. SAP, Microsoft Dynamics 365 and property CRMs are planned. Any system that can send a webhook can start it now.
What the agent does
- Bring in new sales
- Get the position
- Alert or summarise
- Keep a record
What stays with a person
- Tagging a revenue line as qualifying, non-qualifying or left out of the test, and choosing its activity
- Deciding whether a customer is a natural person, or whether an activity allows natural persons
- Answering the other QFZP conditions (substance, transfer pricing, audited statements, no election)
- Advising the client on restructuring, pricing or invoicing to stay under the limit
What it never does
- Say a line, a customer or an activity is qualifying or non-qualifying
- Treat an untagged line as qualifying; untagged lines count as non-qualifying until a person tags them
- Treat every sale to a natural person or to the mainland as non-qualifying, or every sale in a free zone as qualifying
- Use a limit, share or amount from anywhere but lexara.getParameters and ledger.getQfzpPosition
- Say the client has kept or lost QFZP status; only the accountant decides that, on all the conditions
- Contact the client directly
Want to run this for your clients?
Partners get the full playbook: the agent's instructions, the client settings, the connections it needs its test scenarios and the ready-made connectors.