Admin · Setup

Import workbench

Paste JSON, see exactly what it will do, then apply through an audited database function. Applies run as you, so sign in first.

You are signed out
Previews still work, but every apply will be refused. Go to login.
EnvironmentReadyRoot env loaded
Remote writesTest windowGuarded CLIs
Bootstrap payloadValid1 company, 48 periods
Schema apply50 workbenchespnpm v2:migration-status

Purchasing

Debit notes

Back to the app

External AI briefing

Copy this prompt, paste it into ChatGPT/Claude with your Excel/CSV, then paste the returned JSON here.

PAN: not set — add at /app/company

VAT: not set — add at /app/company

Examples are templates, not gospel
Repo examples pass structural validation but use placeholder tax IDs and sample amounts. Your accountant should confirm statutory rules and opening balances before you apply in production.

Debit Note JSON

Valid
26 lines

Preview

Draft debit note preview
Company
SCC
Supplier
NABIL
Bill
NB-2083-05-001
Debit note
DN-2083-05-001
Lines
1
Total
NPR 500.00

Creates the draft debit note against a recorded bill (re-importing a draft replaces it; issued notes are refused). With status "issued" it also issues immediately: Dr accounts_payable, Cr each expense account, Cr input_vat. Requires purchasing.manage (+ purchasing.record_bill to issue).

Runs app.apply_import('debit_note') as you; the database re-checks your permission and records an audit event.