# createInvoiceLineItem

### Arguments

| Argument                                                                                                                                | Description                          |
| --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
| input ([CreateInvoiceLineItemInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/create-invoice-line-item-input)!) | Parameters for CreateInvoiceLineItem |

### CreateInvoiceLineItemInput Arguments

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

### Return fields

#### errors (\[[ModelValidationError](https://developer.firmhouse.com/graphql-api/api-reference/objects/model-validation-error)!]!)

#### invoiceLineItem ([InvoiceLineItem](https://developer.firmhouse.com/graphql-api/api-reference/objects/invoice-line-item))
