RETGAS
All rules
Distributors Validation rules engine

The meter serial on the bill matches the actual meter

Some distributors require matching the bill’s serial with the installed meter. The rule applies only to them.

A rule in use at inspection bodies; names changed

Each distributor has its own requirements. For Distributor A and B, the meter serial on the bill must be the installed meter’s.

For the rest, that check doesn’t apply. A general rule would block reports that are fine.

The rule

Checks
The visit’s distributor, the meter serial on the bill and the actual meter serial.
Blocks when
The visit is for Distributor A or B, the bill was recorded and the two serials don’t match.
Message to the inspector
“The meter serial on the bill must match the actual meter. Bill meter: 7810-22, actual meter: 7810-25. Please check.”
Applies to
Periodic inspection forms, only for Distributor A and B.

Test cases

This is how it’s simulated before saving: if a case doesn’t give the expected result, nothing is saved.

Situation Result
Distributor A · same serials Passes
Distributor A · different serials Blocks
Distributor C · different serials Passes

Variant: no bill, no charge

For other distributors: if no bill is generated, the subtotal, VAT, total and installments fields must stay empty.

Ask your assistant for it

With the RETGAS connector in Claude, all you have to write is:

«For Distributor A and B, the meter serial on the bill has to match the actual meter. For the others it doesn’t apply. Prepare it and test it with one case of each.»

Why it matters

  1. One rule per requirement

    Each distributor’s conditions live in separate rules. Changing one doesn’t touch the others.

  2. It doesn’t over-block

    The rule only runs for the distributors that require it. Everyone else’s reports go out as usual.

The engine flags and the person decides. Rules only run when they’re active and linked to the form. How they’re configured

Working with several distributors means working with several rulebooks. The engine applies each one separately.

Other examples

Personalized demo · response < 2 business h

Ready to optimize your operation?

In 20 min: how to cut admin time by 60%. No commitment.

  • ✓ Walkthrough with your real case
  • ✓ Quote based on your volume
  • ✓ Deployment in 1–2 weeks
Follow us: Facebook Instagram WhatsApp

Book your demo

5 fields. We'll reach out on WhatsApp the same day.

By submitting you accept our privacy policy.

Message us on WhatsApp