{
  "hasMore": true,
  "data": [
    {
      "id": "inv_5f92f01728e009f403d8502e",
      "status": "draft",
      "payer": "<string>",
      "beneficiary": "<string>",
      "dueDate": "2023-12-25",
      "amountDue": 200000,
      "amountPaid": 150050,
      "amountRemaining": 95000,
      "type": "pay_off",
      "invoiceItems": {
        "url": "<string>",
        "hasMore": true,
        "data": [
          {
            "id": "item_5f92f01728e009f403d8502e",
            "installment": "inst_631a1f531a40784a5b1df6ed",
            "invoice": "inv_631a1f531a40784a4b0df5ed",
            "amount": 123,
            "discount": 123,
            "fine": 123,
            "interest": 123,
            "description": "<string>",
            "metadata": {},
            "createdAt": "2023-08-25T22:38:41.134Z",
            "updatedAt": "2023-08-25T22:38:41.134Z",
            "deleted": false
          }
        ]
      },
      "paymentIntents": {
        "hasMore": true,
        "data": [
          {
            "id": "pi_5f92f01728e009f403d8502e",
            "invoice": "inv_631a1f531a40784a4b0df5ed",
            "status": "open",
            "amount": 123,
            "paymentDetails": {
              "paidAt": "2023-12-25",
              "amountPaid": 123,
              "metadata": {}
            },
            "expireAt": "2023-12-25",
            "method": "boleto",
            "methodData": {
              "externalId": "<string>",
              "type": "boleto",
              "provider": "kobana",
              "description": "<string>",
              "typeableLine": "<string>",
              "url": "<string>",
              "barcode": "<string>",
              "ourNumber": "<string>",
              "customer": "cust_631a2a321a40784a4b0df641",
              "events": [
                {}
              ]
            },
            "metadata": {},
            "createdAt": "2023-08-25T22:38:41.134Z",
            "updatedAt": "2023-08-25T22:38:41.134Z"
          }
        ]
      },
      "description": "<string>",
      "history": [
        {
          "description": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "status": "draft",
          "metadata": {}
        }
      ],
      "paidAt": "2023-12-25",
      "metadata": {},
      "createdAt": "2023-08-25T22:38:41.134Z",
      "updatedAt": "2023-08-25T22:38:41.134Z",
      "deleted": false,
      "createdBy": {
        "clientId": "key_643969122d598f5b62d15fbc",
        "externalClientId": "optr_643969122d598f5b62d15fbd"
      },
      "updatedBy": {
        "clientId": "key_643969122d598f5b62d15fbc",
        "externalClientId": "optr_643969122d598f5b62d15fbd"
      }
    }
  ]
}