Add invoice position items
Authorizations
Value for the Authorization header parameter.
Path Parameters
Invoice identifier
Body
The name of the position item.
1 - 255
The unit ID of the position item.
The unit price as net amount. It is only allowed to use dots as seperator.
The tax group ID of the position item.
The ID of the position item.
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.
The description of the position item.
1 - 10000
The quantity of the position item. This can be positive or negative.
The currency code of the position item. If not set, the currency code of the invoice will be used.
The service date from of the position item. If not set, it is null and will not be printed.
The service date to of the position item. If not set, it is null and will not be printed.
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).
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).
0 < x < 100
The unit price interval of the position item. If not set, it is null and will not be printed.
The subscription item of the position item.
The product of the position item. This is used to have access to statistics also on manual created invoices.
The children of the position item.
Response
The unique identifier of the invoice.
The customer of the invoice.
The payment method which should be used to fullfill the payment of the invoice.
The referenced invoice of the invoice. This could be in case of a reminder, refund etc.
The type of the invoice.
TYPE_INVOICE
, TYPE_CREDIT
, TYPE_REFUND
, TYPE_REMINDER
, TYPE_CANCEL
, TYPE_DUNNING
The currency code of the invoice. If multiple currency codes will be used in the positions, they will be converted to that base currency.
The document id of the invoice. This will be generated, when the invoice will be finalized.
STATUS_DRAFT
, STATUS_PAID
, STATUS_CANCELLED
, STATUS_REFUNDED
, STATUS_REMINDED
, STATUS_UNPAID
, STATUS_NEW
, STATUS_FINALIZING
reminder
, dunning
, none
The invoice address of the invoice.
The notice of the invoice.
The net amount of the invoice.
The total net discount amount of the invoice.
The positions of the invoice.
The applicated exchange rates of the invoice, fetched from the european central bank.
The einvoice generated xml file format.
The leitwegid used for einvoice. This is only set, when the eInvoiceType is not null.
The earliest service date of all positions.
The latest service date of all positions.
Public url to view the detailed usage breakdown of this invoice.
The referenced cancellation document.
Dunning is disabled for this invoice.
Where the invoice was created from.
Possible values:
cart
: The invoice was created from a cart.subscription
: The invoice was created from a subscription billing run.manual
: The invoice was created by a user.
manual
, subscription
, cart
Was this page helpful?