> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/mutations/create-invoice-line-item.md).

# createInvoiceLineItem

Creates an invoice line item for an invoice.

### Arguments

| Argument                                                                                                                                   | Description                          |
| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------ |
| input ([CreateInvoiceLineItemInput](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/create-invoice-line-item-input.md)!) | Parameters for CreateInvoiceLineItem |

### CreateInvoiceLineItemInput Arguments

| Argument                                                                                                                    | Description                                        |
| --------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| invoiceId ([ID](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/id.md)!)                                  | The ID of the invoice for this item                |
| productId ([ID](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/id.md))                                   | The associated product in case of a product charge |
| lineItemType ([LineItemTypeEnum](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/line-item-type-enum.md)) | Indicates what this line item is charging for      |
| quantity ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md)!)                                 | Quantity for this line item                        |
| description ([String](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/string.md))                         | The description of this invoice line item.         |
| unitPriceCents ([Int](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int.md))                            | Unit price in cents                                |

### Return fields

#### errors (\[[ModelValidationError](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/model-validation-error.md)!]!)

#### invoiceLineItem ([InvoiceLineItem](/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/invoice-line-item.md))
