Skip to content

Agreement Payments

Payments record planned or actual payment requests against active approved commitments. Payment lines allocate the payment amount to approved commitment lines.

Empty installation setup

ConfigurationWhy it matters
Agreement budget fiscal yearsPayment fiscal years are selected from agreement budget fiscal years.
Approved active commitmentCreating a payment requires an active approved commitment of the selected commitment type.
Commitment linesPayment lines select eligible commitment lines for the payment's commitment and fiscal year.
Approval template for fundingcasepaymentRequired when completed payments must go through approval.
Optional payment amount calculator extensionExtensions can suggest payment amounts, apply ceilings, or replace create actions.

Tab flow

The Payments tab displays payment type, status, fiscal-year schedule, period, comment, amount, and line count. Search includes the visible comment text.

Creating a payment captures:

FieldRule
Commitment typeRequired. The agreement must have an active approved commitment of this type.
Fiscal yearRequired. Must be an agreement budget fiscal year.
Payment typereimbursement or advance.
Period start/endFiscal-year months, April through March, encoded as 0 to 11. End cannot be before start.
Payment amountRequired positive money value.
CommentOptional. Blank comments normalize to null.

New core payments are created as draft. Extension create hooks can replace the core insert after validation succeeds.

Detail page

The payment detail page shows payment context, payment lines, completion, and approval. Use it to allocate the payment amount to eligible commitment lines before completing the payment.

Payment lines

FieldRule
PaymentSet by the current payment detail page.
Commitment lineRequired. The selector only offers commitment lines that match the payment's approved commitment and fiscal year.
AmountRequired positive money value.

The detail table shows the commitment line number, fiscal year, financial coding, and payment-line amount. Financial coding includes the fund as the primary value and GL, fund centre, internal order, functional area, and cost centre when present. The detail total compares payment line total to payment amount.

Business rules

RuleBehaviour
Payment creation requires an active approved commitmentIf no commitment of the selected type is active and approved, creation is rejected.
Fiscal year must belong to the agreement budgetInvalid fiscal years are rejected.
Payment line must match the payment commitment and fiscal yearCommitment lines outside the payment context are rejected.
Payment line amount cannot exceed commitment balanceThe payment line total for a commitment line cannot exceed that commitment line's remaining balance.
Locked statuses block editscomplete, pendingapproval, approved, denied, pay, wait, processed, and paid are read-only.
Editing a draft payment moves it to in progressLine changes sync draft payments to inprogress.
Completion requires exact line totalThe payment cannot complete unless line total is positive and exactly equals payment amount.

Completion and approval

Completion entity type: fundingcasepayment.

Completing a payment stores the common completion comment. With a valid approval template for fundingcasepayment, the payment moves to pendingapproval; without one, it moves to complete.

The approval section appears for pendingapproval, approved, and denied payments. Approval actions move the payment status through the common routing slip. Later operational payment statuses such as pay, wait, processed, and paid are locked in the agreement UI.

Extension points

Payment creation can be replaced or extended by registered extension create actions. A payment amount calculator extension can return a suggested amount, a ceiling amount, currency, calculation details, loading state, errors, and extension-specific data. The form prevents saving when the entered amount exceeds the calculator ceiling.