Purpose
Normalize the deduction into claims[]: type, period, claimed amount, actual volume value, backup document reference.
When to use
Start of every deduction case.
Inputs
AR deduction record, claim backup (PDF/portal export), remittance detail. Emits the entry hop (schema in contracts/).
Steps
- Extract per claim: claim_id, type (promo_allowance / slotting / shortage / compliance_penalty), period, claimed_amount VERBATIM, actual volume value from records, backup_doc reference or its absence.
- Absence of backup is a fact worth recording - it drives #2.3.
- Validate against the contract; write deduction.json.
Output
deduction.json - the entry hop.
Grounding requirements
Every amount cites the AR record or backup page.
Constraints
- No validity opinions here; never "round" a claimed amount.
Escalation / uncertainty
Illegible backup -> #4 floor; analyst review before anything else.