Use Set line GL accounts on a receivables workflow to fill revenue accounts on line items from product master data, derived attributes, or fixed codes.
1. Add the node
- Open the Receivables workflow.
- Add Set line GL accounts after issue or after External system import.
- Choose an Apply mode:
| Mode | Behaviour |
|---|---|
| Empty only | Fill lines that have no account yet |
| Overwrite all | Replace every line account |
| Rules | Ordered matchers on article code / name / number, each with its own expression |
| Per line | Per-line expressions; optional only-if-empty |
- Enter a value expression, for example:
${ar.product.gl_account || derived.default_revenue || '8400'}
- Publish. Empty resolve leaves the line unchanged. Synced / archived / cancelled receivables are skipped.
2. Pair with derived attributes
On receivables, Set derived attribute is static (no LLM). Store a fallback code with static / expression values, then reference ${derived.your_key} in the GL expression.
See Set derived attributes and Show and edit derived attributes on invoices.
Tips & limitations
- Writes
accountingAllocation.accountNumberon each line: the same field export and invoice detail use. - Keep expressions short and test with one Easybill invoice before wide publish.
- Related: External system import for receivables; Receivables Synced and Archived.
Quick reference
| Task | Where |
|---|---|
| Configure | Receivables workflow → Set line GL accounts |
| Product GL | ${ar.product.gl_account} |
| Fallback | ${derived.*} or literal '8400' |