# CreditNoteLineItemInputDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

Input DTO for a credit note line item.

## Fields
- `originalLineItemId` (string(uuid)): The invoice line being credited. When set, the tax is derived from that line at its effective  rate and the credit cannot exceed the line's net plus tax. Leave null for a free-form credit. (nullable)
- `description` (string) required: (nullable, max length 500)
- `quantity` (number(double)): (greater than 0)
- `unitPrice` (number(double)): Price per unit credited. May carry more than two decimals; the line's net is rounded to the cent.
- `taxAmount` (number(double)): Tax credited on this line. Honoured, rounded to the cent and floored at zero, only on a free-form  line; on a line that references an original invoice line it is ignored and derived server-side.
- `lineTotal` (number(double)): Ignored. The persisted line total is always computed server-side and returned on the response.  Kept so existing requests keep deserialising.

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
