Skip to content
Developer

ProductLabel

Billing7 EndpointsBilling / ProductLabel

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/invoice/predefinedbillingitems/label/info/42 \
  --header 'x-iw-jwt-token: <TOKEN>'

Public image endpoint: serves the label of the given type for the product identified by any unique identifier (id, short_identifier, slug, SKU, barcode, import ids). An ECS product is found by both of its import ids, `ecs_118760` and `ecs_{source_system}_item_118760`. A trailing file extension (.png, .jpg, .svg, ...) is ignored, so the URL may look like an image file.

GET/api/invoice/predefinedbillingitems/label/{labelType}/{identifier}

Fallback when the product or its label is missing or not virus checked yet (?fallback=default|transparent|404, default default): the default configured in billing_product_label_default_<labelType> (attachment download link -> file, http(s) URL -> 302), otherwise a transparent 1x1 PNG. 404 only on request.

Path parameters

labelTyperequiredstringenergy_label | garan_label | garan_label_pictogram (aliases: energy, garan, garan_pictogram, pictogram, nested)
identifierrequiredstringAny unique product identifier, an image file extension may be appended

Query parameters

fallbackstringdefault | transparent | 404

Responses

default

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/invoice/predefinedbillingitems/label/42/42 \
  --header 'x-iw-jwt-token: <TOKEN>'

Public: the GARAN pictogram ("nested label") pre-rendered from the official EU template for a given number of years - independent of a product, e.g. for a shop that knows the years itself. `/garan_pictogram/5`, `/garan_pictogram/5.svg`, `/garan_pictogram/10.png`.

GET/api/invoice/product_label/garan_pictogram/{years}

Available for 3, 4, 5, 6, 7, 8, 9, 10, 15 and 20 years; anything else is a 404.

Path parameters

yearsrequiredstringProducer guarantee in whole years (3-10, 15, 20), optional .png or .svg extension

Responses

default

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/invoice/product_label/garan_pictogram/42 \
  --header 'x-iw-jwt-token: <TOKEN>'

Upload (replace) one label of a product. Multipart form `attachment[file]`, optional `attachment[producerGuaranteeYears]` (e.g. "5" or "2,5").

POST/api/attachments/product_labels/{identifier}/{labelType}

Path parameters

identifierrequiredstringAny unique product identifier
labelTyperequiredstringenergy_label | garan_label | garan_label_pictogram

Request body multipart/form-data

  • attachment[file]string (binary)

    Label file: png, jpeg, webp, svg, gif or pdf, max. 20 MB

  • attachment[producerGuaranteeYears]string

    Optional producer guarantee in years, whole or .5 steps

Responses

200Uploads a product label and returns the productPredefinedBillingItem

Show fields (53)
  • idinteger

    Primary key of the mapped billing item. Internal ID.

  • namestringrequired

    Name of the billing item.

  • descriptionstringrequired

    Description of the billing item shown to the customer.

  • internal_descriptionstring

    Internal description of the billing item, not shown to the customer.

  • fixed_hoursnumber (float)

    Fixed number of hours billed.

  • fixed_pricenumber (float)

    Fixed price billed.

  • fixed_price_base_unitnumber (float)

    Base unit for the fixed price.

  • price_fixed_hoursnumber (float)

    Price for the fixed hours.

  • price_additional_hoursnumber (float)

    Price for each additional hour.

  • name_additional_hoursstring

    Name of the additional hours item.

  • description_additional_hoursstring

    Description of the additional hours item.

  • time_billed_on_ticket_closeboolean

    Whether the time is billed when the ticket is closed.

  • billing_typeBillingItemType

    Billing item type.

    Show fields (12)
    • idinteger

      Primary key of the billing item type. Internal ID.

    • namestring

      Name of the billing item type.

    • fixed_price_addon_one_namestring

      Name of the first fixed price addon.

    • fixed_price_addon_two_namestring

      Name of the second fixed price addon.

    • fixed_price_addon_one_name_personstring

      Name of the first fixed price addon for persons.

    • fixed_price_addon_two_name_personstring

      Name of the second fixed price addon for persons.

    • categorystringrequired

      Category of the billing item type.

      Allowed: project subscription bookable event shipping location

    • typestringrequired

      Type of the billing item type.

      Allowed: subscription bookable-hour event-fixed sla hours days fixed internal

    • unitstring

      Unit of the billing item type, for example piece or hour.

    • force_repeatingboolean

      Items of this type always repeat.

    • can_repeatboolean

      Items of this type can repeat.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

  • buying_pricenumber (float)

    Purchase price of the item.

  • recurrenceCRMRecurrence

    Recurrence the billing item follows.

    Show fields (9)
    • idinteger

      Primary key of the recurrence. Internal ID.

    • namestring

      Name of the recurrence, for example monthly.

    • onceboolean

      The recurrence happens only once.

    • allow_partial_on_eq_start_billingboolean

      Allows partial billing if start and billed date are equal. primarily used for the first billing of a yearly contract

    • date_stringstring

      Date pattern of the recurrence as text.

    • tolerancenumber (float)

      Tolerance in days around the recurrence date.

    • deletedboolean

      The recurrence is deleted.

    • rounding_stepsinteger

      Steps used to round the recurrence.

    • month_factorinteger

      Number of months between two recurrences.

  • deletedboolean

    Whether the billing item is deleted.

  • condition_date_afterstring (date-time)

    The item applies only to dates after this date.

  • condition_date_beforestring (date-time)

    The item applies only to dates before this date.

  • condition_country_codestring

    Country code the item applies to.

  • condition_zip_code_fromstring

    Start of the postal code range the item applies to.

  • condition_zip_code_tostring

    End of the postal code range the item applies to.

  • condition_time_after_hourinteger

    The item applies only after this hour of the day.

  • condition_max_lengthinteger

    Maximum length the item applies to.

  • condition_time_before_hourinteger

    The item applies only before this hour of the day.

  • condition_sub_access_tagAccessTag

    Access tag a subscription must have for the item to apply.

    Show fields (6)
    • idinteger

      Primary key of the access tag. Internal ID, used as the reference in access rights.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • namestring

      Name of the entity.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • short_identifierstring

      Short identifier of the entity.

  • condition_show_despite_missing_access_tagboolean

    Whether the item is shown even if the access tag is missing.

  • condition_sub_free_logicstring

    Free-form condition logic for the subscription.

  • fixed_price_logicstring

    Free-form logic that calculates the fixed price.

  • sub_self_service_addboolean

    Whether members can add the subscription themselves.

  • sub_self_service_deleteboolean

    Whether members can cancel the subscription themselves.

  • sub_self_service_add_fixed_pricenumber (float)

    Fixed price charged when members add the subscription themselves.

  • sub_self_service_delete_fixed_pricenumber (float)

    Fixed price charged when members cancel the subscription themselves.

  • sub_pre_paidboolean

    Whether the subscription is paid in advance.

  • sub_only_billed_after_startboolean

    Whether the subscription is only billed after its start date.

  • sub_people_age_group_oneinteger

    Upper age limit of age group one.

  • sub_people_age_group_one_discountinteger

    Discount in percent for age group one.

  • sub_people_age_group_one_freeinteger

    Number of free places for age group one.

  • sub_people_age_group_twointeger

    Upper age limit of age group two.

  • sub_people_age_group_two_discountinteger

    Discount in percent for age group two.

  • sub_people_age_group_two_freeinteger

    Number of free places for age group two.

  • sub_people_age_group_threeinteger

    Upper age limit of age group three.

  • sub_people_age_group_three_discountinteger

    Discount in percent for age group three.

  • sub_people_age_group_three_freeinteger

    Number of free places for age group three.

  • sub_people_age_group_fourinteger

    Upper age limit of age group four.

  • sub_people_age_group_four_discountinteger

    Discount in percent for age group four.

  • sub_people_age_group_four_freeinteger

    Number of free places for age group four.

  • price_is_bruttoboolean

    Whether the prices are gross prices including tax.

  • skustring

    Artikelnummer (Stock Keeping Unit)

  • barcodestring

    Barcode (ISBN, UPC, GTIN usw.)

  • baseBookableBaseBookable3
    Show fields (50)
    • ticketSeatingPlanIdinteger

      Id of the seating plan of the room, also for the public serialization.

    • idinteger

      Primary key of the bookable. Internal ID.

    • tokenstring

      Public token of the bookable. Used in links instead of the ID.

    • bookable_typestring

      Type of the bookable, for example room, court or vehicle.

    • floor_levelstring

      Floor the bookable is on.

    • floor_sizeinteger

      Floor size in square meters.

    • pets_allowedboolean

      Pets are allowed.

    • barrier_freeboolean

      The bookable is barrier-free.

    • cargo_volumeinteger

      Cargo volume in liters.

    • fuel_typestring

      Fuel type of the vehicle.

    • seating_capacityinteger

      Number of seats.

    • has_wait_listboolean

      The bookable has a waiting list once it is fully booked.

    • booking_limitinteger

      Maximum number of bookings.

    • billing_modestring

      How bookings on this bookable are billed: BILLING_MODE_UPFRONT (null = upfront, invoice at booking time) or BILLING_MODE_USAGE (free reservation, deferred billing from real usage data) Also in Default: the member app shows "Nutzung erfassen" only for usage-billed bookables.

    • max_active_bookings_per_userinteger

      Maximum number of active (future, not cancelled) self-service bookings one person may hold on this bookable at the same time. Null = unlimited. Admin bookings are not limited.

    • max_advance_booking_hoursinteger

      Maximum number of hours a self-service booking may start in the future. Null = unlimited. Admin bookings are not limited.

    • inventory_managedboolean

      Kept as inventory (Inventar-Ausleihe): the office hands the item over and takes it back, with deposit and reminders. Only used while the setting event_inventory_enabled is on.

    • inventory_depositnumber (float)

      Deposit (Kaution) per piece asked on hand-over. Null = no deposit.

    • require_addressboolean

      The address must be entered when booking.

    • require_contactboolean

      Contact details must be entered when booking.

    • require_billingboolean

      Billing details must be entered when booking.

    • require_booking_titleboolean

      A title must be entered when booking.

    • allow_direct_billingboolean
    • require_ageboolean

      The age must be entered when booking.

    • counter_update_modestring

      How the usage counters of the bookable are updated.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • addressstring

      Address as text.

    • address_streetstring

      Street of the address.

    • address_house_numberstring

      House number of the address.

    • address_street_levelstring

      Street and house number of the address.

    • address_costring

      Care-of line of the address.

    • address_citystring

      City of the address.

    • address_zipstring

      Postal code of the address.

    • address_admin_level1string

      First administrative level of the address, e.g. the federal state.

    • address_countrystring

      Country code of the address.

    • address_full_countrystring

      Full name of the country of the address.

    • address_geo_latstring

      Latitude of the address.

    • address_geo_lngstring

      Longitude of the address.

    • address_external_provider_idstring

      field to store the external provider id of the address. e.g. Google Maps PlaceID like google:ChIJVcKw5r90sEcRhdjNq6NItqE

    • main_phonestring

      Main phone number.

    • main_faxstring

      Main fax number.

    • main_emailstring

      Main e-mail address.

    • websitestring

      Website address.

    • namestring

      Name of the entity.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • short_identifierstring

      Short identifier of the entity.

    • image_urlstring

      URL of the image of the entity.

    • slug_identifierstring

      Slug used in URLs of the entity.

    • ucatsarray<UnifiedCategory16>

      Unified categories of the entity.

  • secondaryBaseBookableBaseBookable3
    Show fields (50)
    • ticketSeatingPlanIdinteger

      Id of the seating plan of the room, also for the public serialization.

    • idinteger

      Primary key of the bookable. Internal ID.

    • tokenstring

      Public token of the bookable. Used in links instead of the ID.

    • bookable_typestring

      Type of the bookable, for example room, court or vehicle.

    • floor_levelstring

      Floor the bookable is on.

    • floor_sizeinteger

      Floor size in square meters.

    • pets_allowedboolean

      Pets are allowed.

    • barrier_freeboolean

      The bookable is barrier-free.

    • cargo_volumeinteger

      Cargo volume in liters.

    • fuel_typestring

      Fuel type of the vehicle.

    • seating_capacityinteger

      Number of seats.

    • has_wait_listboolean

      The bookable has a waiting list once it is fully booked.

    • booking_limitinteger

      Maximum number of bookings.

    • billing_modestring

      How bookings on this bookable are billed: BILLING_MODE_UPFRONT (null = upfront, invoice at booking time) or BILLING_MODE_USAGE (free reservation, deferred billing from real usage data) Also in Default: the member app shows "Nutzung erfassen" only for usage-billed bookables.

    • max_active_bookings_per_userinteger

      Maximum number of active (future, not cancelled) self-service bookings one person may hold on this bookable at the same time. Null = unlimited. Admin bookings are not limited.

    • max_advance_booking_hoursinteger

      Maximum number of hours a self-service booking may start in the future. Null = unlimited. Admin bookings are not limited.

    • inventory_managedboolean

      Kept as inventory (Inventar-Ausleihe): the office hands the item over and takes it back, with deposit and reminders. Only used while the setting event_inventory_enabled is on.

    • inventory_depositnumber (float)

      Deposit (Kaution) per piece asked on hand-over. Null = no deposit.

    • require_addressboolean

      The address must be entered when booking.

    • require_contactboolean

      Contact details must be entered when booking.

    • require_billingboolean

      Billing details must be entered when booking.

    • require_booking_titleboolean

      A title must be entered when booking.

    • allow_direct_billingboolean
    • require_ageboolean

      The age must be entered when booking.

    • counter_update_modestring

      How the usage counters of the bookable are updated.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • addressstring

      Address as text.

    • address_streetstring

      Street of the address.

    • address_house_numberstring

      House number of the address.

    • address_street_levelstring

      Street and house number of the address.

    • address_costring

      Care-of line of the address.

    • address_citystring

      City of the address.

    • address_zipstring

      Postal code of the address.

    • address_admin_level1string

      First administrative level of the address, e.g. the federal state.

    • address_countrystring

      Country code of the address.

    • address_full_countrystring

      Full name of the country of the address.

    • address_geo_latstring

      Latitude of the address.

    • address_geo_lngstring

      Longitude of the address.

    • address_external_provider_idstring

      field to store the external provider id of the address. e.g. Google Maps PlaceID like google:ChIJVcKw5r90sEcRhdjNq6NItqE

    • main_phonestring

      Main phone number.

    • main_faxstring

      Main fax number.

    • main_emailstring

      Main e-mail address.

    • websitestring

      Website address.

    • namestring

      Name of the entity.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • short_identifierstring

      Short identifier of the entity.

    • image_urlstring

      URL of the image of the entity.

    • slug_identifierstring

      Slug used in URLs of the entity.

    • ucatsarray<UnifiedCategory16>

      Unified categories of the entity.

  • baseEventBaseEvent7
    Show fields (22)
    • ticketSeatingPlanIdinteger

      Id of the seating plan, also for the public and the customer serialization.

    • bib_numbers_enabledboolean
    • timing_enabledboolean
    • baseBookableBaseBookable3
    • secondaryBaseBookableBaseBookable3
    • idinteger

      Primary key of the event. Internal ID.

    • tokenstring

      Public token of the event. Used in links and QR codes instead of the ID.

    • moments_modestring

      Controls the event moments (digital guestbook) feature: DISABLED = feature off, PARTICIPANTS_ONLY = only via participant-bound moments tokens, ALL = additionally open via the anonymous event moments token

    • moments_designstring

      Visual theme of the moments (digital guestbook) pages and exports.

    • public_keywordsstring

      Keywords shown in the public event listing.

    • public_subtitlestring

      Subtitle shown in the public event listing.

    • event_typestring

      Type of the event, for example course, trip or tournament.

    • age_groupstring

      Age group the event is intended for, for example children or adults.

    • min_ageinteger

      Minimum age in years of participants.

    • max_ageinteger

      Maximum age in years of participants.

    • min_age_monthsinteger

      Minimum age in months of participants, for events for infants.

    • max_age_monthsinteger

      Maximum age in months of participants, for events for infants.

    • min_grade_levelinteger

      Minimum school grade level of participants.

    • max_grade_levelinteger

      Maximum school grade level of participants.

    • age_toleranceinteger

      Years by which participants may be outside the age range and still sign up.

    • event_people_limitinteger

      maximum number of people that can attend the event

    • … 78 more fields
  • … 45 more fields
Request
curl --request POST \
  --url https://your-instance.iw-erp.de/api/attachments/product_labels/42/42 \
  --header 'content-type: multipart/form-data' \
  --header 'x-iw-jwt-token: <TOKEN>' \
  --form attachment[file]='@datei.pdf'
Response 200 application/json
{
  "name": "Beispiel",
  "description": "Text",
  "id": 42,
  "internal_description": "Text",
  "fixed_hours": 1.5,
  "fixed_price": 49.9,
  "fixed_price_base_unit": 49.9,
  "price_fixed_hours": 49.9,
  "price_additional_hours": 49.9,
  "name_additional_hours": "string"
}

Auto match upload: the file name names the product (SKU, EAN / barcode, short identifier, ...) and optionally the label type (`..._piktogramm.png`, default `attachment[labelType]`, otherwise the GARAN label). The label is linked when exactly one product matches and it has no uploaded label of this type yet - an existing label is never replaced. Business outcomes (no product, ambiguous, label exists, invalid file) are answered with 200 and a status.

POST/api/attachments/product_labels/auto_match

Multipart form attachment[file], optional attachment[labelType].

Request body multipart/form-data

  • attachment[file]string (binary)

    Label file named after the product: png, jpeg, webp, svg, gif or pdf, max. 20 MB

  • attachment[labelType]string

    Label type when the file name does not name one: energy_label | garan_label | garan_label_pictogram (default garan_label)

Responses

200Match result: filename, status (linked | label_exists | not_found | ambiguous | error), matched, label_type, product_id, product_name, candidates, messageobject

Request
curl --request POST \
  --url https://your-instance.iw-erp.de/api/attachments/product_labels/auto_match \
  --header 'content-type: multipart/form-data' \
  --header 'x-iw-jwt-token: <TOKEN>' \
  --form attachment[file]='@datei.pdf'
Response 200 application/json
{}

Upload (replace) one label of a product. Multipart form `attachment[file]`, optional `attachment[producerGuaranteeYears]` (e.g. "5" or "2,5").

POST/api/invoice/predefinedbillingitems/{identifier}/label/{labelType}

Path parameters

identifierrequiredstringAny unique product identifier
labelTyperequiredstringenergy_label | garan_label | garan_label_pictogram

Request body multipart/form-data

  • attachment[file]string (binary)

    Label file: png, jpeg, webp, svg, gif or pdf, max. 20 MB

  • attachment[producerGuaranteeYears]string

    Optional producer guarantee in years, whole or .5 steps

Responses

200Uploads a product label and returns the productPredefinedBillingItem

Show fields (53)
  • idinteger

    Primary key of the mapped billing item. Internal ID.

  • namestringrequired

    Name of the billing item.

  • descriptionstringrequired

    Description of the billing item shown to the customer.

  • internal_descriptionstring

    Internal description of the billing item, not shown to the customer.

  • fixed_hoursnumber (float)

    Fixed number of hours billed.

  • fixed_pricenumber (float)

    Fixed price billed.

  • fixed_price_base_unitnumber (float)

    Base unit for the fixed price.

  • price_fixed_hoursnumber (float)

    Price for the fixed hours.

  • price_additional_hoursnumber (float)

    Price for each additional hour.

  • name_additional_hoursstring

    Name of the additional hours item.

  • description_additional_hoursstring

    Description of the additional hours item.

  • time_billed_on_ticket_closeboolean

    Whether the time is billed when the ticket is closed.

  • billing_typeBillingItemType

    Billing item type.

    Show fields (12)
    • idinteger

      Primary key of the billing item type. Internal ID.

    • namestring

      Name of the billing item type.

    • fixed_price_addon_one_namestring

      Name of the first fixed price addon.

    • fixed_price_addon_two_namestring

      Name of the second fixed price addon.

    • fixed_price_addon_one_name_personstring

      Name of the first fixed price addon for persons.

    • fixed_price_addon_two_name_personstring

      Name of the second fixed price addon for persons.

    • categorystringrequired

      Category of the billing item type.

      Allowed: project subscription bookable event shipping location

    • typestringrequired

      Type of the billing item type.

      Allowed: subscription bookable-hour event-fixed sla hours days fixed internal

    • unitstring

      Unit of the billing item type, for example piece or hour.

    • force_repeatingboolean

      Items of this type always repeat.

    • can_repeatboolean

      Items of this type can repeat.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

  • buying_pricenumber (float)

    Purchase price of the item.

  • recurrenceCRMRecurrence

    Recurrence the billing item follows.

    Show fields (9)
    • idinteger

      Primary key of the recurrence. Internal ID.

    • namestring

      Name of the recurrence, for example monthly.

    • onceboolean

      The recurrence happens only once.

    • allow_partial_on_eq_start_billingboolean

      Allows partial billing if start and billed date are equal. primarily used for the first billing of a yearly contract

    • date_stringstring

      Date pattern of the recurrence as text.

    • tolerancenumber (float)

      Tolerance in days around the recurrence date.

    • deletedboolean

      The recurrence is deleted.

    • rounding_stepsinteger

      Steps used to round the recurrence.

    • month_factorinteger

      Number of months between two recurrences.

  • deletedboolean

    Whether the billing item is deleted.

  • condition_date_afterstring (date-time)

    The item applies only to dates after this date.

  • condition_date_beforestring (date-time)

    The item applies only to dates before this date.

  • condition_country_codestring

    Country code the item applies to.

  • condition_zip_code_fromstring

    Start of the postal code range the item applies to.

  • condition_zip_code_tostring

    End of the postal code range the item applies to.

  • condition_time_after_hourinteger

    The item applies only after this hour of the day.

  • condition_max_lengthinteger

    Maximum length the item applies to.

  • condition_time_before_hourinteger

    The item applies only before this hour of the day.

  • condition_sub_access_tagAccessTag

    Access tag a subscription must have for the item to apply.

    Show fields (6)
    • idinteger

      Primary key of the access tag. Internal ID, used as the reference in access rights.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • namestring

      Name of the entity.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • short_identifierstring

      Short identifier of the entity.

  • condition_show_despite_missing_access_tagboolean

    Whether the item is shown even if the access tag is missing.

  • condition_sub_free_logicstring

    Free-form condition logic for the subscription.

  • fixed_price_logicstring

    Free-form logic that calculates the fixed price.

  • sub_self_service_addboolean

    Whether members can add the subscription themselves.

  • sub_self_service_deleteboolean

    Whether members can cancel the subscription themselves.

  • sub_self_service_add_fixed_pricenumber (float)

    Fixed price charged when members add the subscription themselves.

  • sub_self_service_delete_fixed_pricenumber (float)

    Fixed price charged when members cancel the subscription themselves.

  • sub_pre_paidboolean

    Whether the subscription is paid in advance.

  • sub_only_billed_after_startboolean

    Whether the subscription is only billed after its start date.

  • sub_people_age_group_oneinteger

    Upper age limit of age group one.

  • sub_people_age_group_one_discountinteger

    Discount in percent for age group one.

  • sub_people_age_group_one_freeinteger

    Number of free places for age group one.

  • sub_people_age_group_twointeger

    Upper age limit of age group two.

  • sub_people_age_group_two_discountinteger

    Discount in percent for age group two.

  • sub_people_age_group_two_freeinteger

    Number of free places for age group two.

  • sub_people_age_group_threeinteger

    Upper age limit of age group three.

  • sub_people_age_group_three_discountinteger

    Discount in percent for age group three.

  • sub_people_age_group_three_freeinteger

    Number of free places for age group three.

  • sub_people_age_group_fourinteger

    Upper age limit of age group four.

  • sub_people_age_group_four_discountinteger

    Discount in percent for age group four.

  • sub_people_age_group_four_freeinteger

    Number of free places for age group four.

  • price_is_bruttoboolean

    Whether the prices are gross prices including tax.

  • skustring

    Artikelnummer (Stock Keeping Unit)

  • barcodestring

    Barcode (ISBN, UPC, GTIN usw.)

  • baseBookableBaseBookable3
    Show fields (50)
    • ticketSeatingPlanIdinteger

      Id of the seating plan of the room, also for the public serialization.

    • idinteger

      Primary key of the bookable. Internal ID.

    • tokenstring

      Public token of the bookable. Used in links instead of the ID.

    • bookable_typestring

      Type of the bookable, for example room, court or vehicle.

    • floor_levelstring

      Floor the bookable is on.

    • floor_sizeinteger

      Floor size in square meters.

    • pets_allowedboolean

      Pets are allowed.

    • barrier_freeboolean

      The bookable is barrier-free.

    • cargo_volumeinteger

      Cargo volume in liters.

    • fuel_typestring

      Fuel type of the vehicle.

    • seating_capacityinteger

      Number of seats.

    • has_wait_listboolean

      The bookable has a waiting list once it is fully booked.

    • booking_limitinteger

      Maximum number of bookings.

    • billing_modestring

      How bookings on this bookable are billed: BILLING_MODE_UPFRONT (null = upfront, invoice at booking time) or BILLING_MODE_USAGE (free reservation, deferred billing from real usage data) Also in Default: the member app shows "Nutzung erfassen" only for usage-billed bookables.

    • max_active_bookings_per_userinteger

      Maximum number of active (future, not cancelled) self-service bookings one person may hold on this bookable at the same time. Null = unlimited. Admin bookings are not limited.

    • max_advance_booking_hoursinteger

      Maximum number of hours a self-service booking may start in the future. Null = unlimited. Admin bookings are not limited.

    • inventory_managedboolean

      Kept as inventory (Inventar-Ausleihe): the office hands the item over and takes it back, with deposit and reminders. Only used while the setting event_inventory_enabled is on.

    • inventory_depositnumber (float)

      Deposit (Kaution) per piece asked on hand-over. Null = no deposit.

    • require_addressboolean

      The address must be entered when booking.

    • require_contactboolean

      Contact details must be entered when booking.

    • require_billingboolean

      Billing details must be entered when booking.

    • require_booking_titleboolean

      A title must be entered when booking.

    • allow_direct_billingboolean
    • require_ageboolean

      The age must be entered when booking.

    • counter_update_modestring

      How the usage counters of the bookable are updated.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • addressstring

      Address as text.

    • address_streetstring

      Street of the address.

    • address_house_numberstring

      House number of the address.

    • address_street_levelstring

      Street and house number of the address.

    • address_costring

      Care-of line of the address.

    • address_citystring

      City of the address.

    • address_zipstring

      Postal code of the address.

    • address_admin_level1string

      First administrative level of the address, e.g. the federal state.

    • address_countrystring

      Country code of the address.

    • address_full_countrystring

      Full name of the country of the address.

    • address_geo_latstring

      Latitude of the address.

    • address_geo_lngstring

      Longitude of the address.

    • address_external_provider_idstring

      field to store the external provider id of the address. e.g. Google Maps PlaceID like google:ChIJVcKw5r90sEcRhdjNq6NItqE

    • main_phonestring

      Main phone number.

    • main_faxstring

      Main fax number.

    • main_emailstring

      Main e-mail address.

    • websitestring

      Website address.

    • namestring

      Name of the entity.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • short_identifierstring

      Short identifier of the entity.

    • image_urlstring

      URL of the image of the entity.

    • slug_identifierstring

      Slug used in URLs of the entity.

    • ucatsarray<UnifiedCategory16>

      Unified categories of the entity.

  • secondaryBaseBookableBaseBookable3
    Show fields (50)
    • ticketSeatingPlanIdinteger

      Id of the seating plan of the room, also for the public serialization.

    • idinteger

      Primary key of the bookable. Internal ID.

    • tokenstring

      Public token of the bookable. Used in links instead of the ID.

    • bookable_typestring

      Type of the bookable, for example room, court or vehicle.

    • floor_levelstring

      Floor the bookable is on.

    • floor_sizeinteger

      Floor size in square meters.

    • pets_allowedboolean

      Pets are allowed.

    • barrier_freeboolean

      The bookable is barrier-free.

    • cargo_volumeinteger

      Cargo volume in liters.

    • fuel_typestring

      Fuel type of the vehicle.

    • seating_capacityinteger

      Number of seats.

    • has_wait_listboolean

      The bookable has a waiting list once it is fully booked.

    • booking_limitinteger

      Maximum number of bookings.

    • billing_modestring

      How bookings on this bookable are billed: BILLING_MODE_UPFRONT (null = upfront, invoice at booking time) or BILLING_MODE_USAGE (free reservation, deferred billing from real usage data) Also in Default: the member app shows "Nutzung erfassen" only for usage-billed bookables.

    • max_active_bookings_per_userinteger

      Maximum number of active (future, not cancelled) self-service bookings one person may hold on this bookable at the same time. Null = unlimited. Admin bookings are not limited.

    • max_advance_booking_hoursinteger

      Maximum number of hours a self-service booking may start in the future. Null = unlimited. Admin bookings are not limited.

    • inventory_managedboolean

      Kept as inventory (Inventar-Ausleihe): the office hands the item over and takes it back, with deposit and reminders. Only used while the setting event_inventory_enabled is on.

    • inventory_depositnumber (float)

      Deposit (Kaution) per piece asked on hand-over. Null = no deposit.

    • require_addressboolean

      The address must be entered when booking.

    • require_contactboolean

      Contact details must be entered when booking.

    • require_billingboolean

      Billing details must be entered when booking.

    • require_booking_titleboolean

      A title must be entered when booking.

    • allow_direct_billingboolean
    • require_ageboolean

      The age must be entered when booking.

    • counter_update_modestring

      How the usage counters of the bookable are updated.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • addressstring

      Address as text.

    • address_streetstring

      Street of the address.

    • address_house_numberstring

      House number of the address.

    • address_street_levelstring

      Street and house number of the address.

    • address_costring

      Care-of line of the address.

    • address_citystring

      City of the address.

    • address_zipstring

      Postal code of the address.

    • address_admin_level1string

      First administrative level of the address, e.g. the federal state.

    • address_countrystring

      Country code of the address.

    • address_full_countrystring

      Full name of the country of the address.

    • address_geo_latstring

      Latitude of the address.

    • address_geo_lngstring

      Longitude of the address.

    • address_external_provider_idstring

      field to store the external provider id of the address. e.g. Google Maps PlaceID like google:ChIJVcKw5r90sEcRhdjNq6NItqE

    • main_phonestring

      Main phone number.

    • main_faxstring

      Main fax number.

    • main_emailstring

      Main e-mail address.

    • websitestring

      Website address.

    • namestring

      Name of the entity.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • short_identifierstring

      Short identifier of the entity.

    • image_urlstring

      URL of the image of the entity.

    • slug_identifierstring

      Slug used in URLs of the entity.

    • ucatsarray<UnifiedCategory16>

      Unified categories of the entity.

  • baseEventBaseEvent7
    Show fields (22)
    • ticketSeatingPlanIdinteger

      Id of the seating plan, also for the public and the customer serialization.

    • bib_numbers_enabledboolean
    • timing_enabledboolean
    • baseBookableBaseBookable3
    • secondaryBaseBookableBaseBookable3
    • idinteger

      Primary key of the event. Internal ID.

    • tokenstring

      Public token of the event. Used in links and QR codes instead of the ID.

    • moments_modestring

      Controls the event moments (digital guestbook) feature: DISABLED = feature off, PARTICIPANTS_ONLY = only via participant-bound moments tokens, ALL = additionally open via the anonymous event moments token

    • moments_designstring

      Visual theme of the moments (digital guestbook) pages and exports.

    • public_keywordsstring

      Keywords shown in the public event listing.

    • public_subtitlestring

      Subtitle shown in the public event listing.

    • event_typestring

      Type of the event, for example course, trip or tournament.

    • age_groupstring

      Age group the event is intended for, for example children or adults.

    • min_ageinteger

      Minimum age in years of participants.

    • max_ageinteger

      Maximum age in years of participants.

    • min_age_monthsinteger

      Minimum age in months of participants, for events for infants.

    • max_age_monthsinteger

      Maximum age in months of participants, for events for infants.

    • min_grade_levelinteger

      Minimum school grade level of participants.

    • max_grade_levelinteger

      Maximum school grade level of participants.

    • age_toleranceinteger

      Years by which participants may be outside the age range and still sign up.

    • event_people_limitinteger

      maximum number of people that can attend the event

    • … 78 more fields
  • … 45 more fields
Request
curl --request POST \
  --url https://your-instance.iw-erp.de/api/invoice/predefinedbillingitems/42/label/42 \
  --header 'content-type: multipart/form-data' \
  --header 'x-iw-jwt-token: <TOKEN>' \
  --form attachment[file]='@datei.pdf'
Response 200 application/json
{
  "name": "Beispiel",
  "description": "Text",
  "id": 42,
  "internal_description": "Text",
  "fixed_hours": 1.5,
  "fixed_price": 49.9,
  "fixed_price_base_unit": 49.9,
  "price_fixed_hours": 49.9,
  "price_additional_hours": 49.9,
  "name_additional_hours": "string"
}

Remove one label of a product (file and attachment are deleted).

DELETE/api/invoice/predefinedbillingitems/{identifier}/label/{labelType}

Path parameters

identifierrequiredstringAny unique product identifier
labelTyperequiredstringenergy_label | garan_label | garan_label_pictogram

Responses

200Removes a product label and returns the productPredefinedBillingItem

Show fields (53)
  • idinteger

    Primary key of the mapped billing item. Internal ID.

  • namestringrequired

    Name of the billing item.

  • descriptionstringrequired

    Description of the billing item shown to the customer.

  • internal_descriptionstring

    Internal description of the billing item, not shown to the customer.

  • fixed_hoursnumber (float)

    Fixed number of hours billed.

  • fixed_pricenumber (float)

    Fixed price billed.

  • fixed_price_base_unitnumber (float)

    Base unit for the fixed price.

  • price_fixed_hoursnumber (float)

    Price for the fixed hours.

  • price_additional_hoursnumber (float)

    Price for each additional hour.

  • name_additional_hoursstring

    Name of the additional hours item.

  • description_additional_hoursstring

    Description of the additional hours item.

  • time_billed_on_ticket_closeboolean

    Whether the time is billed when the ticket is closed.

  • billing_typeBillingItemType

    Billing item type.

    Show fields (12)
    • idinteger

      Primary key of the billing item type. Internal ID.

    • namestring

      Name of the billing item type.

    • fixed_price_addon_one_namestring

      Name of the first fixed price addon.

    • fixed_price_addon_two_namestring

      Name of the second fixed price addon.

    • fixed_price_addon_one_name_personstring

      Name of the first fixed price addon for persons.

    • fixed_price_addon_two_name_personstring

      Name of the second fixed price addon for persons.

    • categorystringrequired

      Category of the billing item type.

      Allowed: project subscription bookable event shipping location

    • typestringrequired

      Type of the billing item type.

      Allowed: subscription bookable-hour event-fixed sla hours days fixed internal

    • unitstring

      Unit of the billing item type, for example piece or hour.

    • force_repeatingboolean

      Items of this type always repeat.

    • can_repeatboolean

      Items of this type can repeat.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

  • buying_pricenumber (float)

    Purchase price of the item.

  • recurrenceCRMRecurrence

    Recurrence the billing item follows.

    Show fields (9)
    • idinteger

      Primary key of the recurrence. Internal ID.

    • namestring

      Name of the recurrence, for example monthly.

    • onceboolean

      The recurrence happens only once.

    • allow_partial_on_eq_start_billingboolean

      Allows partial billing if start and billed date are equal. primarily used for the first billing of a yearly contract

    • date_stringstring

      Date pattern of the recurrence as text.

    • tolerancenumber (float)

      Tolerance in days around the recurrence date.

    • deletedboolean

      The recurrence is deleted.

    • rounding_stepsinteger

      Steps used to round the recurrence.

    • month_factorinteger

      Number of months between two recurrences.

  • deletedboolean

    Whether the billing item is deleted.

  • condition_date_afterstring (date-time)

    The item applies only to dates after this date.

  • condition_date_beforestring (date-time)

    The item applies only to dates before this date.

  • condition_country_codestring

    Country code the item applies to.

  • condition_zip_code_fromstring

    Start of the postal code range the item applies to.

  • condition_zip_code_tostring

    End of the postal code range the item applies to.

  • condition_time_after_hourinteger

    The item applies only after this hour of the day.

  • condition_max_lengthinteger

    Maximum length the item applies to.

  • condition_time_before_hourinteger

    The item applies only before this hour of the day.

  • condition_sub_access_tagAccessTag

    Access tag a subscription must have for the item to apply.

    Show fields (6)
    • idinteger

      Primary key of the access tag. Internal ID, used as the reference in access rights.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • namestring

      Name of the entity.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • short_identifierstring

      Short identifier of the entity.

  • condition_show_despite_missing_access_tagboolean

    Whether the item is shown even if the access tag is missing.

  • condition_sub_free_logicstring

    Free-form condition logic for the subscription.

  • fixed_price_logicstring

    Free-form logic that calculates the fixed price.

  • sub_self_service_addboolean

    Whether members can add the subscription themselves.

  • sub_self_service_deleteboolean

    Whether members can cancel the subscription themselves.

  • sub_self_service_add_fixed_pricenumber (float)

    Fixed price charged when members add the subscription themselves.

  • sub_self_service_delete_fixed_pricenumber (float)

    Fixed price charged when members cancel the subscription themselves.

  • sub_pre_paidboolean

    Whether the subscription is paid in advance.

  • sub_only_billed_after_startboolean

    Whether the subscription is only billed after its start date.

  • sub_people_age_group_oneinteger

    Upper age limit of age group one.

  • sub_people_age_group_one_discountinteger

    Discount in percent for age group one.

  • sub_people_age_group_one_freeinteger

    Number of free places for age group one.

  • sub_people_age_group_twointeger

    Upper age limit of age group two.

  • sub_people_age_group_two_discountinteger

    Discount in percent for age group two.

  • sub_people_age_group_two_freeinteger

    Number of free places for age group two.

  • sub_people_age_group_threeinteger

    Upper age limit of age group three.

  • sub_people_age_group_three_discountinteger

    Discount in percent for age group three.

  • sub_people_age_group_three_freeinteger

    Number of free places for age group three.

  • sub_people_age_group_fourinteger

    Upper age limit of age group four.

  • sub_people_age_group_four_discountinteger

    Discount in percent for age group four.

  • sub_people_age_group_four_freeinteger

    Number of free places for age group four.

  • price_is_bruttoboolean

    Whether the prices are gross prices including tax.

  • skustring

    Artikelnummer (Stock Keeping Unit)

  • barcodestring

    Barcode (ISBN, UPC, GTIN usw.)

  • baseBookableBaseBookable3
    Show fields (50)
    • ticketSeatingPlanIdinteger

      Id of the seating plan of the room, also for the public serialization.

    • idinteger

      Primary key of the bookable. Internal ID.

    • tokenstring

      Public token of the bookable. Used in links instead of the ID.

    • bookable_typestring

      Type of the bookable, for example room, court or vehicle.

    • floor_levelstring

      Floor the bookable is on.

    • floor_sizeinteger

      Floor size in square meters.

    • pets_allowedboolean

      Pets are allowed.

    • barrier_freeboolean

      The bookable is barrier-free.

    • cargo_volumeinteger

      Cargo volume in liters.

    • fuel_typestring

      Fuel type of the vehicle.

    • seating_capacityinteger

      Number of seats.

    • has_wait_listboolean

      The bookable has a waiting list once it is fully booked.

    • booking_limitinteger

      Maximum number of bookings.

    • billing_modestring

      How bookings on this bookable are billed: BILLING_MODE_UPFRONT (null = upfront, invoice at booking time) or BILLING_MODE_USAGE (free reservation, deferred billing from real usage data) Also in Default: the member app shows "Nutzung erfassen" only for usage-billed bookables.

    • max_active_bookings_per_userinteger

      Maximum number of active (future, not cancelled) self-service bookings one person may hold on this bookable at the same time. Null = unlimited. Admin bookings are not limited.

    • max_advance_booking_hoursinteger

      Maximum number of hours a self-service booking may start in the future. Null = unlimited. Admin bookings are not limited.

    • inventory_managedboolean

      Kept as inventory (Inventar-Ausleihe): the office hands the item over and takes it back, with deposit and reminders. Only used while the setting event_inventory_enabled is on.

    • inventory_depositnumber (float)

      Deposit (Kaution) per piece asked on hand-over. Null = no deposit.

    • require_addressboolean

      The address must be entered when booking.

    • require_contactboolean

      Contact details must be entered when booking.

    • require_billingboolean

      Billing details must be entered when booking.

    • require_booking_titleboolean

      A title must be entered when booking.

    • allow_direct_billingboolean
    • require_ageboolean

      The age must be entered when booking.

    • counter_update_modestring

      How the usage counters of the bookable are updated.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • addressstring

      Address as text.

    • address_streetstring

      Street of the address.

    • address_house_numberstring

      House number of the address.

    • address_street_levelstring

      Street and house number of the address.

    • address_costring

      Care-of line of the address.

    • address_citystring

      City of the address.

    • address_zipstring

      Postal code of the address.

    • address_admin_level1string

      First administrative level of the address, e.g. the federal state.

    • address_countrystring

      Country code of the address.

    • address_full_countrystring

      Full name of the country of the address.

    • address_geo_latstring

      Latitude of the address.

    • address_geo_lngstring

      Longitude of the address.

    • address_external_provider_idstring

      field to store the external provider id of the address. e.g. Google Maps PlaceID like google:ChIJVcKw5r90sEcRhdjNq6NItqE

    • main_phonestring

      Main phone number.

    • main_faxstring

      Main fax number.

    • main_emailstring

      Main e-mail address.

    • websitestring

      Website address.

    • namestring

      Name of the entity.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • short_identifierstring

      Short identifier of the entity.

    • image_urlstring

      URL of the image of the entity.

    • slug_identifierstring

      Slug used in URLs of the entity.

    • ucatsarray<UnifiedCategory16>

      Unified categories of the entity.

  • secondaryBaseBookableBaseBookable3
    Show fields (50)
    • ticketSeatingPlanIdinteger

      Id of the seating plan of the room, also for the public serialization.

    • idinteger

      Primary key of the bookable. Internal ID.

    • tokenstring

      Public token of the bookable. Used in links instead of the ID.

    • bookable_typestring

      Type of the bookable, for example room, court or vehicle.

    • floor_levelstring

      Floor the bookable is on.

    • floor_sizeinteger

      Floor size in square meters.

    • pets_allowedboolean

      Pets are allowed.

    • barrier_freeboolean

      The bookable is barrier-free.

    • cargo_volumeinteger

      Cargo volume in liters.

    • fuel_typestring

      Fuel type of the vehicle.

    • seating_capacityinteger

      Number of seats.

    • has_wait_listboolean

      The bookable has a waiting list once it is fully booked.

    • booking_limitinteger

      Maximum number of bookings.

    • billing_modestring

      How bookings on this bookable are billed: BILLING_MODE_UPFRONT (null = upfront, invoice at booking time) or BILLING_MODE_USAGE (free reservation, deferred billing from real usage data) Also in Default: the member app shows "Nutzung erfassen" only for usage-billed bookables.

    • max_active_bookings_per_userinteger

      Maximum number of active (future, not cancelled) self-service bookings one person may hold on this bookable at the same time. Null = unlimited. Admin bookings are not limited.

    • max_advance_booking_hoursinteger

      Maximum number of hours a self-service booking may start in the future. Null = unlimited. Admin bookings are not limited.

    • inventory_managedboolean

      Kept as inventory (Inventar-Ausleihe): the office hands the item over and takes it back, with deposit and reminders. Only used while the setting event_inventory_enabled is on.

    • inventory_depositnumber (float)

      Deposit (Kaution) per piece asked on hand-over. Null = no deposit.

    • require_addressboolean

      The address must be entered when booking.

    • require_contactboolean

      Contact details must be entered when booking.

    • require_billingboolean

      Billing details must be entered when booking.

    • require_booking_titleboolean

      A title must be entered when booking.

    • allow_direct_billingboolean
    • require_ageboolean

      The age must be entered when booking.

    • counter_update_modestring

      How the usage counters of the bookable are updated.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • addressstring

      Address as text.

    • address_streetstring

      Street of the address.

    • address_house_numberstring

      House number of the address.

    • address_street_levelstring

      Street and house number of the address.

    • address_costring

      Care-of line of the address.

    • address_citystring

      City of the address.

    • address_zipstring

      Postal code of the address.

    • address_admin_level1string

      First administrative level of the address, e.g. the federal state.

    • address_countrystring

      Country code of the address.

    • address_full_countrystring

      Full name of the country of the address.

    • address_geo_latstring

      Latitude of the address.

    • address_geo_lngstring

      Longitude of the address.

    • address_external_provider_idstring

      field to store the external provider id of the address. e.g. Google Maps PlaceID like google:ChIJVcKw5r90sEcRhdjNq6NItqE

    • main_phonestring

      Main phone number.

    • main_faxstring

      Main fax number.

    • main_emailstring

      Main e-mail address.

    • websitestring

      Website address.

    • namestring

      Name of the entity.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • short_identifierstring

      Short identifier of the entity.

    • image_urlstring

      URL of the image of the entity.

    • slug_identifierstring

      Slug used in URLs of the entity.

    • ucatsarray<UnifiedCategory16>

      Unified categories of the entity.

  • baseEventBaseEvent7
    Show fields (22)
    • ticketSeatingPlanIdinteger

      Id of the seating plan, also for the public and the customer serialization.

    • bib_numbers_enabledboolean
    • timing_enabledboolean
    • baseBookableBaseBookable3
    • secondaryBaseBookableBaseBookable3
    • idinteger

      Primary key of the event. Internal ID.

    • tokenstring

      Public token of the event. Used in links and QR codes instead of the ID.

    • moments_modestring

      Controls the event moments (digital guestbook) feature: DISABLED = feature off, PARTICIPANTS_ONLY = only via participant-bound moments tokens, ALL = additionally open via the anonymous event moments token

    • moments_designstring

      Visual theme of the moments (digital guestbook) pages and exports.

    • public_keywordsstring

      Keywords shown in the public event listing.

    • public_subtitlestring

      Subtitle shown in the public event listing.

    • event_typestring

      Type of the event, for example course, trip or tournament.

    • age_groupstring

      Age group the event is intended for, for example children or adults.

    • min_ageinteger

      Minimum age in years of participants.

    • max_ageinteger

      Maximum age in years of participants.

    • min_age_monthsinteger

      Minimum age in months of participants, for events for infants.

    • max_age_monthsinteger

      Maximum age in months of participants, for events for infants.

    • min_grade_levelinteger

      Minimum school grade level of participants.

    • max_grade_levelinteger

      Maximum school grade level of participants.

    • age_toleranceinteger

      Years by which participants may be outside the age range and still sign up.

    • event_people_limitinteger

      maximum number of people that can attend the event

    • … 78 more fields
  • … 45 more fields
Request
curl --request DELETE \
  --url https://your-instance.iw-erp.de/api/invoice/predefinedbillingitems/42/label/42 \
  --header 'x-iw-jwt-token: <TOKEN>'
Response 200 application/json
{
  "name": "Beispiel",
  "description": "Text",
  "id": 42,
  "internal_description": "Text",
  "fixed_hours": 1.5,
  "fixed_price": 49.9,
  "fixed_price_base_unit": 49.9,
  "price_fixed_hours": 49.9,
  "price_additional_hours": 49.9,
  "name_additional_hours": "string"
}