{
  "version": "1.2.0",
  "title": "Reconciliation ready",
  "summary": "Only explicitly assigned, finalized records with the same network and asset contribute to an invoice.",
  "metrics": [
    {
      "label": "Invoices",
      "value": 2
    },
    {
      "label": "Matched",
      "value": 0
    },
    {
      "label": "Transfer exceptions",
      "value": 1
    }
  ],
  "tables": [
    {
      "title": "Invoice exceptions",
      "columns": [
        "Invoice",
        "Network / asset",
        "Due",
        "Recorded paid",
        "Pending",
        "Difference",
        "Status"
      ],
      "rows": [
        [
          "INV-01",
          "eip155:8453 / demo-usdc-contract",
          "125.50",
          "135.5",
          "0",
          "10",
          "Overpaid"
        ],
        [
          "INV-02",
          "eip155:8453 / demo-usdc-contract",
          "80",
          "60",
          "0",
          "-20",
          "Underpaid"
        ]
      ]
    },
    {
      "title": "Excluded records",
      "columns": [
        "Transfer",
        "Reason",
        "Invoice"
      ],
      "rows": [
        [
          "demo-log-4",
          "Network or asset mismatch",
          "INV-02"
        ]
      ]
    }
  ],
  "notes": [
    "Amounts are exact to 8 decimals. Network and asset identifiers are exact, case-sensitive labels; use a contract or issuer identifier, not just a ticker.",
    "Finality is supplied by you. No blockchain, wallet balance, issuer solvency, exchange rate, refund or payment is verified. Partial and multiple payments are supported; refunds must be reconciled separately."
  ],
  "data": {
    "invoices": [
      {
        "invoice": "INV-01",
        "network": "eip155:8453",
        "asset": "demo-usdc-contract",
        "due": "125.50",
        "recordedPaid": "135.5",
        "pending": "0",
        "difference": "10",
        "state": "Overpaid",
        "transfers": [
          "demo-log-1",
          "demo-log-2",
          "demo-extra-payment"
        ]
      },
      {
        "invoice": "INV-02",
        "network": "eip155:8453",
        "asset": "demo-usdc-contract",
        "due": "80",
        "recordedPaid": "60",
        "pending": "0",
        "difference": "-20",
        "state": "Underpaid",
        "transfers": [
          "demo-log-3"
        ]
      }
    ],
    "exceptions": [
      [
        "demo-log-4",
        "Network or asset mismatch",
        "INV-02"
      ]
    ]
  }
}
