UpdateReceiptLineInput
input type
Replace-input for updateReceiptLine.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
receiptId | ID ID! | yes | The Receipt edited — tenant-scoped + DRAFT. |
lineNo | Int 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 ReceiptLineInput! | yes | The replacement line — the same shape, defaults and gates as create; its lineNo is KEPT (the address does not move). |