# UpdateReceiptLineInput

input type

Replace-input for updateReceiptLine.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `receiptId` | [ID](/types/#scalars) `ID!` | yes | The Receipt edited — tenant-scoped + DRAFT. |
| `lineNo` | [Int](/types/#scalars) `Int!` | yes | The line addressed by its stored lineNo (1..1000); a number with no live row refuses NOT_FOUND naming it (removed numbers are never re-used, so the address is unambiguous forever). |
| `line` | [ReceiptLineInput](/types/ReceiptLineInput/) `ReceiptLineInput!` | yes | The replacement line — the same shape, defaults and gates as create; its lineNo is KEPT (the address does not move). |

## Used by

- [updateReceiptLine](/reference/inventory-operations/updateReceiptLine/)
