One expense head on an expense voucher: the expense GL account to debit and its amount, with an optional tax amount and description. Quick Add and the line edit form show only Expense GL Account and Amount. Posting debits the line's gross amount (Amount plus Tax Amount, or Amount alone when the voucher's amounts include tax) to the expense account, less any GST split to input tax accounts when the line has a tax group. Lines with no expense GL account or a zero gross amount are skipped silently. The Tax Group and ITC Eligibility fields exist on the line but are on no seeded form; an administrator adds them to use GST on expense vouchers.
Fields
| Field | Label | Type | Required | What it does |
Amount | Amount | Currency | | The line amount, net of tax unless the voucher's Amounts Include Tax is ticked, in which case it is the tax-inclusive amount. Required: an empty or zero amount is refused with 'Amount can not be zero or less than zero!', though a negative amount is not. Changing it on an unposted voucher recalculates Tax Amount when the line has a tax group. |
CreatedById | Created By | Lookup → UserAccount | Yes | |
CreatedDateTime | Created On | DateAndTime | Yes | |
Description | Description | Text | | What the line is for. Becomes the narration of the line's journal debit. Not on Quick Add; open the line to fill it. |
ExpenseGLAccountId | Expense GL Account | Lookup → GLAccount | Yes | The account debited for this line. Required on the form; a line without one is left out of posting. |
ExpenseVoucherId | Expense Voucher | Lookup → ExpenseVoucher | | The voucher the line belongs to. |
GLAccountName | Name | Text, unique | Yes | Not stored. The All Voucher Lines view's GL Account Name column shows the line number. |
Id | Id | Guid | Yes | |
LineNumber | Line Number | Number | | Not on any seeded form or view, and not filled in when you add a line on the voucher; lines are identified by Name. |
ModifiedById | Modified By | Lookup → UserAccount | Yes | |
Name | Name | Text | | The line number, assigned automatically on save. Two line numbering settings are active (series EVL and VL); deactivate one to keep a single series. |
OwnerId | Owner | Lookup → UserAccount | Yes | |
PartnerAccountId | Partner Account | Lookup | | Not used by posting; the journal takes its company from the voucher. |
RecordTypeId | Record Type | Guid, hidden | | |
TaxAmount | Tax Amount | Currency | | Tax paid on the line. Without a tax group it stays on the expense account. With a tax group it is calculated from the group's GST rates when a new line is saved without one, and recalculated when the amount or group changes unless Tax Amount is changed in the same save; a figure you enter is kept, and clearing the group sets it to 0. At posting it is split across the group's components in proportion to their rates and posted to input tax accounts, or to the ineligible-tax account when ITC is blocked or ineligible. Never recalculated once the voucher is posted. |
UIProps | UI Props | Text | | |
UpdatedDateTime | Updated On | DateAndTime | Yes | |
Actions
| Action | Label | Type | What it does |
Clone | Clone | ServerAction (Clone) | Create a copy of this record |
DeleteEntity | Delete | Delete | DeleteEntity |
DeleteListRow | Delete | Delete | DeleteListRow |
EditEntity | Edit | Edit | Edit |
EditInLine | Edit | EditInline | EditInLine |
EditListRow | Edit | Edit | Edit |
NewInLine | New | NewInline | NewInLine |
Validations
| Validation | Applies to | Error message | Notes |
| Amount Validation | Amount, Error | Amount can not be zero or less than zero! | Verify that Expense Voucher Line cannot be saved without Amount Verify that Expense Voucher Line cannot be saved with Amount = 0 |