xMatix
Sign in Request demo
xMatix
PRODUCTS
SalesField SalesCRMRewardsClaimsInventoryProcurementWarehouse ManagementField ServiceServiceSupportTelephony & MessagingFinance & AccountingPayrollExpense ManagementCommercePortalsAnalytics & ReportingData StudioMobile AppSee all products →
PLATFORM
Platform overviewApp BuilderAutomationIntegrationsSecurity & GovernanceChange ManagementDevelopers
SENSE AI
Sense AI overviewSense AssistSense ControlSense VisionAI StudioTrust & governanceIn Claude & ChatGPTUse cases
SOLUTIONS
FMCG & DistributionManufacturing & Dealer NetworksAutomotive & DealershipsPharma & HealthcareConsumer DurablesAgri-InputsBuilding MaterialsService NetworksWarehousing & 3PLFinancial AccountingERP SoftwareIndia GST ComplianceUAE VAT & e-InvoicingSaudi ZATCA & VATAll solutions →
RESOURCES
Knowledge CenterDeveloper & CLIBlogGuidesWhat is xMatix?Company facts
COMPANY
AboutCareersPartnersEventsContactAuthorsLegal
Sign in Request demo
Home/Docs/Entity Reference/Expense Voucher — entity reference
REFERENCE · Last reviewed

Expense Voucher — entity reference

A direct-expense voucher for petty-cash / non-PO spend, separate from the employee claim flow: posting writes a balanced journal debiting each line's expense GL account and crediting the payment GL account for the total. glPostingType decides the credit leg: Cash/Bank (or empty) means paid at posting with no open item, while Credit is a pay-later voucher that requires a party (supplier) account, tags the credit line with it and raises an Accounts-Payable open item that Record Payment settles. Payment tracking on credit vouchers mirrors Invoice/Bill: payments tagged with the voucher roll into amountPaid, credit-note-style PaymentAdjustments into adjustedAmount, leaving openAmount. Status runs Draft, Posted, Reversed; a Posted or Reversed voucher cannot be posted again.

Fields

FieldLabelTypeRequiredWhat it does
AdjustedAmountAdjusted AmountCurrencyTotal of credit-note-style PaymentAdjustments applied to the voucher; each application is validated against the remaining openAmount and recomputes it. Undoing an adjustment posting subtracts it back.
AmountPaidAmount PaidCurrencySum of Payment rows tagged with this voucher, maintained automatically by the payment rollup - only meaningful for Credit vouchers.
BranchIdBranchLookup → Branch
BusinessUnitIdBusiness UnitLookup → BusinessUnit
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated DateDateAndTimeYes
EmployeeIdEmployeeLookup → Employee
GLIdGLLookup → Journal
GLPostingTypeGL Posting TypePickListDrives the credit leg at posting: Cash or Bank (or empty, the backward-compatible default) means paid at posting with openAmount 0; Credit is a pay-later voucher - it requires a party (supplier) account, tags the credit journal line with it, and raises an Accounts-Payable open item that Record Payment settles. Values: Cash, Bank, Credit.
IdIdGuidYes
IsGLPostedIs GL PostedBoolean
IsGLPostingApprovedIs GL Posting ApprovedBoolean
JournalIdJournalLookup → Journal
ModifiedByIdModified ByLookup → UserAccountYes
NameNameText, uniqueYes
NarrationNarrationText
OpenAmountOpen AmountCurrencyUnpaid balance of a credit voucher: totalAmount minus adjustedAmount, maintained by the payment-adjustment rollup; payments tagged to the voucher roll into amountPaid. Stays 0 for cash/bank vouchers, which are settled at posting.
OwnerIdOwnerLookup → UserAccountYes
PartnerAccountIdPartner AccountLookup → Account
PartyAccountIdParty AccountLookup → AccountThe payee/supplier Account. Mandatory for Credit (pay-later) vouchers - posting refuses a credit voucher without it, since the payable open item must be tagged to a party.
PaymentGLAccountIdPayment GL AccountLookup → GLAccountYes
RecordTypeIdRecord TypeGuid, hidden
StatusStatusTextDraft, Posted or Reversed (journal-status vocabulary). Validation refuses to post a voucher already Posted (correct with a reversal) or Reversed.
TotalAmountTotal AmountCalculated (calculated)
UIPropsUI PropsText
UpdatedDateTimeModified DateDateAndTimeYes
VoucherDateVoucher DateDateYes

Actions

ActionLabelTypeWhat it does
BulkDeleteDeleteDeleteDelete the selected records.
CloneCloneServerAction (Clone)Create a copy of this record
DeleteDeleteDeleteDelete
DeleteInListDeleteDeleteDelete in a list page
EditEditEditEdit
EditInLineEditEditInlineEditInLine
EditListRowEditEditEditListRow
GetOpenDocumentsGet Open DocumentsServerAction (GetOpenDocuments)Read-only helper for the payment-recording UI: lists open documents via the shared payment service so a payment can be allocated. Requires the voucher's tenant partner account to be set; creates nothing and changes nothing.
GetPaymentAmountSummaryPaymentServerAction (GetPaymentAmountSummary)Read-only helper for the payment-recording UI: returns the voucher's payment amount summary (paid/open figures) via the shared payment service. Creates nothing and changes nothing.
NewNewNewNew
PerformGLPostingPostServerAction (PerformGLPosting)Posts the voucher: one journal debiting each line's expense head (amount+tax) and crediting the payment GL account for the total, stamping glId, isGLPosted, totalAmount and status Posted. A Credit (pay-later) voucher must carry a party account - the credit line is tagged with it and an Accounts-Payable open item is raised for Record Payment to settle; cash/bank vouchers are settled at posting. Validation refuses vouchers already Posted or Reversed, and posting requires a payment GL account and at least one postable line.
PostAdjustmentsPost AdjustmentsServerAction (PostAdjustments)PostAdjustments
PostGeneralLedgerPost General LedgerServerAction (PostGeneralLedger)Alternate name for the voucher posting operation - identical behaviour to PerformGLPosting: same validation (not already Posted/Reversed), same journal (Dr expense heads / Cr payment account) and same credit-voucher payable handling.

Validations

ValidationApplies toError messageNotes
Voucher Date ValidationVoucherDate, ErrorVoucher Date can not be future date !Voucher Date can not be future date !

Lookup filters

FilterLookup fieldNotes
Branch For Partner AccountBranchId
Customer Account FilterPartyAccountId
Partner Account FilterPartnerAccountId