Jupiter ERP
Account API

List Service Contracts

/api/account/service-contracts

GETHTTP
get/api/account/service-contracts

Beispielanfrage

GET https://api.jupiter-erp.com/api/account/service-contracts

Code
curl -X GET 'https://api.jupiter-erp.com/api/account/service-contracts' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
  -H 'Accept: application/json'

Parameter

NameInPflichtBeschreibung
searchqueryneinSearch in subject and number. Use * as wildcard (e.g. *term* for contains).
statusquerynein
contact_idquerynein
cost_center_idquerynein
project_idquerynein
#/components/parameters/ServiceObjectIdQueryParameter
account_user_idquerynein
interval_unitqueryneinFilter contracts by billing interval unit (day, week, month, year).
invoice_modequerynein
invoice_anchorquerynein
recurring_document_typequerynein
first_period_start_fromquerynein
first_period_start_toquerynein
end_date_fromquerynein
end_date_toquerynein
next_invoice_overduequeryneinActive contracts whose next invoice due date is before today (computed).
next_invoice_due_on_or_beforequeryneinNext invoice due date (computed) on or before this date (YYYY-MM-DD).
next_invoice_due_on_or_afterqueryneinNext invoice due date (computed) on or after this date (YYYY-MM-DD).
next_billing_period_from_on_or_beforequeryneinNext billing period start (computed) on or before this date (YYYY-MM-DD).
next_billing_period_from_on_or_afterqueryneinNext billing period start (computed) on or after this date (YYYY-MM-DD).
order_byquerynein
#/components/parameters/OrderDirParameter
#/components/parameters/PerPageParameter
#/components/parameters/PageParameter

Antworten

200OK
FeldTypBeschreibung
data*object[]

array

Elemente

FeldTypBeschreibung
account_user_idinteger
address_line_1stringFirst line of the address (Street and House number)
address_line_2stringSecond line of the address
adjustmentsobject[]

array

Elemente

FeldTypBeschreibung
descriptionstring
ratenumber
title*string
type*string

string

  • surcharge
  • discount
valueinteger
automatic_generation*booleanWhen true, scheduled/manual processing may create documents for this contract.
buyer_emailstring
buyer_referencestring
cash_discount_daysinteger
cash_discount_ratenumber
citystringCity of the address.
contactobject
FeldTypBeschreibung
additional_namestring
address_line_1stringFirst line of the address (Street and House number)
address_line_2stringSecond line of the address
avatarobject
FeldTypBeschreibung
idinteger
urlstring
bank_bicstringBank BIC/SWIFT code
bank_ibanstringBank IBAN
birthdatestring (date)Birthdate of the contact in ISO 8601 format.
buyer_referencestring
cash_discount_daysintegerCash discount days for the contact.
cash_discount_ratenumber (float)Cash discount percentage for the contact.
citystringCity of the address.
company_namestringCompany name (used as name_line_3 in document addresses).
contact_numberinteger
country_codestringISO country code of the address.
created_atstring (date-time)Creation timestamp in ISO 8601 format.
creditor_numberinteger
custom_dataobject
customer_discount_ratenumber (float)Customer-specific discount percentage.
debtor_numberinteger
delivery_termsstring
emailsobject[]

array

Elemente

FeldTypBeschreibung
namestring
valuestring (email)
fieldsobject[]List of contact field values

array

Elemente

FeldTypBeschreibung
id*integerField ID
key*stringField key
value*objectValue of the field
first_namestring
genderstring

string

  • female
  • male
  • diverse
group_idsinteger[]

array

Elemente

integer

groupsobject[]List of groups associated with the contact.

array

Elemente

FeldTypBeschreibung
id*integerUnique identifier for the group.
name*stringName of the group.
id*integer
internal_notestringHTML
is_organisation*boolean
last_namestring
name*string
parentobject
FeldTypBeschreibung
additional_namestring
address_line_1stringFirst line of the address (Street and House number)
address_line_2stringSecond line of the address
bank_bicstringBank BIC/SWIFT code
bank_ibanstringBank IBAN
birthdatestring (date)Birthdate of the contact in ISO 8601 format.
buyer_referencestring
cash_discount_daysintegerCash discount days for the contact.
cash_discount_ratenumber (float)Cash discount percentage for the contact.
citystringCity of the address.
company_namestringCompany name (used as name_line_3 in document addresses).
contact_numberinteger
country_codestringISO country code of the address.
created_atstring (date-time)Creation timestamp in ISO 8601 format.
creditor_numberinteger
custom_dataobject
customer_discount_ratenumber (float)Customer-specific discount percentage.
debtor_numberinteger
delivery_termsstring
emailsobject[]

array

Elemente

FeldTypBeschreibung
namestring
valuestring (email)
first_namestring
genderstring

string

  • female
  • male
  • diverse
id*integer
internal_notestringHTML
is_organisation*boolean
last_namestring
name*string
parent_idinteger
payment_term_daysinteger
payment_termsstring
phonesobject[]

array

Elemente

FeldTypBeschreibung
namestring
valuestringPhone number in E.164 format.
positionstringPosition of the contact in the organisation.
quote_due_daysinteger
reference_keystring
sepa_creditor_idstring
statestringState or region of the address.
tax_idstringTax ID
titlestringTitle of the contact (e.g., Mr., Mrs.).
type*string

string

  • organisation
  • person
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
vat_idstringVAT ID
websitesobject[]

array

Elemente

FeldTypBeschreibung
namestring
valuestring (https://test.com)
zipstringZIP or postal code.
parent_idinteger
payment_term_daysinteger
payment_termsstring
phonesobject[]

array

Elemente

FeldTypBeschreibung
namestring
valuestringPhone number in E.164 format.
positionstringPosition of the contact in the organisation.
quote_due_daysinteger
reference_keystring
sepa_creditor_idstring
statestringState or region of the address.
status*stringContact lifecycle status. List endpoints default to active contacts when omitted.

string

  • active
  • archived
tax_idstringTax ID
titlestringTitle of the contact (e.g., Mr., Mrs.).
type*string

string

  • organisation
  • person
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
vat_idstringVAT ID
websitesobject[]

array

Elemente

FeldTypBeschreibung
namestring
valuestring (https://test.com)
zipstringZIP or postal code.
contact_id*integer
cost_centerobject
FeldTypBeschreibung
booking_account_numberinteger
codestring
created_atstring (date-time)Creation timestamp in ISO 8601 format.
id*integer
name*string
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
cost_center_idinteger
country_codestringISO country code of the address.
created_atstring (date-time)Creation timestamp in ISO 8601 format.
currency_code*string
delivery_termsstring
email_bccstring (email)[]

array

Elemente

string (email)

email_ccstring (email)[]

array

Elemente

string (email)

email_copy_to_selfboolean
email_messagestring
email_subjectstring
email_tostring (email)[]

array

Elemente

string (email)

end_datestring (date)End of last billing period (End-Datum). To pause, set to the last day to bill.
first_period_start*string (date)Start of first billing period (Datum erste Periode). When resuming after a pause, set to the desired restart date.
formatted_number*stringDisplay number (account format), unique per account
id*integer
interval_amount*integerLength of each billing period in interval_unit steps from the period start (e.g. 3 with unit month = quarterly from first_period_start).
interval_unit*string

string

  • day
  • week
  • month
  • year
invoice_anchor*stringWhen in billing period to create invoice (first day, middle, or last day). Used by billing job.

string

  • first
  • middle
  • last
invoice_mode*stringHow automatically created invoices are handled when recurring_document_type is invoice. Does not enable automation by itself; use automatic_generation.

string

  • automatic_draft
  • automatic_send_email
last_billingallOf(1)Latest invoice or service order for this contract (read-only; matches recurring_document_type)

Latest invoice or service order created for this contract's billing periods (matches recurring_document_type).

FeldTypBeschreibung
document_type*string

string

  • invoice
  • service_order
formatted_number*string
id*integer
service_contract_period_fromstring (date)
service_contract_period_tostring (date)
last_created_period_startstring (date)Start date of the last billing period for which a document was created (manual or automatic).
name_line_1string
name_line_2string
name_line_3string
next_billing_period_fromstring (date)Computed; start of next billing period (read-only)
next_billing_period_tostring (date)Computed; end of next billing period (read-only)
next_invoice_due_datestring (date)Computed; anchor date when next invoice should be created (read-only)
next_order_due_datestring (date)Computed when recurring_document_type is service_order; first day of the next billing period (read-only)
number*integerSequential service contract number per account (internal)
payment_method_codestring
payment_term_daysintegerZahlungsziel in Tagen für aus diesem Vertrag erstellte Rechnungen. Fehlt der Wert, wird die Konten-Standard-Einstellung verwendet.
payment_termsstring
positionsobject[]

array

Elemente

FeldTypBeschreibung
chart_of_accountsstringChart of accounts snapshot (receipt positions)

string

  • deu-skr03
  • deu-skr04
descriptionstring
discount_ratenumber
discount_valueinteger
is_optionalboolean
ledger_account_namestringLedger account name snapshot (receipt positions)
ledger_account_numberstringLedger account number (receipt positions)
position*string
price_unitinteger
product_skustring
quantitynumber
tax_ratenumber
title*string
unit_codestringUN/CEFACT unit of measure code (Recommendation 20/21). Null allowed for optional positions. Code meanings: - C62: unit (piece) - HUR: hour - DAY: day - KGM: kilogram - GRM: gram - LTR: litre - CMT: centimetre - MTR: metre - MTK: square metre - MTQ: cubic metre - KMT: kilometre - TNE: tonne (metric) - PAC: package - PR: pair - BOX: box - RO: roll - SET: set - PCE: page - MIN: minute - SEC: second - MLT: millilitre - MMT: millimetre - P1: percent - ZZ: lump sum (generic / no unit)

string

  • C62
  • HUR
  • DAY
  • KGM
  • GRM
  • LTR
  • CMT
  • MTR
  • MTK
  • MTQ
  • KMT
  • TNE
  • PAC
  • PR
  • BOX
  • RO
  • SET
  • PCE
  • MIN
  • SEC
  • MLT
  • MMT
  • P1
  • ZZ
positions_price_input_modestringWhether position unit prices were entered as net or gross (display preference; price_unit is always stored net).

string

  • net
  • gross
print_background_idinteger
print_layout_idinteger
print_optionsobject
FeldTypBeschreibung
show_contact_numberbooleanShow contact number
show_folding_marksbooleanShow folding marks
show_footerbooleanShow footer
show_headerbooleanShow header
show_item_pricesbooleanShow item prices
show_item_quantitiesbooleanShow item quantities
show_item_skubooleanShow item SKU
show_item_tax_ratebooleanShow item tax rate
show_item_totalsbooleanShow item totals
show_logobooleanShow logo
show_logo_textbooleanShow logo text
show_page_numbersbooleanShow page numbers
show_signature_fieldbooleanShow signature field
show_termsbooleanShow terms
show_totalsbooleanShow totals
projectobject
FeldTypBeschreibung
account_userobject
FeldTypBeschreibung
abilitiesstring[]Ability strings for this account user. Included when listing or getting users (admin editing). Omitted in embedded contexts (e.g. documents, projects, service orders) to avoid leaking permission data.

array

Elemente

string

created_atstring (date-time)Creation timestamp in ISO 8601 format.
display_emailstring
display_namestring
display_phonestring
id*integer
invited_emailstringEmail address the user was invited with. Set for pending account users; null after acceptance or when not applicable.
role*string

string

  • user
  • admin
status*string

string

  • active
  • blocked
  • pending
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
userobject
FeldTypBeschreibung
email*string
id*integer
image_urlstring
name*string
account_user_idinteger
contactobject
FeldTypBeschreibung
additional_namestring
address_line_1stringFirst line of the address (Street and House number)
address_line_2stringSecond line of the address
avatarobject
FeldTypBeschreibung
idinteger
urlstring
bank_bicstringBank BIC/SWIFT code
bank_ibanstringBank IBAN
birthdatestring (date)Birthdate of the contact in ISO 8601 format.
buyer_referencestring
cash_discount_daysintegerCash discount days for the contact.
cash_discount_ratenumber (float)Cash discount percentage for the contact.
citystringCity of the address.
company_namestringCompany name (used as name_line_3 in document addresses).
contact_numberinteger
country_codestringISO country code of the address.
created_atstring (date-time)Creation timestamp in ISO 8601 format.
creditor_numberinteger
custom_dataobject
customer_discount_ratenumber (float)Customer-specific discount percentage.
debtor_numberinteger
delivery_termsstring
emailsobject[]

array

Elemente

FeldTypBeschreibung
namestring
valuestring (email)
fieldsobject[]List of contact field values

array

Elemente

FeldTypBeschreibung
id*integerField ID
key*stringField key
value*objectValue of the field
first_namestring
genderstring

string

  • female
  • male
  • diverse
group_idsinteger[]

array

Elemente

integer

groupsobject[]List of groups associated with the contact.

array

Elemente

FeldTypBeschreibung
id*integerUnique identifier for the group.
name*stringName of the group.
id*integer
internal_notestringHTML
is_organisation*boolean
last_namestring
name*string
parentobject
FeldTypBeschreibung
additional_namestring
address_line_1stringFirst line of the address (Street and House number)
address_line_2stringSecond line of the address
bank_bicstringBank BIC/SWIFT code
bank_ibanstringBank IBAN
birthdatestring (date)Birthdate of the contact in ISO 8601 format.
buyer_referencestring
cash_discount_daysintegerCash discount days for the contact.
cash_discount_ratenumber (float)Cash discount percentage for the contact.
citystringCity of the address.
company_namestringCompany name (used as name_line_3 in document addresses).
contact_numberinteger
country_codestringISO country code of the address.
created_atstring (date-time)Creation timestamp in ISO 8601 format.
creditor_numberinteger
custom_dataobject
customer_discount_ratenumber (float)Customer-specific discount percentage.
debtor_numberinteger
delivery_termsstring
emailsobject[]

array

Elemente

FeldTypBeschreibung
namestring
valuestring (email)
first_namestring
genderstring

string

  • female
  • male
  • diverse
id*integer
internal_notestringHTML
is_organisation*boolean
last_namestring
name*string
parent_idinteger
payment_term_daysinteger
payment_termsstring
phonesobject[]

array

Elemente

FeldTypBeschreibung
namestring
valuestringPhone number in E.164 format.
positionstringPosition of the contact in the organisation.
quote_due_daysinteger
reference_keystring
sepa_creditor_idstring
statestringState or region of the address.
tax_idstringTax ID
titlestringTitle of the contact (e.g., Mr., Mrs.).
type*string

string

  • organisation
  • person
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
vat_idstringVAT ID
websitesobject[]

array

Elemente

FeldTypBeschreibung
namestring
valuestring (https://test.com)
zipstringZIP or postal code.
parent_idinteger
payment_term_daysinteger
payment_termsstring
phonesobject[]

array

Elemente

FeldTypBeschreibung
namestring
valuestringPhone number in E.164 format.
positionstringPosition of the contact in the organisation.
quote_due_daysinteger
reference_keystring
sepa_creditor_idstring
statestringState or region of the address.
status*stringContact lifecycle status. List endpoints default to active contacts when omitted.

string

  • active
  • archived
tax_idstringTax ID
titlestringTitle of the contact (e.g., Mr., Mrs.).
type*string

string

  • organisation
  • person
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
vat_idstringVAT ID
websitesobject[]

array

Elemente

FeldTypBeschreibung
namestring
valuestring (https://test.com)
zipstringZIP or postal code.
contact_idinteger
created_atstring (date-time)Creation timestamp in ISO 8601 format.
descriptionstring
end_datestring
formatted_number*stringDisplay number (account format), unique per account
hex_colorstring
id*integer
name*string
number*integerSequential project number per account (internal)
start_datestring
statusstring
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
project_idinteger
recurring_document_type*stringGenerates either invoices or service orders from this contract, not both.

string

  • invoice
  • service_order
referencestring
service_object_idsinteger[]Service object IDs copied to automatically created service orders.

array

Elemente

integer

service_order_assigneeobject
FeldTypBeschreibung
abilitiesstring[]Ability strings for this account user. Included when listing or getting users (admin editing). Omitted in embedded contexts (e.g. documents, projects, service orders) to avoid leaking permission data.

array

Elemente

string

created_atstring (date-time)Creation timestamp in ISO 8601 format.
display_emailstring
display_namestring
display_phonestring
id*integer
invited_emailstringEmail address the user was invited with. Set for pending account users; null after acceptance or when not applicable.
role*string

string

  • user
  • admin
status*string

string

  • active
  • blocked
  • pending
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
userobject
FeldTypBeschreibung
email*string
id*integer
image_urlstring
name*string
service_order_assignee_account_user_idintegerDefault field assignee (Bearbeiter) for service orders created from this contract (manual or automatic).
statestringState or region of the address.
status*string

string

  • active
  • inactive
subjectstring
text_bottomstring
text_topstring
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
vat_rule_codestring
zipstringZIP or postal code.
meta*object
FeldTypBeschreibung
current_page*integerThe current page number.
items_from*integerThe starting item number on the current page.
items_to*integerThe ending item number on the current page.
last_page*integerThe last page number.
per_page*integerThe number of items per page.
total*integerThe total number of items.
Beispiel Response
{
  "data": [
    {
      "id": 0,
      "number": 0,
      "formatted_number": "string",
      "contact_id": 0,
      "contact": {
        "id": 0,
        "parent_id": 0,
        "parent": {
          "id": 0,
          "parent_id": 0,
          "type": "organisation",
          "is_organisation": true,
          "name": "string",
          "company_name": "string"
        },
        "type": "organisation",
        "is_organisation": true,
        "name": "string",
        "status": "active"
      },
      "cost_center_id": 0,
      "first_period_start": "2026-01-15",
      "interval_amount": 0,
      "interval_unit": "day",
      "currency_code": "string",
      "status": "active",
      "recurring_document_type": "invoice",
      "automatic_generation": true,
      "invoice_mode": "automatic_draft",
      "invoice_anchor": "first"
    }
  ],
  "meta": {
    "current_page": 1,
    "last_page": 1,
    "per_page": 15,
    "total": 1,
    "items_from": 1,
    "items_to": 1
  }
}
Service Contracts

Fragen zur Integration?

GET /api/account/service-contracts · Jupiter ERP