# invoices

### Arguments

| Argument                                                                                                                  | Description                                                                           |
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| invoicedSince ([ISO8601DateTime](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date-time))   | Filter invoices to those that where invoiced since the given datetime.                |
| invoicedUntil ([ISO8601DateTime](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date-time))   | Filter invoices to those that where invoiced until the given datetime.                |
| updatedSince ([ISO8601DateTime](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date-time))    | Filter invoices to those that where updated since the given datetime.                 |
| updatedUntil ([ISO8601DateTime](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date-time))    | Filter invoices to those that where updated until the given datetime.                 |
| subscriptionId ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id))                               | Only list invoices that match the passed in subscription ID.                          |
| paymentTypes (\[[PaymentTypeEnum](https://developer.firmhouse.com/graphql-api/api-reference/objects/payment-type-enum)!]) | Only list invoices with selected payment type. Lists all payment types if none given. |
| statuses (\[[InvoiceStatusEnum](https://developer.firmhouse.com/graphql-api/api-reference/objects/invoice-status-enum)!]) | Filter invoices on given status. Lists all invoices if none given.                    |
| after ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                                | Returns the elements in the list that come after the specified cursor.                |
| before ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))                               | Returns the elements in the list that come before the specified cursor.               |
| first ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))                                      | Returns the first *n* elements from the list.                                         |
| last ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))                                       | Returns the last *n* elements from the list.                                          |

### Return fields

#### edges (\[[InvoiceEdge](https://developer.firmhouse.com/graphql-api/api-reference/objects/invoice-edge)])

A list of edges.

#### nodes (\[[Invoice](https://developer.firmhouse.com/graphql-api/api-reference/objects/invoice)])

A list of nodes.

#### pageInfo ([PageInfo](https://developer.firmhouse.com/graphql-api/api-reference/objects/page-info)!)

Information to aid in pagination.

#### totalCount ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

The total number of items available.
