How budget enforcement works
When Papertracc checks a bill, expense, or journal against the active budget, how it picks the line and period, and what warn and block mean
On this page
What enforcement does
Enforcement compares a document with the ACTIVE budget at the moment the document is posted to the ledger. If the spend on an account or category would take the period over its budget line, Papertracc either warns you and posts anyway, or refuses to post, depending on the Enforcement chosen on the budget.
Only one budget can be ACTIVE, so there is never any doubt about which budget applies. A DRAFT, ARCHIVED, or SUPERSEDED budget enforces nothing.
Setting | What happens |
|---|---|
None — track only | Nothing is checked. The budget only feeds the variance figures. |
Warn — flag overspend, allow it | The document posts, you see a warning for each line that is over, and the warning is recorded in the activity log. |
Block — prevent overspend at posting time | The document is not posted. You see the reason and must change the document or the budget. |
When the check runs
The check runs when a document is about to reach the ledger, not when it is saved.
A bill is checked when it is posted: from Post Bill on the bill, from a bulk post, when a recurring bill template posts automatically, and when a bill raised from a purchase receipt is posted. Saving a bill as a draft is not checked.
An expense is checked when it is recorded, because an expense posts in the same step. This covers expenses recorded in bulk, a draft expense you finalise, and expenses generated by a recurring template.
A manual journal is checked when it is posted, singly, in bulk, by a recurring journal template that posts automatically, or when Commerce posts it.
A claim is checked when it is posted, on its posting date, and a commission payout bill is checked before it posts.
An amended bill or expense is checked again when the new document is posted. The original has been reversed by then, so it is not counted twice.
Postings that are not checked
Bill payments, prepayments, refunds, depreciation, amortisation, and the other postings Papertracc creates on a schedule are not checked against the budget. They still count towards the actual figures, so the next bill, expense, claim, or journal on the same line sees them. A commission payout bill that a block stops stays unposted, and the run reports "bill created but not posted" with the reason.
Which lines are checked
Only spend counts. A document line is checked when its account is an expense-type account, which covers the Expense, Cost of Sales, and Depreciation Expense categories. Lines to asset, liability, income, or equity accounts are ignored, so an income target never warns or blocks.
On a journal, only the debit side of a line is spend. A credit to an expense account reduces spend and is not checked.
Lines on the document that use the same account are added together before the check.
Which budget line applies
Papertracc looks at the document's transaction date: the Bill Date of a bill, the Expense Date of an expense, and the transaction date of a journal. It takes every line of the active budget whose Period Start and Period End include that date.
For each account on the document it then checks up to two lines.
The account override line for that account, when the budget has one for that period. Only the spend on that account counts against it.
The whole-category line for the account's category. The spend on every document line in that category counts against it.
If the budget has no line for the account or its category covering that date, the account is not checked. A document can raise more than one warning, one for each line that is over.
How the projected figure is worked out
For each line that applies, Papertracc adds up the actual spend already posted to the ledger for the line's period, then adds the spend on the document. This is the projected spend. The line is over when the projected spend is greater than the line's Amount.
Actual spend is the net movement on the account, or on every account in the category, for postings dated within the line's period. A voided document is reversed on the same date, so it does not count.
The document's spend is the amount that will be posted to the expense account for each line, excluding VAT that goes to the tax account.
Each warning shows the budget, the actual to date, the projected figure, and the amount over.
A warning is not a one-off. It is raised again on every posting that lands over the line, until the budget is revised or the period ends.
Currency
Budgets are kept in the workspace base currency, and so is the ledger. A bill, expense, or journal in another currency is converted at the document's exchange rate before it is compared with the budget, and the figures in a warning are in the base currency.
Clearing a block
A blocked document is left as it was: a bill keeps its status, an expense is not recorded, and a journal stays DRAFT. To post it, change one of the inputs.
Reduce the amount, or move the item to an account or category with room in the period.
Change the transaction date to a period whose line still has room, if that is correct for the document.
Raise the budget line. An active budget cannot be edited, so create a revision, increase the line, and activate the revision.
Switch the budget to Warn or None by revising it, or archive it, if enforcement is no longer wanted.
Then post the document again.
Permissions and plan
No extra permission is needed. The check runs with the permission used to post the document, and it applies to automatic postings such as recurring templates as well. Seeing the live warning while you edit a bill or expense needs the permission to view budgets, or to create bills, expenses, or claims, because the form asks for the budget figures as you type. The Budgets service must be on for the workspace; when it is off, nothing is checked.
The message
A warn or block carries one message in this form: "budget exceeded for Office Supplies: projected 1250.00 exceeds budget 1000.00 (over by 250.00) for 2026-01-01 to 2026-01-31". The name is the account for an account override line, or the category, such as "Expense", for a whole-category line. The dates are the budget line's period. When several lines are over, the message lists each line, separated by semicolons.