All templates

Automated Marg ERP Scheme Reconciliation

Every night, WebRun opens Marg ERP, recalculates what scheme or discount each invoice billed that day should have received, flags any mismatch against the scheme master, records the value gap in Xero for your accountant, and logs every mismatch to a dated row in Google Sheets.

Runs on WebRun · Strict Lockdown policy
Every night at 9:00 PM WebRunorchestrates each step
1 Marg ERP compare bills against the scheme master
2 Xero record the value gap for review
3 Google Sheets log every mismatch
In short

How do I catch scheme and discount mismatches in Marg ERP?

Every night WebRun compares Marg ERP's scheme master against the day's billed invoices, flags any bill that under or over applied its scheme or discount, and records the value gap in Xero for your accountant to confirm. It logs every mismatch to Google Sheets, so margin leakage from scheme errors gets caught the same day it happens.

  • Scheme and discount errors are caught the same night they happen
  • Every mismatch is logged with its exact value gap
  • Margin leakage from misapplied schemes gets flagged before it compounds

Built for FMCG distributors · pharma wholesalers · stockists · accounts teams

Step by step

What does WebRun do on every run?

The exact actions WebRun takes, in order - in plain language, so you can adjust anything.

  1. WebRun signs in and gets to work

    Opens www.margcompusoft.com in a real browser with your saved login - no setup, no API keys.

  2. 1
    Marg ERP - compare bills against the scheme master
    margcompusoft.com
    WebRun in Marg ERP: compare bills against the scheme master
    WebRun opens Marg ERP to compare bills against the scheme master.
    • Open Marg ERP and load the scheme master alongside the day's billed invoices
    • Recalculate the scheme or discount each invoice should have received
    • Flag every invoice where the billed scheme differs from the scheme master

    Done when Every invoice billed today has been checked against its scheme entitlement.

  3. 2
    Xero - record the value gap for review
    xero.com
    WebRun in Xero: record the value gap for review
    WebRun opens Xero to record the value gap for review.
    • For each mismatch, work out whether the business over gave or under claimed the discount
    • Record the value gap in Xero against the right scheme or discount account
    • Leave the entry for your accountant to confirm, never posting a correction on its own

    Done when Every mismatch has a value gap recorded in Xero for confirmation.

  4. 3
    Google Sheets - log every mismatch
    google.com
    WebRun in Google Sheets: log every mismatch
    WebRun opens Google Sheets to log every mismatch.
    • Open the scheme reconciliation sheet and add a dated row
    • List each mismatched invoice with the retailer, scheme, expected versus billed discount, and the gap
    • Keep a running total of over given and under claimed value so patterns are visible

    Done when Every mismatch for the day is logged in the sheet with its value gap.

Run settings

How is each run configured?

Starting pageWhere Chrome opens at the start of each run
www.margcompusoft.com
ScheduleRuns automatically on this cadence
Every night at 9:00 PM
DeliveryHow each run's result reaches you
Mismatch log · Google Sheets
OutputWhat each run produces - A dated list of scheme and discount mismatches with the retailer, expected versus billed discount, and the value gap for each.
Text
Setup & safety

Secure by default

Connect once, stays signed in

WebRun signs in once and keeps each session in a persistent environment, so every run picks up right where it left off.

Your credentials stay in your own private environment - WebRun never stores your passwords.
Strict Lockdown

Every action is checked against this policy before it runs.

Domains ALLOWLIST
Typed input ALLOW
Shell command BLOCK
File uploads BLOCK
Runs in a contained environment More on policies
Good to know

Questions, answered

Will it change my scheme master or post corrections on its own?

No. WebRun only flags mismatches and records the value gap in Xero as an entry for your accountant to confirm. It never edits the scheme master or posts a correction by itself.

How does it calculate the correct scheme?

It reads the scheme master rules in Marg ERP for each product and period, recalculates what the invoice should have received, and compares that against what was actually billed.

What happens once a mismatch is fixed?

It reads live billing data each night, so once an invoice is corrected in Marg ERP it drops off the next day's mismatch list automatically.

Put this on autopilot.

Turn it on in minutes - or have our team set it up for you.