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/Sales/Claim settlement setups
HOW-TO · Last reviewed

Claim settlement setups

A claim settlement setup tells xMatix what to create when a claim of one claim type is settled. The options are a credit note or an invoice on the supplier, a stock adjustment, nothing at all, or one consolidated document for a whole batch of claims. Claims are raised, reviewed and approved as described in Trade claims. The settlement setup is the last link in that chain. If there is no active setup for a claim's type, an approved claim stays Approved and nothing is settled.

Overview

Each setup covers exactly one Claim Type, and only one setup per type can be active. The Settle claim background job looks up that active setup and follows it:

  • Settlement Document decides what is created.
  • Settle on decides what starts settlement: the claim's approval, or the manufacturer's (OEM's) remittance.
  • Header Mapping and Line Mapping adjust the created document's fields.
  • Auto GL Posting, Apply To Open Invoices and Raise Event Name decide what happens around the document.
  • Settlement Grouping decides whether each claim settles on its own or waits to be settled with others in a claim batch.
  • Reconciliation tolerance decides how close an OEM remittance credit must be to count as matched.
  • Active and Simulate Mode decide whether the setup is used at all, and whether it writes anything.

Setups are in the Claims app under Settings → Claim settlement setups. They are configuration, not transactions: you create them once per claim type and change them rarely.

When to use it

Create a settlement setup for every claim type your organization settles:

  • warranty and service claims that the manufacturer pays by credit note;
  • claims you recover by billing the supplier, which settle by invoice;
  • shortage claims the supplier makes good by replacing parts, which settle by stock adjustment;
  • warranty claims where some parts are replaced and some are paid for, which settle by line type;
  • scheme or expense claims that are paid outside xMatix, where you only want an event raised (Settlement Document None);
  • claim types that the manufacturer settles in one document for many claims, which settle per batch;
  • claim types where you want to wait for the manufacturer's remittance before settling, which settle on the OEM remittance.

You do not need a setup to raise, review or approve claims, only to settle them.

How xMatix handles it

  • Matching. Settlement uses the active setup whose Claim Type equals the claim's Claim Type exactly. There is no fallback to another type. Saving a second active setup for a type is refused, so there is never a choice to make.
  • Only approved claims settle. The job settles a claim only when its Status is Approved. Approved quantities on the lines of a claim that is still Draft or Pending Approval do not count. For a setup that settles on the OEM remittance, a remittance line that has been accepted for the claim also counts as approval.
  • Remittance hold. If one of the claim's lines is Open or Disputed on an OEM remittance, the claim is held out of settlement until that line is accepted. This applies whichever Settle on value the setup has.
  • Amounts. Only claim lines with an Approve Quantity above zero are settled. Each becomes one document line, paid at Unit Price × Approve Quantity before any line discount. A line whose OEM credited amount was written by an accepted remittance line is paid at that amount instead. A partly approved claim therefore settles partly. A line with no item is settled with a description such as Warranty claim … · line ….
  • Party. A credit note or invoice is raised on the claim's Supplier Account, the manufacturer or principal who pays the claim. A claim with no Supplier Account is refused rather than booked to your own company.
  • Status. When the document is created, the claim's Status becomes Settled. In batch settlement, the batch becomes Settled too.
  • Simulate mode. With Simulate Mode on, the job only reports in its run summary what it would have created, and writes nothing. The claim stays Approved.
  • Repeats. Running the job again for a settled claim creates nothing; it reports the document that already exists.

Prerequisites

  • The Claims licence, assigned to your organization and to you.
  • Create and edit access to Claim Settlement Setup (see Permissions).
  • An approval process for the Claim entity. None is shipped; see Trade claims.
  • A Supplier Account on the claims you intend to settle by credit note or invoice.
  • Access to Setup → Platform → Monitoring → Jobs, where you read settlement results.

Procedure

Step 1 — Open the settlement setups

Open the Claims app from the App Launcher, select Settings, and then Claim settlement setups under Setup. The All claim settlement setups list shows Name, Claim Type, Settlement Document, Auto GL Posting, Apply To Open Invoices, Active and Simulate Mode for each setup, followed by who created and last changed it. Check whether an active setup already exists for the claim type before you create another one.

Step 2 — Create the setup

Select New. The form asks for these fields:

  1. Document Number: a name for the setup, for example Warranty — credit note. Nothing numbers setups automatically, so type one.
  2. Claim Type: the type this setup settles. Choose the same value your claims carry.
  3. Settlement Document: choose CreditNote, Invoice, None, Adjustment (Part to Part) or By line type (adjustment + invoice). The two adjustment choices settle per claim only; see Business rules.
  4. Settle on and Reconciliation tolerance, next to Settlement Document. Leave Settle on as On approval for now; Step 5 explains it.
  5. Active: leave it off for now.
  6. Simulate Mode: make sure it is on before you save.

Save. The setup opens on its record page. The header shows Claim Type, Settlement Document and Simulate Mode, with Edit and Delete buttons.

A setup created this way settles per claim. Auto GL Posting and Apply To Open Invoices start off, and there are no mappings.

Step 3 — Complete the details

The record page's Details tab has three sections. Change a value with the pencil next to it, then save.

  • Settlement: Settlement Document, Settle on, Reconciliation tolerance, Auto GL Posting, Apply To Open Invoices, Raise Event Name, Settlement Grouping, Batch Filter and Batch Grouping Fields.
  • Mappings: Header Mapping and Line Mapping.
  • Status: Active and Simulate Mode.

Edit, in the header or on a list row, opens the short create form from Step 2. The mappings, batching and event fields are only on the record page.

Step 4 — Write mappings, if you need them

Leave both mappings empty unless the created document needs a value that xMatix does not fill in on its own. A mapping is a JSON object. Each key is a field name on the created document (header) or document line. Each value is one of the following:

  • a field path on the claim (Header Mapping) or the claim line (Line Mapping), for example "Remarks": "Name";
  • @approvedAmount: the amount the claim settles for, or on a line, that line's settled amount (Unit Price × Approve Quantity, or its OEM credited amount);
  • @approvedQuantity: the claim's Total Approved Quantity, or on a line, its Approve Quantity;
  • @const: followed by a fixed value, for example "TransactionType": "@const:Warranty Settlement".

Mappings are applied after xMatix has filled the document, so they replace its values: the amount, dates, status, party or transaction type. For a batch, the header mapping reads the first claim in the batch. Nothing checks a mapping when you save: a mistake shows up only as a failed Settle claim run.

Step 5 — Choose when claims settle

Settle on has two values:

  • On approval (the default). The approval decision Approved queues the Settle claim job for the claim straight away.
  • On the OEM remittance. The approval decision no longer queues anything. When you import the manufacturer's remittance and accept the claim's last open line on it, the job is queued for the claim, and the claim settles at the amounts the manufacturer credited. See OEM remittances.

Reconciliation tolerance is a rupee amount. A remittance line whose credit is within this much of the expected amount counts as Matched. Leave it blank to use ₹1. The claim statement uses the same tolerance.

A Per Batch setup (Step 6) settles when its batch is settled, whatever Settle on says.

Step 6 — Choose per-claim or batch settlement

Leave Settlement Grouping as it is to settle each claim on its own document.

To settle many claims as one document, set Settlement Grouping to PerBatch. The list also offers Per Batch (consolidated), but neither the approval nor the batching job recognises that value, so a setup that uses it settles per claim. With PerBatch:

  • An approval no longer settles the claim. The Batch claims for settlement job collects claims into claim batches, and Settle batch on a batch settles them together. See Batches.
  • Batch Filter narrows which claims the batching job picks up. Empty means Status == "Approved". The filter is an expression over claim fields, and saving the setup test-runs it and refuses one that does not work. To batch claims before they are approved, for example when the parts ship to the manufacturer first, use a filter such as Status == "Submitted" || Status == "Draft". Settlement still waits for each claim's own approval.
  • Batch Grouping Fields is a comma-separated list of claim fields. Empty means PartnerAccountId,BranchId,SupplierAccountId.
  • Batch Period (None or Month) is not on the shipped forms. Add it to the record page in the layout designer if you want monthly batches.

Only CreditNote and Invoice can be settled per batch.

Step 7 — Prove the setup in simulate mode

Turn Active on and keep Simulate Mode on. Approve one or two real claims of the type, then open Setup → Platform → Monitoring → Jobs and find the Settle claim runs. A simulated run reports, for example, "SIMULATE: would create CreditNote for ₹8400 (Warranty, claim CN-…)".

The amount is the claim's Total Approved Amount, the sum of Unit Price × Approve Quantity over its lines. Compare it with what the supplier should pay. For an adjustment, the message gives the approved quantity instead. For a setup that settles by line type, it names both documents.

For a PerBatch setup, start the batching job instead (Step 9). Its simulated summary reports how many claims would go into how many batches. Settle batch on a batch in simulate mode reports the one document it would create.

Step 8 — Go live

Switch Simulate Mode off and save. Claims settled from now on are settled for real.

Claims that were approved while the setup was simulating are not picked up again automatically. Settle each of them by hand (Step 9).

Step 9 — Start a settlement or batching run by hand

The jobs can also be started from Setup → Platform → Monitoring → Jobs. You need permission to manage jobs.

  1. On the Schedules tab, add a schedule. As Job type, choose Settle claim or Batch claims for settlement.
  2. In Payload JSON, enter what to run:
    • one claim: {"claimId": "<the claim's record id>"};
    • one claim batch: {"claimBatchId": "<the batch's record id>"};
    • batching for one claim type only: {"claimType": "Warranty"}.

Add "simulate": true or "simulate": false to override the setup's Simulate Mode for that run only.

  1. Select Run now on the schedule's row, then read the run on the runs list.
  2. Delete the schedule when you no longer need it.

The record id is the last part of the record page's address. A claim batch is easier to settle with Settle batch on the batch itself.

Fields

FieldWhat it meansNotes
Document NumberThe setup's nameRequired. Typed by you; nothing numbers setups. Not required to be unique.
Claim TypeThe claim type this setup settlesRequired. Scheme, Damaged, Sale, Service, Purchase, Shortage, Excess, Expense, Transport, Warranty, Part To Part. Must equal the claims' Claim Type exactly. Only one active setup per type.
Settlement DocumentWhat a settled claim producesCreditNote (the default), Invoice, None, Adjustment (Part to Part) (a draft stock adjustment, per claim only) and By line type (adjustment + invoice) (per claim only).
Settle onWhat starts settlementOn approval (the default) or On the OEM remittance. Ignored by Per Batch setups, which settle with their batch.
Reconciliation toleranceHow close a remittance credit must be to count as MatchedRupees. Blank means ₹1.
Auto GL PostingRequests posting of the created documentCopied onto the credit note or invoice, or onto an adjustment as its inventory-posting request. The document is still created as Draft.
Apply To Open InvoicesUses the credit note against the supplier account's open invoicesOldest first, after the credit note is saved. Credit notes only.
Raise Event NameA business-rule event raised on the claim after settlementOptional. Also raised when the document is None, or when no setup matched. If the event can't be raised, settlement still succeeds.
Settlement GroupingPer claim or per batchPer Claim, PerBatch, Per Batch (consolidated). Only PerBatch turns on batching. A new setup settles per claim.
Batch FilterWhich claims the batching job collectsExpression over claim fields. Empty = Status == "Approved". Test-run when you save.
Batch Grouping FieldsHow claims are grouped into batchesComma-separated claim fields. Empty = partner account, branch and supplier account.
Batch PeriodWhether batches are per monthNone (the default) or Month. Not on the shipped forms.
Header MappingOverrides on the created document's headerJSON; see Step 4.
Line MappingOverrides on each created document lineJSON; see Step 4.
ActiveWhether the setup is usedOnly active setups are used. Starts off. One active setup per claim type.
Simulate ModeReport only, write nothingOn by default. Check that it is on when you create the setup.

Business rules

  • One active setup per type. Saving a second active setup for a claim type is refused with "Claim type … already has an active Claim Settlement Setup. Deactivate it first." A missing setup is not an error: the run reports "No settlement setup for claim type '…' — nothing to do."
  • Approved only. A claim that is not approved fails with "… is not approved (Status …); only an Approved claim is settled." For a setup that settles on the OEM remittance, the message asks you to accept the claim's lines on the OEM remittance instead.
  • Held by a remittance. A claim with an open or disputed line on an OEM remittance fails with "Held: … has open or disputed lines on …". Accept the lines there, then settle again.
  • Nothing approved. An approved claim with no approved quantity on any line creates nothing, stays Approved, and the run reports "Nothing approved on the claim — no settlement document created."
  • Settlement Document None creates nothing and raises the event only. The run reports "Settlement document 'None' — events only."
  • Created documents. A credit note or invoice is created as Draft, dated your organization's today. It has transaction type Claim Settlement, one line per approved claim line, and a link back to the claim (or batch). The claim's Status becomes Settled.
  • Adjustment (Part to Part) creates one draft stock adjustment for the claim's partner account and branch, linked to the claim, with one line of type Part to Part per approved claim line (item, approved quantity, unit price). It needs no Supplier Account. Someone completes and posts it with Post Inventory. Settling the claim again reports "Already settled (adjustment …)."
  • By line type (adjustment + invoice) splits one claim. Its approved Part To Part lines become a draft stock adjustment as above. Its approved Reimbursment lines, and approved lines with no type that came from a service order, become an invoice to the Supplier Account. That invoice keeps each line's tax group and service order line, and the stock allocated to it on the repair order. Both documents are created in one save, and a re-run creates only a missing one. A claim with an approved line of any other type is refused, and the run names the lines: "… are neither Part To Part nor Reimbursment. Set each line's claim type and settle again." Reimbursment lines need a Supplier Account on the claim.
  • PerBatch with Adjustment is refused when you save: "Adjustment settlement is per-claim; it cannot be combined with Per Batch grouping." By line type is refused the same way. A batch whose setup has any document other than CreditNote or Invoice fails with "Batch settlement supports Invoice and CreditNote; '…' is per-claim only."
  • Batch filter check. Saving a setup with a Batch Filter runs it once against your claims. If it fails, the save is refused with "batch filter does not compile —" followed by the reason.
  • Supplier required. A credit note or invoice settlement for a claim, or a batch, with no Supplier Account fails with "… has no supplier / OEM (SupplierAccountId), so its settlement … would be booked to the company itself. Set the supplier and settle again."
  • What batching picks up. The batching job takes claims of the setup's type that are in no batch, are not Settled, have no settlement credit note, pass the Batch Filter, and have some value (approved, or claimed if nothing is approved yet). A group of claims with no Supplier Account is skipped, and the run summary says so.
  • Batch top-up. The batching job adds claims to a Draft batch that it created earlier for the same claim type and the same grouping values. Batches created by hand, and batches already reconciled, are not topped up. With a monthly Batch Period, every run creates new batches.
  • Batch settlement. A batch settles only its approved claims. If some claims are still undecided or held, Settle batch stops and names them. Settle approved claims only settles the rest and releases the others from the batch. A batch that mixes claim types is refused: "… mixes claim types …; each type settles through its own setup."
  • Retries. A failed Settle claim run is retried up to three times, and runs for one organization never overlap.

Example

Your service team raises warranty claims on a two-wheeler manufacturer, Sarvam Motors, which pays them by credit note against your open purchase invoices.

  1. In Claims → Settings → Claim settlement setups, you select New. You enter Warranty — credit note, Claim Type Warranty, Settlement Document CreditNote, Settle on On approval, Active off, Simulate Mode on, and save.
  2. On the Details tab, you switch on Apply To Open Invoices. You leave Settlement Grouping and the mappings as they are.
  3. You turn Active on. Approvers approve a warranty claim with two approved lines, 2 × 1,800 and 1 × 4,800, so its Total Approved Amount is 8,400.
  4. The Settle claim run reports "SIMULATE: would create CreditNote for ₹8400 (Warranty, claim …)", which matches the manufacturer's acknowledgement.
  5. You switch Simulate Mode off and settle that claim by hand with a Settle claim schedule whose payload names the claim.
  6. The run reports the credit note, 8,400, how much was applied, and the open amount. The claim shows Settled, and the credit note appears on its Related tab, in Draft. Your accountant posts it with Post General Ledger.

Training

Practice exercise

In a sandbox with the Claims licence and a claim approval process:

  1. Create a settlement setup for Transport, Settlement Document CreditNote, Active on, Simulate Mode on.
  2. Start a second setup for Transport with Active on, and save it. Expect the save to be refused because Transport already has an active setup. Cancel the form.
  3. Create a Transport claim with a Supplier Account and one line (5 × 100), approve the line, and get the claim approved.
  4. Open the Jobs screen and read the Settle claim run.

Expected result: the run says "SIMULATE: would create CreditNote for ₹500 …", and the claim is still Approved, not Settled. Then switch Simulate Mode off and settle the claim by hand (Step 9). The claim becomes Settled, and a Draft credit note of 500 appears on its Related tab.

Quick reference

  • One active setup per claim type; the type must match exactly.
  • Only Approved claims settle; a remittance line that is open or disputed holds the claim.
  • Settle on decides whether approval or the OEM remittance starts settlement.
  • Adjustment (Part to Part) and By line type settle per claim only, and the adjustment still needs Post Inventory.
  • Check that Simulate Mode is on when you create a setup.
  • For batch settlement choose PerBatch, not Per Batch (consolidated).
  • Mappings, batching and event fields are edited on the record page, not in the create form.
  • Settlement pays Unit Price × Approve Quantity per approved line, or the OEM credited amount.
  • The claim needs a Supplier Account for a credit note or invoice.
  • Documents are created as Draft; post them yourself.
  • Claims approved during simulation need a manual run; results are on Setup → Platform → Monitoring → Jobs.

Permissions

WhatWho can do it
Open the Claims app and settlement setupsUsers whose organization and profile have the Claims licence
See, create, edit and delete settlement setupsUsers whose security profile grants those permissions on Claim Settlement Setup. The shipped System Admin, Sales Manager, Sales Executive, Standard User, Sales and Service profiles grant full access.
Read job runs, add schedules, Run nowUsers allowed to view and manage jobs on the Jobs screen
Approve the claims that trigger settlementThe approvers in your claim approval process

A user without access to Claim Settlement Setup does not see the list. Settlement itself runs as a background job and does not depend on the approver's permissions.

Configuration

  • Settlement setups. Claims → Settings → Claim settlement setups, one active setup per claim type, as above.
  • Claim types. A setup's Claim Type list and the claim's Claim Type list are separate picklists. If you add a claim type to claims, add the same value to the setup's Claim Type picklist (Design Studio → Entities → Claim Settlement Setup → picklist values), then create the setup.
  • Batch Period. To batch per month, add the Batch Period field to the setup's record page in the layout designer, then set it to Month.
  • Batching schedule. Batch claims for settlement ships with a nightly default schedule, Batch claims for settlement (nightly), at 01:00 India time, half an hour after the nightly claim generation run. It batches every active PerBatch setup. Change or pause it on the Jobs screen's Schedules tab. See Batches.
  • OEM remittances. Settle on and Reconciliation tolerance work together with OEM remittances.
  • Events. A Raise Event Name can be picked up by business rules on the Claim entity; see Business rules.
  • Credit-note posting and application. How a Draft credit note is posted and applied is described in Credit notes.

Common problems

The claim is approved but stays Approved

Check that an active setup exists for exactly that Claim Type, that Simulate Mode is off, that Settle on is On approval, and that the document is not None. Then read the Settle claim run on the Jobs screen. If the setup was simulating when the claim was approved, settle the claim by hand (Step 9). A Per Batch type waits for its batch, and a remittance-settled type waits for its remittance lines to be accepted.

Saving the setup fails with "already has an active Claim Settlement Setup"

Cause: another setup for the same claim type is already active.

Fix: switch the other setup's Active off first, or change that setup instead of creating a new one.

The run failed with "is not approved"

Cause: the claim's Status is not Approved, for example because someone started a run for a claim that is still Pending Approval.

Fix: decide the claim through its approval process. For a remittance-settled type, accept its lines on the OEM remittance. Then settle it again.

The run failed with "Held: … has open or disputed lines on …"

Cause: the claim appears on an OEM remittance whose line for it is still open or disputed.

Fix: open the named remittance and accept the line (or reopen the dispute and accept it), then settle again.

The run failed with "… are neither Part To Part nor Reimbursment"

Cause: the setup settles by line type, and an approved line of the claim has another claim type (or none).

Fix: set each named line's Claim type to Part To Part or Reimbursment, then settle the claim by hand.

Claims of a batch type settle one by one and no batches appear

Cause: Settlement Grouping is Per Batch (consolidated) or Per Claim. Only PerBatch turns on batching.

Fix: set it to PerBatch. Claims already settled stay settled.

The batching run says a group was skipped because the claims carry no supplier account

Cause: a claim batch needs a supplier, and those claims have no Supplier Account.

Fix: fill in the Supplier Account on the claims, then run the batching job again.

The run failed with "has no supplier / OEM"

Cause: the claim, or the batch, has no Supplier Account.

Fix: fill in the Supplier Account on the claim (or batch), then select Retry on the failed run.

Saving the setup fails with "batch filter does not compile"

Cause: the Batch Filter names a field that claims don't have, or isn't a valid expression.

Fix: use claim field names and quoted text values, for example Status == "Approved". Clear the filter to use the default.

The settle run fails after I added a mapping

Cause: the mapping is not valid JSON, or names a field the document or claim does not have. Mappings are not checked on save.

Fix: correct the mapping, then select Retry on the failed run, or settle by hand.

Common questions

Do I need a setup for every claim type?

Only for the types you want xMatix to settle. A claim whose type has no active setup can still be raised, reviewed and approved. On approval, the Settle claim run reports that there is no setup and creates nothing, and the claim stays Approved. If you add a setup later, settle those claims by hand from the Jobs screen. If you settle a type outside xMatix but want downstream automation, create a setup with Settlement Document None and a Raise Event Name.

What happens if I change a setup after claims were approved?

Settlement reads the setup at the moment the Settle claim job runs, not when the claim was raised. Claims that are already settled are not changed. Claims settled from then on use the new values. A claim that a simulated run only reported is not run again when you switch Simulate Mode off; start a run for it yourself.

Can a setup settle by debit note or stock adjustment?

By stock adjustment, yes. Adjustment (Part to Part) raises a draft stock adjustment for the claim, and By line type raises one for the claim's Part To Part lines next to an invoice for its Reimbursment lines. Both settle per claim only. There is no debit note option: a setup settles by credit note, invoice, stock adjustment, by line type, or not at all (None).

Should I settle on approval or on the OEM remittance?

Settle on approval when the manufacturer's approval is final and you want the credit note straight away. Settle on the OEM remittance when the manufacturer often pays a different amount from what it approved, and you want the document to carry what it actually credited. The claim then settles when its last open remittance line is accepted, at the credited amounts. With on approval, a later remittance is still matched and accepted, but it does not change a claim that is already settled. Compare the two on the claim statement.