{
  "payment_type": "freight_invoice",
  "ledger_entry_type": "freight_invoice_approve",
  "authorization": "Confirm delivery evidence, agreed rates, and approved accessorial charges before creating the invoice and 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": {
    "Accessorial charges": "Require approval for detention, handling, or other additions before including them in the invoice.",
    "Short payment": "Resolve deductions before creating the collectible amount; retain the disputed balance separately.",
    "Shipment identifiers": "Bind the invoice to the authorized shipment record instead of trusting a customer-entered reference."
  }
}
