PUT
/
invoice-position-items
/
{id}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

InvoicePositionItem identifier

Body

name
string
required

The name of the position item.

Required string length: 1 - 255
unitId
any
required

The unit ID of the position item.

unitPrice
any
required

The unit price as net amount. It is only allowed to use dots as seperator.

taxGroupId
string | null
required

The tax group ID of the position item.

id
string

The ID of the position item.

position
integer | null

The position of the position item. If not set, it will be set automatically. The position is used to sort the position items in the invoice.

description
string | null

The description of the position item.

Required string length: 1 - 10000
quantity
number
default:
1

The quantity of the position item. This can be positive or negative.

currencyCode
string | null

The currency code of the position item. If not set, the currency code of the invoice will be used.

serviceDateFrom
string | null

The service date from of the position item. If not set, it is null and will not be printed.

serviceDateTo
string | null

The service date to of the position item. If not set, it is null and will not be printed.

discountAmount
any

The discount amount as net amount needs to be null or a positive money value. This will be subtracted from the unit price amount of the position item (unit price).

discountPercentage
number

The discount percentage needs to be null or a positive value. This will be subtracted from the unit price amount of the position item (unit price).

Required range: 0 < x < 100
unitPriceInterval
string | null

The unit price interval of the position item. If not set, it is null and will not be printed.

subscriptionItem
string | null

The subscription item of the position item.

product
string | null

The product of the position item. This is used to have access to statistics also on manual created invoices.

children
object[]

The children of the position item.

group
object | null

Response

200
application/json
id
string

The unique identifier of the invoice.

customer
object

The customer of the invoice.

paymentMethod
object | null

The payment method which should be used to fullfill the payment of the invoice.

referencedInvoice
object | null

The referenced invoice of the invoice. This could be in case of a reminder, refund etc.