xMatix
Sign in Request demo
xMatix
PRODUCTS
SalesField Sales & SFACRMRewardsClaimsInventoryProcurementWarehouse 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
Auto DMSConsumer Goods DMSSales Force Automation (SFA) 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/Salary Payment Batch — entity reference
REFERENCE · Last reviewed

Salary Payment Batch — entity reference

The salary payment batch of one posted payroll run: one bank payment that settles every employee's Payroll Payable open item from that run in a single journal (debit Payroll Payable, credit the bank). Generate Payment on the run creates it in Draft with one line per employee whose net pay is above zero, named PPB- plus the run number. Because Name is unique, a run can have only one batch at a time. Pay posts the journal on the Payment Date, settles the open items, marks the batch and the run Paid and links them. Pay uses the open items, not the line amounts. The batch is in no app (find it through the App Launcher search), produces no bank file, and has no lock or reverse once paid.

Fields

FieldLabelTypeRequiredWhat it does
BankGLAccountIdBank GL AccountLookup → GLAccountThe bank GL account the payment credits. Generate Payment takes the company's default bank (Set default bank under Org Settings, Companies), or its only GL account with Control Type Bank, and stops when the company has several and no default. The picker is not filtered to bank accounts and Pay does not check the type. It is on the record page, not on the Edit form. Pay is refused without it.
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated DateDateAndTimeYes
GLIdGLLookup → JournalThe payment journal posted by Pay. While it is filled, Pay is refused with Payment batch is already paid. Reversing the journal from Journals does not clear it.
IdIdGuidYes
ItemCountItem CountNumberThe number of employees. At generation it is the number of lines. Pay replaces it with the number of open items settled, so a lower figure means some employees had nothing left open.
LabelLabelText
ModifiedByIdModified ByLookup → UserAccountYes
NameNameText, uniqueYesThe batch number, set by Generate Payment to PPB- followed by the payroll run number. Names are unique, so a second Generate Payment on the same run is refused while the first batch exists.
OwnerIdOwnerLookup → UserAccountYes
PartnerAccountIdPartner AccountLookup → AccountThe company paying the salary, copied from the payroll run at generation. Pay posts the journal for this company.
PaymentDatePayment DateDateThe date the payment journal is posted on. Generate Payment sets it to the day the batch is generated; change it before paying if the transfer happens later. Its fiscal period and financial year must be open. It is independent of the payroll period's pay date, which dates the accrual.
PaymentFileFormatPayment File FormatTextA free-text note on the bank file layout. Nothing reads it, and the platform produces no bank payment file.
PaymentReferencePayment ReferenceTextA free-text bank reference for the whole payment, for your own records. Nothing fills or reads it.
PayrollRunIdPayroll RunLookup → PayrollRunThe posted payroll run this batch pays. Pay settles that run's open items for the employees on the lines, so it should not be changed.
RecordTypeIdRecord TypeGuid, hidden
StatusStatusPickListDraft when generated and Paid when Pay posts the journal. Approved and File Generated are offered but never set or read. It is shown in the record header and is not edited by hand. Values: Draft, Approved, File Generated, Paid.
TotalNetPayTotal Net PayCurrencyThe batch amount. At generation it is the sum of the line net pays. Pay replaces it with the total actually settled from the employees' open items, which is the amount of the bank credit.
UIPropsUI PropsText
UpdatedDateTimeModified DateDateAndTimeYes

Actions

ActionLabelTypeWhat it does
BulkDeleteDeleteDeleteDelete the selected records.
CloneCloneServerAction (Clone)Create a copy of this record
DeleteDeleteDeleteDelete this PayrollPaymentBatch.
DeleteRecordDeleteDeleteDelete
EditEditEditEdit this PayrollPaymentBatch.
EditInLineEditEditInlineEdit
EditRecordEditEditEdit
NewNewNewCreate a PayrollPaymentBatch.
PayBatchPayServerAction (PayPaymentBatch)Posts the actual bank payment: it finds each line's employee Payroll-Payable open item for the run, aggregates the debits by control account and branch, credits the bank account on the batch, and writes one payroll journal for the whole batch. It then zeroes and settles those open items, marks the settled lines Paid, stamps the batch with its journal and Paid status and rewrites its total and item count, and moves the parent run to Paid with this batch recorded on it. It refuses a batch that already has a journal, one with no bank account, and one where nothing is left open to settle; because it works from the open items, editing line amounts beforehand does not change what is paid.
ViewViewViewView this PayrollPaymentBatch.

Lookup filters

FilterLookup fieldNotes
PartnerAccountFilterPartnerAccountId