Query parameters

application/json

Body Required

Responses

POST /api/invoice/predefinedbillingitems
curl \
 --request POST 'https://replace-with-own-host.iw-erp.de/api/invoice/predefinedbillingitems' \
 --header "x-session-token: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"predefinedbillingitem":{"name":"string","description":"string","internal_description":"string","fixed_hours":42.0,"fixed_price":42.0,"fixed_price_base_unit":42.0,"billing_type":{"deleted":true},"buying_price":42.0,"recurrence":{"id":42,"name":"string","once":true,"allow_partial_on_eq_start_billing":true,"date_string":"string","tolerance":42.0,"deleted":true,"rounding_steps":42,"month_factor":42},"deleted":true,"sub_self_service_add":true,"sub_self_service_add_fixed_price":42.0,"price_is_brutto":true,"sku":"string","barcode":"string","ucats":[{"address":"string","address_street":"string","address_house_number":"string","address_street_level":"string","address_co":"string","address_city":"string","address_zip":"string","address_admin_level1":"string","address_country":"string","address_full_country":"string","address_geo_lat":"string","address_geo_lng":"string","address_external_provider_id":"string","main_phone":"string","main_fax":"string","main_email":"string","website":"string","deleted":true,"slug_identifier":"string","image_url":"string","is_ui_filter":true}],"slug_identifier":"string","accounting_software_number":"string"}}'
Request examples
{
  "predefinedbillingitem": {
    "name": "string",
    "description": "string",
    "internal_description": "string",
    "fixed_hours": 42.0,
    "fixed_price": 42.0,
    "fixed_price_base_unit": 42.0,
    "billing_type": {
      "deleted": true
    },
    "buying_price": 42.0,
    "recurrence": {
      "id": 42,
      "name": "string",
      "once": true,
      "allow_partial_on_eq_start_billing": true,
      "date_string": "string",
      "tolerance": 42.0,
      "deleted": true,
      "rounding_steps": 42,
      "month_factor": 42
    },
    "deleted": true,
    "sub_self_service_add": true,
    "sub_self_service_add_fixed_price": 42.0,
    "price_is_brutto": true,
    "sku": "string",
    "barcode": "string",
    "ucats": [
      {
        "address": "string",
        "address_street": "string",
        "address_house_number": "string",
        "address_street_level": "string",
        "address_co": "string",
        "address_city": "string",
        "address_zip": "string",
        "address_admin_level1": "string",
        "address_country": "string",
        "address_full_country": "string",
        "address_geo_lat": "string",
        "address_geo_lng": "string",
        "address_external_provider_id": "string",
        "main_phone": "string",
        "main_fax": "string",
        "main_email": "string",
        "website": "string",
        "deleted": true,
        "slug_identifier": "string",
        "image_url": "string",
        "is_ui_filter": true
      }
    ],
    "slug_identifier": "string",
    "accounting_software_number": "string"
  }
}
Response examples (200)
{
  "id": 42,
  "name": "string",
  "description": "string",
  "internal_description": "string",
  "fixed_hours": 42.0,
  "fixed_price": 42.0,
  "fixed_price_base_unit": 42.0,
  "price_fixed_hours": 42.0,
  "price_additional_hours": 42.0,
  "name_additional_hours": "string",
  "description_additional_hours": "string",
  "time_billed_on_ticket_close": true,
  "billing_type": {
    "id": 42,
    "name": "string",
    "fixed_price_addon_one_name": "string",
    "fixed_price_addon_two_name": "string",
    "fixed_price_addon_one_name_person": "string",
    "fixed_price_addon_two_name_person": "string",
    "category": "project",
    "type": "subscription",
    "unit": "string",
    "force_repeating": true,
    "can_repeat": true,
    "deleted": true
  },
  "buying_price": 42.0,
  "recurrence": {
    "id": 42,
    "name": "string",
    "once": true,
    "allow_partial_on_eq_start_billing": true,
    "date_string": "string",
    "tolerance": 42.0,
    "deleted": true,
    "rounding_steps": 42,
    "month_factor": 42
  },
  "deleted": true,
  "condition_date_after": "2025-05-04T09:42:00Z",
  "condition_date_before": "2025-05-04T09:42:00Z",
  "condition_country_code": "string",
  "condition_zip_code_from": "string",
  "condition_zip_code_to": "string",
  "condition_time_after_hour": 42,
  "condition_max_length": 42,
  "condition_time_before_hour": 42,
  "condition_sub_access_tag": {
    "id": 42,
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "name": "string",
    "deleted": true,
    "short_identifier": "string"
  },
  "condition_show_despite_missing_access_tag": true,
  "condition_sub_free_logic": "string",
  "fixed_price_logic": "string",
  "sub_self_service_add": true,
  "sub_self_service_delete": true,
  "sub_self_service_add_fixed_price": 42.0,
  "sub_self_service_delete_fixed_price": 42.0,
  "sub_pre_paid": true,
  "sub_only_billed_after_start": true,
  "sub_people_age_group_one": 42,
  "sub_people_age_group_one_discount": 42,
  "sub_people_age_group_one_free": 42,
  "sub_people_age_group_two": 42,
  "sub_people_age_group_two_discount": 42,
  "sub_people_age_group_two_free": 42,
  "sub_people_age_group_three": 42,
  "sub_people_age_group_three_discount": 42,
  "sub_people_age_group_three_free": 42,
  "sub_people_age_group_four": 42,
  "sub_people_age_group_four_discount": 42,
  "sub_people_age_group_four_free": 42,
  "price_is_brutto": true,
  "sku": "string",
  "barcode": "string",
  "baseBookable": {
    "id": 42,
    "token": "string",
    "bookable_type": "string",
    "floor_level": "string",
    "floor_size": 42,
    "pets_allowed": true,
    "barrier_free": true,
    "cargo_volume": 42,
    "fuel_type": "string",
    "seating_capacity": 42,
    "has_wait_list": true,
    "booking_limit": 42,
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "address": "string",
    "address_street": "string",
    "address_house_number": "string",
    "address_street_level": "string",
    "address_co": "string",
    "address_city": "string",
    "address_zip": "string",
    "address_admin_level1": "string",
    "address_country": "string",
    "address_full_country": "string",
    "address_geo_lat": "string",
    "address_geo_lng": "string",
    "address_external_provider_id": "string",
    "main_phone": "string",
    "main_fax": "string",
    "main_email": "string",
    "website": "string",
    "name": "string",
    "deleted": true,
    "short_identifier": "string",
    "image_url": "string",
    "slug_identifier": "string",
    "ucats": [
      {
        "id": 42,
        "category_type": "string",
        "children": [
          {}
        ],
        "parent": {},
        "view_order": 42,
        "is_public": true,
        "created": "2025-05-04T09:42:00Z",
        "updated": "2025-05-04T09:42:00Z",
        "name": "string",
        "address": "string",
        "address_street": "string",
        "address_house_number": "string",
        "address_street_level": "string",
        "address_co": "string",
        "address_city": "string",
        "address_zip": "string",
        "address_admin_level1": "string",
        "address_country": "string",
        "address_full_country": "string",
        "address_geo_lat": "string",
        "address_geo_lng": "string",
        "address_external_provider_id": "string",
        "main_phone": "string",
        "main_fax": "string",
        "main_email": "string",
        "website": "string",
        "deleted": true,
        "search_string": "string",
        "short_identifier": "string",
        "slug_identifier": "string",
        "image_url": "string",
        "is_ui_filter": true
      }
    ]
  },
  "secondaryBaseBookable": {
    "id": 42,
    "token": "string",
    "bookable_type": "string",
    "floor_level": "string",
    "floor_size": 42,
    "pets_allowed": true,
    "barrier_free": true,
    "cargo_volume": 42,
    "fuel_type": "string",
    "seating_capacity": 42,
    "has_wait_list": true,
    "booking_limit": 42,
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "address": "string",
    "address_street": "string",
    "address_house_number": "string",
    "address_street_level": "string",
    "address_co": "string",
    "address_city": "string",
    "address_zip": "string",
    "address_admin_level1": "string",
    "address_country": "string",
    "address_full_country": "string",
    "address_geo_lat": "string",
    "address_geo_lng": "string",
    "address_external_provider_id": "string",
    "main_phone": "string",
    "main_fax": "string",
    "main_email": "string",
    "website": "string",
    "name": "string",
    "deleted": true,
    "short_identifier": "string",
    "image_url": "string",
    "slug_identifier": "string",
    "ucats": [
      {
        "id": 42,
        "category_type": "string",
        "children": [
          {}
        ],
        "parent": {},
        "view_order": 42,
        "is_public": true,
        "created": "2025-05-04T09:42:00Z",
        "updated": "2025-05-04T09:42:00Z",
        "name": "string",
        "address": "string",
        "address_street": "string",
        "address_house_number": "string",
        "address_street_level": "string",
        "address_co": "string",
        "address_city": "string",
        "address_zip": "string",
        "address_admin_level1": "string",
        "address_country": "string",
        "address_full_country": "string",
        "address_geo_lat": "string",
        "address_geo_lng": "string",
        "address_external_provider_id": "string",
        "main_phone": "string",
        "main_fax": "string",
        "main_email": "string",
        "website": "string",
        "deleted": true,
        "search_string": "string",
        "short_identifier": "string",
        "slug_identifier": "string",
        "image_url": "string",
        "is_ui_filter": true
      }
    ]
  },
  "baseEvent": {
    "baseBookable": {
      "id": 42,
      "token": "string",
      "bookable_type": "string",
      "floor_level": "string",
      "floor_size": 42,
      "pets_allowed": true,
      "barrier_free": true,
      "cargo_volume": 42,
      "fuel_type": "string",
      "seating_capacity": 42,
      "has_wait_list": true,
      "booking_limit": 42,
      "created": "2025-05-04T09:42:00Z",
      "updated": "2025-05-04T09:42:00Z",
      "address": "string",
      "address_street": "string",
      "address_house_number": "string",
      "address_street_level": "string",
      "address_co": "string",
      "address_city": "string",
      "address_zip": "string",
      "address_admin_level1": "string",
      "address_country": "string",
      "address_full_country": "string",
      "address_geo_lat": "string",
      "address_geo_lng": "string",
      "address_external_provider_id": "string",
      "main_phone": "string",
      "main_fax": "string",
      "main_email": "string",
      "website": "string",
      "name": "string",
      "deleted": true,
      "short_identifier": "string",
      "image_url": "string",
      "slug_identifier": "string",
      "ucats": [
        {
          "id": 42,
          "category_type": "string",
          "children": [
            {}
          ],
          "parent": {},
          "view_order": 42,
          "is_public": true,
          "created": "2025-05-04T09:42:00Z",
          "updated": "2025-05-04T09:42:00Z",
          "name": "string",
          "address": "string",
          "address_street": "string",
          "address_house_number": "string",
          "address_street_level": "string",
          "address_co": "string",
          "address_city": "string",
          "address_zip": "string",
          "address_admin_level1": "string",
          "address_country": "string",
          "address_full_country": "string",
          "address_geo_lat": "string",
          "address_geo_lng": "string",
          "address_external_provider_id": "string",
          "main_phone": "string",
          "main_fax": "string",
          "main_email": "string",
          "website": "string",
          "deleted": true,
          "search_string": "string",
          "short_identifier": "string",
          "slug_identifier": "string",
          "image_url": "string",
          "is_ui_filter": true
        }
      ]
    },
    "secondaryBaseBookable": {
      "id": 42,
      "token": "string",
      "bookable_type": "string",
      "floor_level": "string",
      "floor_size": 42,
      "pets_allowed": true,
      "barrier_free": true,
      "cargo_volume": 42,
      "fuel_type": "string",
      "seating_capacity": 42,
      "has_wait_list": true,
      "booking_limit": 42,
      "created": "2025-05-04T09:42:00Z",
      "updated": "2025-05-04T09:42:00Z",
      "address": "string",
      "address_street": "string",
      "address_house_number": "string",
      "address_street_level": "string",
      "address_co": "string",
      "address_city": "string",
      "address_zip": "string",
      "address_admin_level1": "string",
      "address_country": "string",
      "address_full_country": "string",
      "address_geo_lat": "string",
      "address_geo_lng": "string",
      "address_external_provider_id": "string",
      "main_phone": "string",
      "main_fax": "string",
      "main_email": "string",
      "website": "string",
      "name": "string",
      "deleted": true,
      "short_identifier": "string",
      "image_url": "string",
      "slug_identifier": "string",
      "ucats": [
        {
          "id": 42,
          "category_type": "string",
          "children": [
            {}
          ],
          "parent": {},
          "view_order": 42,
          "is_public": true,
          "created": "2025-05-04T09:42:00Z",
          "updated": "2025-05-04T09:42:00Z",
          "name": "string",
          "address": "string",
          "address_street": "string",
          "address_house_number": "string",
          "address_street_level": "string",
          "address_co": "string",
          "address_city": "string",
          "address_zip": "string",
          "address_admin_level1": "string",
          "address_country": "string",
          "address_full_country": "string",
          "address_geo_lat": "string",
          "address_geo_lng": "string",
          "address_external_provider_id": "string",
          "main_phone": "string",
          "main_fax": "string",
          "main_email": "string",
          "website": "string",
          "deleted": true,
          "search_string": "string",
          "short_identifier": "string",
          "slug_identifier": "string",
          "image_url": "string",
          "is_ui_filter": true
        }
      ]
    },
    "id": 42,
    "token": "string",
    "public_keywords": "string",
    "event_type": "string",
    "age_group": "string",
    "min_age": 42,
    "max_age": 42,
    "min_grade_level": 42,
    "max_grade_level": 42,
    "age_tolerance": 42,
    "event_people_limit": 42,
    "event_people_min_limit": 42,
    "hide_event_people_limit": true,
    "event_people_recovered_vaccinated_limit": 42,
    "event_people_not_recovered_vaccinated_limit": 42,
    "has_wait_list": true,
    "can_sign_up_for_main_event": true,
    "only_sign_up_for_main_event": true,
    "sign_up_limit_days_before": 42,
    "sign_up_limit_stop_days_before": 42,
    "sign_up_delete_hours_before": 42,
    "start_time": "2025-05-04T09:42:00Z",
    "end_time": "2025-05-04T09:42:00Z",
    "require_address": true,
    "require_contact": true,
    "require_billing": true,
    "allow_direct_billing": true,
    "require_age": true,
    "require_grade_level": true,
    "require_free_note_field_ids": "string",
    "generate_new_bookings": true,
    "generate_new_bookings_v2": true,
    "generate_ignore_sys_calendar": true,
    "copy_main_sign_ups_to_booking": true,
    "generate_hour_start": "2025-05-04T09:42:00Z",
    "generate_hour_end": "2025-05-04T09:42:00Z",
    "generate_day_of_week": 42,
    "bitmask_days_of_week": 42,
    "bitmask_hours_start": 42,
    "summarized_date_times": "string",
    "customer_detail_cta": "string",
    "customer_badge": "string",
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "address": "string",
    "address_street": "string",
    "address_house_number": "string",
    "address_street_level": "string",
    "address_co": "string",
    "address_city": "string",
    "address_zip": "string",
    "address_admin_level1": "string",
    "address_country": "string",
    "address_full_country": "string",
    "address_geo_lat": "string",
    "address_geo_lng": "string",
    "address_external_provider_id": "string",
    "main_phone": "string",
    "main_fax": "string",
    "main_email": "string",
    "website": "string",
    "name": "string",
    "deleted": true,
    "ucats": [
      {
        "id": 42,
        "category_type": "string",
        "children": [
          {}
        ],
        "parent": {},
        "view_order": 42,
        "is_public": true,
        "created": "2025-05-04T09:42:00Z",
        "updated": "2025-05-04T09:42:00Z",
        "name": "string",
        "address": "string",
        "address_street": "string",
        "address_house_number": "string",
        "address_street_level": "string",
        "address_co": "string",
        "address_city": "string",
        "address_zip": "string",
        "address_admin_level1": "string",
        "address_country": "string",
        "address_full_country": "string",
        "address_geo_lat": "string",
        "address_geo_lng": "string",
        "address_external_provider_id": "string",
        "main_phone": "string",
        "main_fax": "string",
        "main_email": "string",
        "website": "string",
        "deleted": true,
        "search_string": "string",
        "short_identifier": "string",
        "slug_identifier": "string",
        "image_url": "string",
        "is_ui_filter": true
      }
    ],
    "short_identifier": "string",
    "image_url": "string",
    "color": "string",
    "fg_color": "string",
    "slug_identifier": "string"
  },
  "company": {
    "id": 42,
    "short_name": "string",
    "company_name": "string",
    "secondary_name": "string",
    "direct_dial": "string",
    "invoice_email": "string",
    "send_invoice_email": true,
    "send_invoice_letter": true,
    "time_report_email": "string",
    "payment_goal": {
      "id": 42,
      "name": "string",
      "date_string": "string",
      "deleted": true,
      "global_default": true
    },
    "payment_interval": "string",
    "vatid": "string",
    "taxnumber": "string",
    "buyer_reference_id": "string",
    "tax": {
      "id": 42,
      "name": "string",
      "value": 42.0,
      "deleted": true,
      "global_default": true
    },
    "info": "string",
    "number": "string",
    "manual_number": 42,
    "number_string": "string",
    "is_customer": true,
    "is_supplier": true,
    "is_other": true,
    "is_member": true,
    "archived": true,
    "category": {
      "id": 42,
      "name": "string",
      "description": "string",
      "deleted": true,
      "global_default": true,
      "enabled_customer_portal": true,
      "g_drive_root_dir": "string",
      "g_drive_root_dir_archived": "string",
      "require_company_address": true,
      "require_company_billing": true
    },
    "visible_for_customer": true,
    "search_string": "string",
    "address": "string",
    "address_street": "string",
    "address_house_number": "string",
    "address_street_level": "string",
    "address_co": "string",
    "address_city": "string",
    "address_zip": "string",
    "address_admin_level1": "string",
    "address_country": "string",
    "address_full_country": "string",
    "address_geo_lat": "string",
    "address_geo_lng": "string",
    "address_external_provider_id": "string",
    "main_phone": "string",
    "main_fax": "string",
    "main_email": "string",
    "website": "string",
    "ucats": [
      {
        "id": 42,
        "category_type": "string",
        "children": [
          {}
        ],
        "parent": {},
        "view_order": 42,
        "is_public": true,
        "created": "2025-05-04T09:42:00Z",
        "updated": "2025-05-04T09:42:00Z",
        "name": "string",
        "address": "string",
        "address_street": "string",
        "address_house_number": "string",
        "address_street_level": "string",
        "address_co": "string",
        "address_city": "string",
        "address_zip": "string",
        "address_admin_level1": "string",
        "address_country": "string",
        "address_full_country": "string",
        "address_geo_lat": "string",
        "address_geo_lng": "string",
        "address_external_provider_id": "string",
        "main_phone": "string",
        "main_fax": "string",
        "main_email": "string",
        "website": "string",
        "deleted": true,
        "search_string": "string",
        "short_identifier": "string",
        "slug_identifier": "string",
        "image_url": "string",
        "is_ui_filter": true
      }
    ],
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "payment_type": {
      "id": 42,
      "name": "string",
      "auto": true,
      "conditions": "string",
      "linked_keywords": "string",
      "global_default": true,
      "bank_import_default": true,
      "is_direct_debit": true,
      "is_external": true,
      "deleted": true
    }
  },
  "parent": {},
  "is_preferred": true,
  "is_default": true,
  "is_discount": true,
  "is_free": true,
  "is_passive": true,
  "is_global": true,
  "inventory_count": 42,
  "stock_item": true,
  "start_template": {
    "id": "string",
    "name": "string",
    "tag": "string",
    "mass_message": true,
    "default_store_as_pdf": true,
    "security_scope": "string",
    "security_user_access_type": 42,
    "param1": "string",
    "param2": "string",
    "param3": "string",
    "param4": "string",
    "param5": "string",
    "param6": "string",
    "param7": "string",
    "param8": "string",
    "param9": "string",
    "param10": "string",
    "default_value_param1": "string",
    "default_value_param2": "string",
    "default_value_param3": "string",
    "default_value_param4": "string",
    "default_value_param5": "string",
    "default_value_param6": "string",
    "default_value_param7": "string",
    "default_value_param8": "string",
    "default_value_param9": "string",
    "default_value_param10": "string",
    "deleted": true,
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z"
  },
  "end_template": {
    "id": "string",
    "name": "string",
    "tag": "string",
    "mass_message": true,
    "default_store_as_pdf": true,
    "security_scope": "string",
    "security_user_access_type": 42,
    "param1": "string",
    "param2": "string",
    "param3": "string",
    "param4": "string",
    "param5": "string",
    "param6": "string",
    "param7": "string",
    "param8": "string",
    "param9": "string",
    "param10": "string",
    "default_value_param1": "string",
    "default_value_param2": "string",
    "default_value_param3": "string",
    "default_value_param4": "string",
    "default_value_param5": "string",
    "default_value_param6": "string",
    "default_value_param7": "string",
    "default_value_param8": "string",
    "default_value_param9": "string",
    "default_value_param10": "string",
    "deleted": true,
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z"
  },
  "event_data_type": "string",
  "public_category": "string",
  "search_string": "string",
  "ucats": [
    {
      "id": 42,
      "category_type": "string",
      "children": [
        {}
      ],
      "parent": {},
      "view_order": 42,
      "is_public": true,
      "created": "2025-05-04T09:42:00Z",
      "updated": "2025-05-04T09:42:00Z",
      "name": "string",
      "address": "string",
      "address_street": "string",
      "address_house_number": "string",
      "address_street_level": "string",
      "address_co": "string",
      "address_city": "string",
      "address_zip": "string",
      "address_admin_level1": "string",
      "address_country": "string",
      "address_full_country": "string",
      "address_geo_lat": "string",
      "address_geo_lng": "string",
      "address_external_provider_id": "string",
      "main_phone": "string",
      "main_fax": "string",
      "main_email": "string",
      "website": "string",
      "deleted": true,
      "search_string": "string",
      "short_identifier": "string",
      "slug_identifier": "string",
      "image_url": "string",
      "is_ui_filter": true
    }
  ],
  "short_identifier": "string",
  "slug_identifier": "string",
  "order": 42
}