{
  "payment_type": "farm_invoice",
  "ledger_entry_type": "farm_invoice_approve",
  "authorization": "Confirm delivered quantities, accepted grades, discounts, and the invoice total before collecting the farmer's payment.",
  "amounts": "Positive integer strings in USD cents, resolved server-side from approved records.",
  "identity": "Authenticate the payer and resolve the Ledger and business record server-side.",
  "idempotency": "Persist one stable key and exact payload per operation. Recover existing operations after timeouts.",
  "concurrency": "Serialize collection attempts per approved invoice and cap collection at its outstanding balance.",
  "settlement": "Verify Payment status on the server. Never post native settlement entries manually.",
  "domain_rules": {
    "Delivery quantity changes": "Issue an approved invoice revision before charging. Preserve the original delivery evidence.",
    "Seasonal buyer credit": "Apply the approved credit when determining the collectible invoice amount.",
    "Inventory and tax": "Keep inventory valuation and tax calculations in the farm or supplier system."
  }
}
