{
  "currency": "USD",
  "description": "Illustrative snapshots, not executable payment requests. The 300-cent fee is an example, not pricing. Fragment posts settlement accounting automatically.",
  "steps": [
    {
      "ik": "illustrative-invoice-approved",
      "action": "invoice-approved",
      "type": "freight_invoice_approve",
      "parameters": {
        "invoice_id": "1",
        "amount": "10000"
      },
      "expected_outcome": "posted",
      "expected_balances": {
        "assets/payments": "0",
        "assets/receivables:1/outstanding": "10000",
        "income/freight-services:1": "10000",
        "expenses/payment-fees": "0"
      }
    },
    {
      "ik": "illustrative-payment-settled",
      "action": "payment-settled",
      "type": "payment_freight_invoice_settled",
      "parameters": {
        "invoice_id": "1",
        "settled_amount": "10000",
        "fragment_fee_amount": "300"
      },
      "expected_outcome": "posted",
      "expected_balances": {
        "assets/payments": "9700",
        "assets/receivables:1/outstanding": "0",
        "income/freight-services:1": "10000",
        "expenses/payment-fees": "300"
      }
    }
  ]
}
