Commit Graph
7 Commits
Author SHA1 Message Date
kurogeek 6819242521 feat: customer-side withholding tax on Payment Entry
Thai customers withhold tax at payment; ERPNext's customer-side handling
is Indian TCS which adds tax on top of the Sales Invoice. Override
SalesInvoice.set_tax_withholding to no-op for Thai companies, expose
"Apply Tax Withholding Amount" on Customer/Receive Payment Entries, and
on validate compute rate x pre-VAT amount of each allocated reference
(prorated, single threshold honoured) as a deduction to "Withholding Tax
Receivable". Client script fetches the Customer's category when the box
is ticked.
2026-09-11 10:00:24 +00:00
kurogeek 8b3cf9af1e feat: Thai Tax Withholding Category fixtures with per-company accounts
Add 22 Tax Withholding Category fixtures covering Thailand domestic
withholding (Taw.Paw. 4/2528, Sec. 50(2), Sec. 70) with rates and
thresholds. Fixtures ship without accounts; on import each Thai company
gets "Withholding Tax Payable" (Liability) and "Withholding Tax
Receivable" (Asset) created and the payable account linked. Company
on_update does the same for companies created later. Site-configured
accounts survive fixture re-import on migrate.
2026-09-11 09:13:45 +00:00
kurogeek 8d3b843da8 default Sales Invoice Print Format 2026-09-11 15:35:06 +07:00
kurogeek c82666d563 feat: default letter head 2026-09-10 10:45:22 +07:00
kurogeek d081af7ece package.json 2026-09-01 17:20:43 +07:00
kurogeek ecc2a1445c add yarn.lock 2026-09-01 16:34:04 +07:00
kurogeek 43416a2433 feat: Initialize App 2026-09-01 16:01:23 +07:00