> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# billingBills

> List new-system merchant bills, newest first, including balances and charges for accounting reconciliation.

**Required scopes:** [`invoices_read`](/docs/api-reference/v3/reference/scopes#scope-invoices_read)

## Arguments

<ResponseField name="after" type="String">
  Opaque cursor from the preceding page.
</ResponseField>

<ResponseField name="first" type="Int">
  Bills to return, 1 to 100; defaults to 25.
</ResponseField>

## Returns

<ResponseField name="billingBills" type={<a href="/docs/api-reference/v3/pagination">BillingBillConnection!</a>} required>
  A paginated list of BillingBill items.

  <Expandable title="fields" lazyRender>
    <ResponseField name="edges" type={<a href="/docs/api-reference/v3/pagination">[BillingBillEdge!]!</a>} required>
      The list of edges (each a node plus its pagination `cursor`).

      <Expandable title="fields" lazyRender>
        <ResponseField name="cursor" type="String!" required>
          Opaque cursor for this item; pass to `after`/`before` to page from here.
        </ResponseField>

        <ResponseField name="node" type={<a href="/docs/api-reference/v3/reference/billing/billing-bill">BillingBill!</a>} required>
          The item at this edge.

          <Expandable title="fields" lazyRender>
            <ResponseField name="billedAt" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime!</a>} required>
              Date shown as billed on the merchant invoice.
            </ResponseField>

            <ResponseField name="chargeTotal" type={<a href="/docs/api-reference/v3/reference/common/money">Money</a>}>
              Charge total valued in bill currency, excluding unstruck foreign charges.
            </ResponseField>

            <ResponseField name="closingBalance" type={<a href="/docs/api-reference/v3/reference/common/money">Money!</a>} required>
              Current bill balance; positive means owed by the merchant.
            </ResponseField>

            <ResponseField name="currency" type="String!" required>
              Bill settlement currency.
            </ResponseField>

            <ResponseField name="dueAt" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime</a>}>
              Payment due date, when assigned.
            </ResponseField>

            <ResponseField name="id" type="String!" required>
              Stable numeric bill ID.
            </ResponseField>

            <ResponseField name="openingBalance" type={<a href="/docs/api-reference/v3/reference/common/money">Money!</a>} required>
              Balance carried into this bill; positive means owed by the merchant.
            </ResponseField>

            <ResponseField name="periodEnd" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime!</a>} required>
              End of the billing period.
            </ResponseField>

            <ResponseField name="periodStart" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime!</a>} required>
              Start of the billing period.
            </ResponseField>

            <ResponseField name="status" type={<a href="/docs/api-reference/v3/reference/billing/billing-bill-status">BillingBillStatus!</a>} required>
              Stored bill lifecycle status.
            </ResponseField>

            <ResponseField name="type" type={<a href="/docs/api-reference/v3/reference/billing/billing-bill-type">BillingBillType!</a>} required>
              Bill type, such as ReturnShipping or Software.
            </ResponseField>

            <ResponseField name="unstruckForeign" type={<a href="/docs/api-reference/v3/reference/common/money">[Money!]!</a>} required>
              Foreign charges without a frozen bill-currency strike, grouped by currency.
            </ResponseField>
          </Expandable>
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="nodes" type={<a href="/docs/api-reference/v3/reference/billing/billing-bill">[BillingBill!]!</a>} required>
      The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

      <Expandable title="fields" lazyRender>
        <ResponseField name="billedAt" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime!</a>} required>
          Date shown as billed on the merchant invoice.
        </ResponseField>

        <ResponseField name="chargeTotal" type={<a href="/docs/api-reference/v3/reference/common/money">Money</a>}>
          Charge total valued in bill currency, excluding unstruck foreign charges.

          <Expandable title="fields" lazyRender>
            <ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/decimal">Decimal!</a>} required>
              The exact amount as a decimal string (e.g. "19.99").
            </ResponseField>

            <ResponseField name="currency" type="String!" required>
              ISO 4217 currency code (e.g. USD).
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="closingBalance" type={<a href="/docs/api-reference/v3/reference/common/money">Money!</a>} required>
          Current bill balance; positive means owed by the merchant.

          <Expandable title="fields" lazyRender>
            <ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/decimal">Decimal!</a>} required>
              The exact amount as a decimal string (e.g. "19.99").
            </ResponseField>

            <ResponseField name="currency" type="String!" required>
              ISO 4217 currency code (e.g. USD).
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="currency" type="String!" required>
          Bill settlement currency.
        </ResponseField>

        <ResponseField name="dueAt" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime</a>}>
          Payment due date, when assigned.
        </ResponseField>

        <ResponseField name="id" type="String!" required>
          Stable numeric bill ID.
        </ResponseField>

        <ResponseField name="openingBalance" type={<a href="/docs/api-reference/v3/reference/common/money">Money!</a>} required>
          Balance carried into this bill; positive means owed by the merchant.

          <Expandable title="fields" lazyRender>
            <ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/decimal">Decimal!</a>} required>
              The exact amount as a decimal string (e.g. "19.99").
            </ResponseField>

            <ResponseField name="currency" type="String!" required>
              ISO 4217 currency code (e.g. USD).
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="periodEnd" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime!</a>} required>
          End of the billing period.
        </ResponseField>

        <ResponseField name="periodStart" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime!</a>} required>
          Start of the billing period.
        </ResponseField>

        <ResponseField name="status" type={<a href="/docs/api-reference/v3/reference/billing/billing-bill-status">BillingBillStatus!</a>} required>
          Stored bill lifecycle status.
        </ResponseField>

        <ResponseField name="type" type={<a href="/docs/api-reference/v3/reference/billing/billing-bill-type">BillingBillType!</a>} required>
          Bill type, such as ReturnShipping or Software.
        </ResponseField>

        <ResponseField name="unstruckForeign" type={<a href="/docs/api-reference/v3/reference/common/money">[Money!]!</a>} required>
          Foreign charges without a frozen bill-currency strike, grouped by currency.

          <Expandable title="fields" lazyRender>
            <ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/decimal">Decimal!</a>} required>
              The exact amount as a decimal string (e.g. "19.99").
            </ResponseField>

            <ResponseField name="currency" type="String!" required>
              ISO 4217 currency code (e.g. USD).
            </ResponseField>
          </Expandable>
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="pageInfo" type={<a href="/docs/api-reference/v3/pagination">PageInfo!</a>} required>
      Pagination metadata for the current page.

      <Expandable title="fields" lazyRender>
        <ResponseField name="endCursor" type="String">
          Cursor of the last edge in this page; pass to `after` to page forward.
        </ResponseField>

        <ResponseField name="hasNextPage" type="Boolean!" required>
          Whether more items exist after this page (drives forward pagination with `first`/`after`).
        </ResponseField>

        <ResponseField name="hasPreviousPage" type="Boolean!" required>
          Whether more items exist before this page (drives backward pagination with `last`/`before`).
        </ResponseField>

        <ResponseField name="startCursor" type="String">
          Cursor of the first edge in this page; pass to `before` to page backward.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

## Example

```graphql theme={null}
query {
  billingBills(after: "...", first: 10) {
    nodes {
      billedAt
      currency
      dueAt
      id
      periodEnd
      periodStart
      status
      type
      # ...
    }
    pageInfo { hasNextPage endCursor }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.