GET
/
invoice-position-items
/
{id}
curl -X GET \
 /invoice-position-items/{id} \
 --header "Authorization: Bearer <token>"
{
  "id": {},
  "position": 123,
  "quantity": 1,
  "unit": {
    "id": {},
    "name": "Stück"
  },
  "unitPrice": {},
  "netAmount": {},
  "grossAmount": {},
  "taxAmount": {},
  "discountAmount": {},
  "discountPercentage": 10,
  "name": "My subscription product",
  "description": "* my subscription product",
  "taxGroup": {
    "id": "00000000-0000-0000-0000-000000000000",
    "internalDescription": "19%",
    "reverseChargeType": "REVERSE_CHARGE",
    "type": "standard"
  },
  "tax": {
    "id": "00000000-0000-0000-0000-000000000000",
    "description": "19%",
    "code": "19",
    "rate": 19
  },
  "type": "product",
  "parent": {},
  "group": {
    "id": "ad8a3b9e-5b0a-4e1a-9c1a-0b9b2b8b0b0b",
    "ranking": 1,
    "name": "Subscription #12345"
  },
  "createdAt": "2020-01-01T00:00:00+00:00",
  "product": {
    "id": "ad8f1c2c-3b1c-4b0a-8b0a-0b0b0b0b0b0b",
    "name": "Basic",
    "description": "For small teams.",
    "type": "product",
    "invoiceVisibility": "always",
    "customFields": {
      "field1": "value1",
      "field2": "value2"
    }
  },
  "subscriptionItem": {
    "id": "01F9ZQZJZJQZJZJZJZJZJZJZJZ",
    "name": "Fitness M",
    "description": "Everything included",
    "furtherInformation": "Additional agreements: The contract includes a free drink flatrate.",
    "status": "active",
    "subscriptionId": "<string>"
  },
  "serviceDateFrom": "2020-01-01T00:00:00+00:00",
  "serviceDateTo": "2020-01-01T00:00:00+00:00",
  "isCreditable": true,
  "isFullyCredited": true,
  "creditableQuantity": 1
}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

InvoicePositionItem identifier

Response

200
application/json
InvoicePositionItem resource
id
object
position
integer | null

The position of the invoice position item in the invoice. If 0, the item will be added at the end of the invoice.

quantity
object

The quantity of the invoice position item.

unit
object | null

The unit of the invoice position item.

unitPrice
object

The unit price of the invoice position item.

netAmount
object

The net amount of the invoice position item, before discount.

grossAmount
object

The gross amount of the invoice position item, after discount.

taxAmount
object

The tax amount of the invoice position item, after discount.

discountAmount
object

The discount amount of the invoice position item.

discountPercentage
string | null

The discount percentage of the invoice position item. You can either define an amount or a percentage.

discountFixed
object

The fixed applied discount amount of the invoice position item.

name
string

The description of the invoice position item.

description
string | null

The description of the invoice position item.

taxGroup
object

The tax group of the invoice position item. Based on the customer and tax group, the correct tax rate will be calculated.

tax
object | null

The tax of the invoice position item, calculated based on the tax group.

type
enum<string> | null

The type of the invoice position item.

Available options:
product,
discount,
setup,
dunning_fee,
invoice
parent
object | null

The parent invoice position item. Positions can be defined in a tree, with a maximum depth of two.

group
object | null

The invoice position item group. Positions can be grouped together with a headline, which is shown on the invoice.

createdAt
string

The creation date of the invoice position item.

product
object | null
subscriptionItem
object | null
serviceDateFrom
string | null

The service date from of the invoice position item.

serviceDateTo
string | null

The service date to of the invoice position item.

isCreditable
boolean

If the position can be credited.

isFullyCredited
boolean

If the whole position is credited.

creditableQuantity
object

The quantity that can be credited.