Skip to main content
inputUpdateIncomingInvoiceCashDiscountLineItemCommandRequestInput

Fields

incomingInvoiceId
ID!
required

The ID of the incoming invoice.

lineItemId
ID!
required

The ID of the line item.

name
String

Description. 1 to 255 characters.

amount
Decimal

The discount for this tax rate as a positive net amount in the invoice currency, greater than 0. The line item then has the quantity 1 and the net unit price minus this amount ("netAmount" is minus this amount). At most 12 digits before the decimal point; larger values are refused (400).

taxRate
Decimal

Tax rate in percent, 0 to 100.

idempotencyKey
String

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.