All field notes

Payments infrastructure

From Client Funding to ISO 20022 ACH Batches: How Production Money Actually Moves

Editorial date · · 13 min read · Unified Production Platform

Published · Last reviewed

Follow production payroll from a funding record to an ISO 20022 payment file: XML structure, validation, rails, workflow states and the dropped-worker rule.

Open video in a new tab

Executive summary

  • The payroll, the instruction and the settlement are three different things. Payroll decides what is owed. A payment file instructs a bank. Settlement is evidence that money moved.
  • ISO 20022 is a message standard, not a payment rail. UPP generates pain.001.001.03 credit-transfer instructions for a bank's host-to-host channel, with validation for required fields, characters and lengths.
  • A batch is only complete when every worker is accounted for. If one payment is dropped from a file, the run must name the worker and the reason, not quietly mark the whole run paid.
  • The arithmetic has to survive every stage. In our illustrative batch, five net payments total $10,667.25. Four submitted credits total $8,437.50. The missing $2,229.75 remains owed until it is paid and recorded.
  • UPP is the software. It generates and validates payment instructions and tracks funding and payment records. The operator's entity and its bank hold and move the funds; UPP doesn't hold client funds.

The most expensive status in payroll is "paid"

"Paid" sounds final. On a production, it can mean several very different things: the client approved the invoice, the client sent funding, an admin generated a payment file, the bank accepted it, or the crew's money arrived.

Those are not the same event. A file can be well formed and still rejected. A bank can accept a batch but return one credit. A payroll can be fully funded and still leave a worker unpaid because their account number didn't pass validation.

A reliable payments workflow keeps these states separate. It also makes a promise the payroll team can defend: a run won't be marked paid until every worker's amount has either settled or has been explicitly accounted for as paid outside the system.

Who holds the money, and who doesn't

UPP is production and payroll software, not the employer of record and not the custodian of client funds. The operator running the employer entity is responsible for the payroll, its funding arrangements and its bank accounts. The bank holds the money and executes the transfers. UPP produces instructions and keeps records of the steps.

That division is deliberate. It lets an employer of record or payroll bureau keep its own entity, bank relationship and margin while using UPP for the operational work: the approved payroll, the funding record, the payment file, the status transitions and the reconciliation.

When this post says "UPP generates a payment," it means UPP generates an instruction for the operator's bank channel. It doesn't mean UPP holds or transmits the money as principal. We covered the wider division of responsibility in keep your own EOR.

From approved payroll to payment instructions

There are three amounts to keep distinct from the start.

AmountWhat it representsWhere it belongs
Approved gross and employer costWages, employer taxes, fringes and fees approved by the clientPayroll register and approved invoice
Funding amountWhat the client sends or owes to the operatorFunding record linked to the payroll
Employee net creditsWhat each worker should receive after taxes and deductionsThe payment batch

Those amounts won't generally be equal. The client funds employer taxes and fringes as well as net pay. Tax deposits may leave the operator's account on a different schedule. Fees may be retained. The reconciliation has to explain the difference, not assume the total bank credits should equal the total invoice.

The payment file is built from the net credits, after the payroll has been priced and approved. The debtor is the employer entity's verified operating account. Each creditor is a worker's destination account, with the amount owed and the reference that ties it back to the payroll.

What ISO 20022 actually is

ISO 20022 defines financial messages. pain.001 is the customer credit-transfer initiation message: instructions from a customer to a bank to send money to creditors. The full identifier pain.001.001.03 names a particular version of that message.

The message can carry different payment rails. An ACH credit, a wire and a transfer between accounts at the same bank can all be expressed as credit-transfer instructions, with different service levels and local instrument codes. The XML doesn't decide which rail is available or how quickly it settles. The bank's channel and the operator's agreement decide that.

UPP's generator produces this version for a host-to-host bank channel. It builds the group header, payment information and individual transfer lines, applies the receiving channel's conventions and validates the data before producing the file. Bank-specific conventions are not universal ISO rules, and a valid XML document is not, by itself, proof that a bank will accept it.

The structure of a payment file

A pain.001.001.03 file has three useful levels.

Group header (`GrpHdr`). This identifies the message as a whole: a message ID, a creation timestamp, the number of transactions, a control sum and the initiating party. The count and sum should describe what is actually in the file, not what was originally planned.

Payment information (`PmtInf`). This groups transfers with common instructions: a payment information ID, the payment method, requested execution date, debtor name and address, debtor account and bank, and payment type information. The service level and local instrument identify how the bank should treat the instructions.

Credit transfer transaction information (`CdtTrfTxInf`). Each line identifies one transfer: an end-to-end reference, instructed amount and currency, creditor bank, creditor name and address, creditor account and remittance information.

XML fieldWhat it doesWhat the reviewer checks
MsgIdIdentifies the messageUnique enough for the bank's duplicate controls; within the channel's length limit
NbOfTxsCounts transactionsMatches the number of included transfer lines
CtrlSumSums instructed amountsMatches the included lines to the cent
PmtMtdNames the payment methodConsistent with the rail and channel convention
ReqdExctnDtRequests an execution dateValid date; doesn't promise same-day settlement
SvcLvl and LclInstrmClassify service level and local instrumentCorrect for ACH, wire, book transfer or check
EndToEndIdIdentifies one transfer across the chainStable reference back to the worker and payroll
InstdAmt with currencyStates what to transferPositive, exact amount in the right currency
PstlAdrSupplies a party's postal addressRequired fields present, including creditor country

Three levels, three control totals

  1. Group header (Whole message): Message ID, timestamp, initiating party, transaction count and control sum
  2. Payment information (Instruction group): Debtor account, execution date, payment method and rail conventions
  3. Credit transfers (Individual payments): One creditor, amount, account, address and transfer reference per payment

The group count and control sum describe included transfers. The payroll's separate held list explains any worker who is absent.

Validation before a bank ever sees it

UPP's generator validates more than XML syntax. A file that serializes correctly can still contain a missing address, a zero amount, an invalid routing number or a name outside the channel's character set.

The generator checks that the payroll has an employer entity and a verified operating account, with routing and account numbers. It refuses to build without an initiating party name, a batch identifier and at least one creditor. ACH credit amounts must be positive, routing numbers must meet the required numeric format and account numbers must meet the channel's format constraints. A missing creditor postal address is an error, because the channel requires a country on every credit transfer.

Text fields are sanitized to the channel's character set and clamped to field lengths. XML escaping alone isn't enough: a character can be legal XML and still be rejected by a bank's inbound filter. Required identifiers should be validated before sanitizing so that truncation doesn't turn two different references into the same one.

Bank account data also has a security boundary. It should be decrypted only for the file generation step that needs it, never exposed in logs or a broadly accessible register. A review screen should use masked values, with access to the complete file restricted to the people who need to send or reconcile it.

Four rails, different rules

ACH. The common rail for employee credits, with a service level and local instrument that identify the ACH class. Account and routing formats matter, and returns can arrive after initial acceptance.

Wire. A separate service level with its own bank requirements and cutoff times. A wire instruction isn't made into ACH by using the same XML envelope.

Book transfer. A transfer within the same bank, identified by its service level. It still needs debtor and creditor records and evidence of settlement.

Printed check. A check instruction uses the check payment method and the channel's check conventions. The lifecycle includes issuance and clearing, and may include positive-pay controls. A printed check isn't settled when the file is generated.

The rail changes execution, cutoffs and return behavior. It doesn't change the payroll obligation, the amount owed or the need to reconcile each person.

A worked batch: five workers, one missing credit

Illustrative batch: what the totals must say

A run owes five workers these net amounts:

Worker (illustrative)Net amount
Camera assistant$2,150.00
Sound mixer$1,987.50
Art director$2,600.25
Key grip$1,699.75
Wardrobe stylist$2,229.75
Total owed$10,667.25

The stylist's destination account fails validation. The file includes the first four workers only: 4 transactions, control sum $8,437.50. The held list must show the stylist by name, the account validation reason and $2,229.75 still owed.

After the account is corrected, a one-credit file for $2,229.75 completes the same run. The two files together contain 5 credits totaling $10,667.25. No wages changed; only the delivery of one credit changed.

The wrong outcome is a file with four credits and a run marked paid for five. The file's control sum can be perfectly correct while the payroll is still incomplete. That is why the held list is a payroll control, not merely file metadata.

UPP's dropped-worker rule is built around that distinction: name the worker on the run's held list, notify admins and prevent the run being marked paid until the worker is paid or recorded as paid outside UPP. A correction can be sent as a one-credit file within the same run. An outside-payment record needs the exact cents and two-factor confirmation, so a note saying "handled" isn't enough.

What this doesn't claim

UPP doesn't hold, receive or transmit client funds, and it doesn't promise real-time or same-day settlement. Which rails and channels are available depends on the operator's bank agreement. Payment approval rules and controls are configured for each employer entity, and the walkthrough confirms which are enabled for yours.

Workflow states are evidence, not decorations

UPP separates the stages of the payment workflow: pending, awaiting admin confirmation, client debit initiated, settled, employee credits submitted, and a final completed, failed or cancelled state.

Each transition should mean a specific thing. Client debit initiated means an instruction was sent, not that funding arrived. Settled means the funding step has evidence of settlement, not that every worker has been paid. Employee credits submitted means the credits were sent, not that they all cleared. Completed has to account for every worker, including exceptions.

That separation lets an operator answer a worker's question accurately. "The file went out" is not the same as "your bank received the credit." A good status history says which event happened, when, and which reference proves it.

Reconciliation after the file

The last step is matching the record of what should happen to the evidence of what did happen. UPP has reconciliation runs with discrepancy tracking and return-handling records. The operator uses them to compare approved amounts, funding, submitted credits, returns, outside payments and the ledger.

A return reopens a worker's delivery problem; it doesn't erase the wage obligation. A correction should link to the original credit, and a resend should avoid duplicating credits that settled. A credit note or rebill changes the accounting with its own record, not by editing an earlier settled payment. The same permanence is why double-entry payroll records matter.

Checklist: before you call a payroll paid

  • Funding, gross employer cost and net employee credits are separate amounts with an explained bridge.
  • The debtor is the operator entity's verified account, not a software provider's account.
  • The XML version and channel conventions match what the bank accepts.
  • Transaction count and control sum match only the included credits.
  • Every creditor has the required name, address, account, rail and exact amount.
  • Any omitted worker is named on a held list with a reason and amount.
  • Submitted, accepted and settled statuses are not treated as synonyms.
  • A resend includes only the unresolved credit and stays linked to the original run.
  • Outside payments are recorded with exact cents and the required confirmation.
  • Returns and bank evidence are reconciled before final completion.

Frequently asked questions

Is ISO 20022 a payment rail?

No. It is a financial message standard. A credit-transfer initiation message can express ACH, wire, book-transfer or check instructions according to the bank channel's conventions. The bank executes the payment on the selected rail.

What is pain.001.001.03?

It is a version of the ISO 20022 customer credit-transfer initiation message. Its group header describes the message, payment information groups common instructions, and credit-transfer lines describe individual creditors and amounts.

Does UPP hold client funds?

No. UPP generates and validates payment instructions and tracks funding and payment records. The operator's entity and its bank hold and move the funds.

What if one worker is missing from a payment file?

The worker and reason must be visible on the run's held list, admins notified and the amount kept open. UPP's dropped-worker rule prevents marking the run paid until the worker is paid or a payment outside UPP is recorded with exact cents and two-factor confirmation.

Does a generated or accepted file prove the workers were paid?

No. File generation, submission, acceptance and settlement are different events. Every worker's amount must be reconciled to settlement evidence or a documented outside payment before the payroll is complete.

A payment file is a promise to send money, not proof that the money arrived. To see how UPP keeps the instruction, the exception and the evidence together, book a walkthrough.