{
  "source_page_count": 14,
  "invoice_count": 11,
  "ready": [
    {
      "invoice_id": "P001",
      "customer_id": "C01",
      "revision": 1,
      "pages": 1,
      "amount_yen": 1000,
      "cancelled": false,
      "name": "架空青果",
      "channel": "email",
      "destination": "customer01@example.invalid",
      "source_pages": [
        2
      ],
      "pdf": "P001-v1.pdf",
      "approved": false,
      "sent": false
    },
    {
      "invoice_id": "P002",
      "customer_id": "C02",
      "revision": 1,
      "pages": 2,
      "amount_yen": 2000,
      "cancelled": false,
      "name": "架空取引先02",
      "channel": "postal",
      "destination": "TEST ADDRESS C02 - DO NOT POST",
      "source_pages": [
        5,
        1
      ],
      "pdf": "P002-v1.pdf",
      "approved": false,
      "sent": false
    },
    {
      "invoice_id": "P003",
      "customer_id": "C03",
      "revision": 1,
      "pages": 1,
      "amount_yen": 3000,
      "cancelled": false,
      "name": "架空青果",
      "channel": "email",
      "destination": "customer03@example.invalid",
      "source_pages": [
        4
      ],
      "pdf": "P003-v1.pdf",
      "approved": false,
      "sent": false
    },
    {
      "invoice_id": "P009",
      "customer_id": "C09",
      "revision": 2,
      "pages": 1,
      "amount_yen": 19000,
      "cancelled": false,
      "name": "架空取引先09",
      "channel": "email",
      "destination": "customer09@example.invalid",
      "source_pages": [
        13
      ],
      "pdf": "P009-v2.pdf",
      "approved": false,
      "sent": false
    },
    {
      "invoice_id": "P011",
      "customer_id": "C11",
      "revision": 1,
      "pages": 2,
      "amount_yen": 11000,
      "cancelled": false,
      "name": "架空取引先11",
      "channel": "email",
      "destination": "customer11@example.invalid",
      "source_pages": [
        14,
        3
      ],
      "pdf": "P011-v1.pdf",
      "approved": false,
      "sent": false
    }
  ],
  "held": [
    {
      "invoice_id": "P004",
      "customer_id": "C04",
      "reason": "consent_missing",
      "message": "電子送付への同意が未確認"
    },
    {
      "invoice_id": "P005",
      "customer_id": "C05",
      "reason": "email_missing",
      "message": "メール宛先が空欄"
    },
    {
      "invoice_id": "P006",
      "customer_id": "C06",
      "reason": "postal_address_missing",
      "message": "郵送先が空欄"
    },
    {
      "invoice_id": "P007",
      "customer_id": "C07",
      "reason": "customer_mismatch",
      "message": "PDFと台帳の取引先IDが違う"
    },
    {
      "invoice_id": "P008",
      "customer_id": "C08",
      "reason": "page_missing",
      "message": "ページの不足・重複・総数の不一致"
    }
  ],
  "cancelled": [
    "P010"
  ],
  "superseded_pages": [
    11
  ],
  "email_count": 4,
  "postal_count": 1,
  "sent": false,
  "printed": false
}