This endpoint can be used to initiate self-service on behalf of a recipient/new user. It requires the self-service feature and the permission "initiate_self_service". The endpoint returns a direct link to self-service for the provided email.
email required | string <email> (Email) non-empty |
{- "email": "user@example.com"
}
{
}
budget_id | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "budget_id": "string",
- "erp_account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "display_name": "string",
- "account_number": 0,
- "account_number_str": "string",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24",
- "end_date": "string",
- "start_amount": "string",
- "calculated_amount": "string",
- "model": "string",
- "schema": "string"
}
]
}
id required | integer A unique integer value identifying this erp account budget. |
{- "budget_id": "string",
- "erp_account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "display_name": "string",
- "account_number": 0,
- "account_number_str": "string",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24",
- "end_date": "string",
- "start_amount": "string",
- "calculated_amount": "string",
- "model": "string",
- "schema": "string"
}
An Account in Fenerum is a named entity who can have one or more subscriptions. Can be used for both companies and people.
uuid | string |
code | string |
type | string |
is_getting_reminders | string |
is_archived | string |
search | string Filter by account name |
balance | string |
subscription_status | string |
subscription_collection_method | string |
subscription_set_to_expire | string |
legal_country | string |
active_payment_method | string |
reseller_program | string |
registered_for_direct_debit | string |
register_status | string |
ean_invoicing | string |
has_recipient_receiving_invoices | string |
created_date__lte | string Format: YYYY-MM-DDTHH:MM:SSZ |
created_date__gte | string Format: YYYY-MM-DDTHH:MM:SSZ |
last_modified_date__lte | string Format: YYYY-MM-DDTHH:MM:SSZ |
last_modified_date__gte | string Format: YYYY-MM-DDTHH:MM:SSZ |
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
Fields | string A comma-separated list of fields to be included in the Account representation. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "title": "mr",
- "gender": "male",
- "code": "string",
- "erp_id": "string",
- "partner": 0,
- "ean_invoicing": true,
- "einvoicing_identifier_schema": "GLN",
- "ean_number": "string",
- "invoice_note": "string",
- "language": "en",
- "legal_address": "string",
- "legal_zipcode": "string",
- "legal_city": "string",
- "legal_country": "AF",
- "legal_vat_number": "string",
- "billing_same_as_legal": true,
- "billing_address": "string",
- "billing_zipcode": "string",
- "billing_city": "string",
- "billing_country": "AF",
- "payment_gateway_account_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "payment_gateway": "stripe",
- "payment_gateway_account_id": "string",
- "model": "string",
- "schema": "string"
}
], - "paymentcard_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "active": "string",
- "brand": "string",
- "card_number": "string",
- "month": -2147483648,
- "year": -2147483648,
- "name": "string",
- "payment_gateway": "stripe",
- "payment_gateway_id": "string",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "model": "string",
- "schema": "string"
}
], - "subscription_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "recipient_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "account_code": "string",
- "name": "string",
- "email": "user@example.com",
- "receive_invoice": true,
- "receive_payment_confirmation": true,
- "receive_payment_card_notifications": true,
- "has_access_to_self_service": true,
- "model": "string",
- "schema": "string"
}
], - "draftinvoiceline_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "currency": "DKK",
- "include_in_next_renewal_invoice": true,
- "revenue_group": "string",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "eu_vat_status": "string",
- "update_from_registers": true,
- "register_status": "active",
- "industry": "string",
- "default_payment_terms": -2147483648,
- "default_collection_method": "payment_card",
- "is_getting_reminders": true,
- "is_archived": true,
- "reseller": "16bab917-518b-4590-b8d5-48af7a327279",
- "reseller_code": "string",
- "reseller_billing_frequency": "daily",
- "reseller_billing_grouping": "currency",
- "type": "company",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
]
}
Note that ean_invoicing
and ean_number
can only be set if you have an
GLN/EAN invoicing feature enabled.
company_name | string or null (Company name) [ 1 .. 256 ] characters |
first_name | string or null (First name) [ 1 .. 128 ] characters |
middle_name | string or null (Middle name) <= 128 characters |
last_name | string or null (Last name) [ 1 .. 128 ] characters |
title | string or null (Title) Enum: "mr" "mrs" "ms" |
gender | string or null (Gender) Enum: "male" "female" "other" |
code required | string (Custom ID from external system) [ 1 .. 128 ] characters |
erp_id | string or null (Erp id) [ 1 .. 128 ] characters |
partner | integer or null (Partner) |
ean_invoicing | boolean (Electronic invoicing) Check this to use GLN/EAN/CVR invoice box instead of email for invoice delivery |
einvoicing_identifier_schema | string (Einvoicing identifier schema) Enum: "GLN" "ORGNR" Choices depend on the Organization's and Account's countries. |
ean_number | string or null (GLN/EAN number) <= 128 characters |
invoice_note | string or null (Invoice note) <= 240 characters Additional text that will be added to description on the invoice. |
language | string (Language) Enum: "en" "da" "nl" "fi" "de" "nb" "pl" "pt" "es" "se" Language of communication: if possible invoices, emails etc. will be translated to this language. |
legal_address required | string (Legal address) non-empty |
legal_zipcode required | string (Legal ZIP code) [ 1 .. 128 ] characters |
legal_city required | string (Legal city) [ 1 .. 128 ] characters |
legal_country required | string (Legal country) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "KP" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "KR" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "UM" "US" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" |
legal_vat_number | string (Legal VAT number) <= 128 characters |
billing_same_as_legal | boolean (Billing address same as legal) |
billing_address | string (Billing address) |
billing_zipcode | string (Billing ZIP code) <= 128 characters |
billing_city | string (Billing city) <= 128 characters |
billing_country | string (Billing country) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "KP" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "KR" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "UM" "US" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" |
update_from_registers | boolean (Update from registers) If you uncheck this, account address, company name etc. will not be updated from company registers. |
default_payment_terms | integer or null (Default payment terms) [ -2147483648 .. 2147483647 ] It will override organization level setting. |
default_collection_method | string or null (Default collection method) Enum: "payment_card" "invoice" "direct_debit" It will override organization level setting. |
is_getting_reminders | boolean (Is getting reminders) If you uncheck this, no payment reminders will be sent for this account. You can also turn reminders off globally in Invoice Settings. |
reseller | string or null <uuid> (Reseller) Reseller which resells goods and subscriptions to this account. |
reseller_code | string (Reseller code) Should reference the account code (ID from external system). Can be used as an alternative to the UUID-field 'reseller'. |
reseller_billing_frequency | string or null (Reseller billing frequency) Enum: "daily" "end_of_month" "start_of_month" "end_of_week" "start_of_week" "start_and_end_of_month" Choose how often to invoice the reseller account for resold goods and subscriptions: weekly invoices are sent every Sunday, and monthly invoices on the last day of the month. |
reseller_billing_grouping | string or null (Group invoices by) Enum: "currency" "currency_resold_account" "currency_resold_account_po_number" Grouping of the invoices generated from the reseller invoice lines. Defaults to currency-grouping. |
type | string (Account type) Enum: "company" "person" |
custom_fields | object (AccountCustomFields) |
{- "company_name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "title": "mr",
- "gender": "male",
- "code": "string",
- "erp_id": "string",
- "partner": 0,
- "ean_invoicing": true,
- "einvoicing_identifier_schema": "GLN",
- "ean_number": "string",
- "invoice_note": "string",
- "language": "en",
- "legal_address": "string",
- "legal_zipcode": "string",
- "legal_city": "string",
- "legal_country": "AF",
- "legal_vat_number": "string",
- "billing_same_as_legal": true,
- "billing_address": "string",
- "billing_zipcode": "string",
- "billing_city": "string",
- "billing_country": "AF",
- "update_from_registers": true,
- "default_payment_terms": -2147483648,
- "default_collection_method": "payment_card",
- "is_getting_reminders": true,
- "reseller": "16bab917-518b-4590-b8d5-48af7a327279",
- "reseller_code": "string",
- "reseller_billing_frequency": "daily",
- "reseller_billing_grouping": "currency",
- "type": "company",
- "custom_fields": { }
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "title": "mr",
- "gender": "male",
- "code": "string",
- "erp_id": "string",
- "partner": 0,
- "ean_invoicing": true,
- "einvoicing_identifier_schema": "GLN",
- "ean_number": "string",
- "invoice_note": "string",
- "language": "en",
- "legal_address": "string",
- "legal_zipcode": "string",
- "legal_city": "string",
- "legal_country": "AF",
- "legal_vat_number": "string",
- "billing_same_as_legal": true,
- "billing_address": "string",
- "billing_zipcode": "string",
- "billing_city": "string",
- "billing_country": "AF",
- "payment_gateway_account_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "payment_gateway": "stripe",
- "payment_gateway_account_id": "string",
- "model": "string",
- "schema": "string"
}
], - "paymentcard_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "active": "string",
- "brand": "string",
- "card_number": "string",
- "month": -2147483648,
- "year": -2147483648,
- "name": "string",
- "payment_gateway": "stripe",
- "payment_gateway_id": "string",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "model": "string",
- "schema": "string"
}
], - "subscription_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "recipient_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "account_code": "string",
- "name": "string",
- "email": "user@example.com",
- "receive_invoice": true,
- "receive_payment_confirmation": true,
- "receive_payment_card_notifications": true,
- "has_access_to_self_service": true,
- "model": "string",
- "schema": "string"
}
], - "draftinvoiceline_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "currency": "DKK",
- "include_in_next_renewal_invoice": true,
- "revenue_group": "string",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "eu_vat_status": "string",
- "update_from_registers": true,
- "register_status": "active",
- "industry": "string",
- "default_payment_terms": -2147483648,
- "default_collection_method": "payment_card",
- "is_getting_reminders": true,
- "is_archived": true,
- "reseller": "16bab917-518b-4590-b8d5-48af7a327279",
- "reseller_code": "string",
- "reseller_billing_frequency": "daily",
- "reseller_billing_grouping": "currency",
- "type": "company",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
An Account in Fenerum is a named entity who can have one or more subscriptions. Can be used for both companies and people.
company_name | string or null (Company name) [ 1 .. 256 ] characters |
first_name | string or null (First name) [ 1 .. 128 ] characters |
middle_name | string or null (Middle name) <= 128 characters |
last_name | string or null (Last name) [ 1 .. 128 ] characters |
title | string or null (Title) Enum: "mr" "mrs" "ms" |
gender | string or null (Gender) Enum: "male" "female" "other" |
code required | string (Custom ID from external system) [ 1 .. 128 ] characters |
erp_id | string or null (Erp id) [ 1 .. 128 ] characters |
partner | integer or null (Partner) |
ean_invoicing | boolean (Electronic invoicing) Check this to use GLN/EAN/CVR invoice box instead of email for invoice delivery |
einvoicing_identifier_schema | string (Einvoicing identifier schema) Enum: "GLN" "ORGNR" Choices depend on the Organization's and Account's countries. |
ean_number | string or null (GLN/EAN number) <= 128 characters |
invoice_note | string or null (Invoice note) <= 240 characters Additional text that will be added to description on the invoice. |
language | string (Language) Enum: "en" "da" "nl" "fi" "de" "nb" "pl" "pt" "es" "se" Language of communication: if possible invoices, emails etc. will be translated to this language. |
legal_address required | string (Legal address) non-empty |
legal_zipcode required | string (Legal ZIP code) [ 1 .. 128 ] characters |
legal_city required | string (Legal city) [ 1 .. 128 ] characters |
legal_country required | string (Legal country) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "KP" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "KR" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "UM" "US" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" |
legal_vat_number | string (Legal VAT number) <= 128 characters |
billing_same_as_legal | boolean (Billing address same as legal) |
billing_address | string (Billing address) |
billing_zipcode | string (Billing ZIP code) <= 128 characters |
billing_city | string (Billing city) <= 128 characters |
billing_country | string (Billing country) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "KP" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "KR" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "UM" "US" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" |
update_from_registers | boolean (Update from registers) If you uncheck this, account address, company name etc. will not be updated from company registers. |
default_payment_terms | integer or null (Default payment terms) [ -2147483648 .. 2147483647 ] It will override organization level setting. |
default_collection_method | string or null (Default collection method) Enum: "payment_card" "invoice" "direct_debit" It will override organization level setting. |
is_getting_reminders | boolean (Is getting reminders) If you uncheck this, no payment reminders will be sent for this account. You can also turn reminders off globally in Invoice Settings. |
reseller | string or null <uuid> (Reseller) Reseller which resells goods and subscriptions to this account. |
reseller_code | string (Reseller code) Should reference the account code (ID from external system). Can be used as an alternative to the UUID-field 'reseller'. |
reseller_billing_frequency | string or null (Reseller billing frequency) Enum: "daily" "end_of_month" "start_of_month" "end_of_week" "start_of_week" "start_and_end_of_month" Choose how often to invoice the reseller account for resold goods and subscriptions: weekly invoices are sent every Sunday, and monthly invoices on the last day of the month. |
reseller_billing_grouping | string or null (Group invoices by) Enum: "currency" "currency_resold_account" "currency_resold_account_po_number" Grouping of the invoices generated from the reseller invoice lines. Defaults to currency-grouping. |
type | string (Account type) Enum: "company" "person" |
custom_fields | object (AccountCustomFields) |
{- "company_name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "title": "mr",
- "gender": "male",
- "code": "string",
- "erp_id": "string",
- "partner": 0,
- "ean_invoicing": true,
- "einvoicing_identifier_schema": "GLN",
- "ean_number": "string",
- "invoice_note": "string",
- "language": "en",
- "legal_address": "string",
- "legal_zipcode": "string",
- "legal_city": "string",
- "legal_country": "AF",
- "legal_vat_number": "string",
- "billing_same_as_legal": true,
- "billing_address": "string",
- "billing_zipcode": "string",
- "billing_city": "string",
- "billing_country": "AF",
- "update_from_registers": true,
- "default_payment_terms": -2147483648,
- "default_collection_method": "payment_card",
- "is_getting_reminders": true,
- "reseller": "16bab917-518b-4590-b8d5-48af7a327279",
- "reseller_code": "string",
- "reseller_billing_frequency": "daily",
- "reseller_billing_grouping": "currency",
- "type": "company",
- "custom_fields": { }
}
{- "export_id": "string",
- "job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e"
}
An Account in Fenerum is a named entity who can have one or more subscriptions. Can be used for both companies and people.
{ }
{- "export_id": "string",
- "job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e"
}
An Account in Fenerum is a named entity who can have one or more subscriptions. Can be used for both companies and people.
{ }
{- "export_id": "string",
- "job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e"
}
An Account in Fenerum is a named entity who can have one or more subscriptions. Can be used for both companies and people.
code required | string |
Fields | string A comma-separated list of fields to be included in the Account representation. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "title": "mr",
- "gender": "male",
- "code": "string",
- "erp_id": "string",
- "partner": 0,
- "ean_invoicing": true,
- "einvoicing_identifier_schema": "GLN",
- "ean_number": "string",
- "invoice_note": "string",
- "language": "en",
- "legal_address": "string",
- "legal_zipcode": "string",
- "legal_city": "string",
- "legal_country": "AF",
- "legal_vat_number": "string",
- "billing_same_as_legal": true,
- "billing_address": "string",
- "billing_zipcode": "string",
- "billing_city": "string",
- "billing_country": "AF",
- "payment_gateway_account_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "payment_gateway": "stripe",
- "payment_gateway_account_id": "string",
- "model": "string",
- "schema": "string"
}
], - "paymentcard_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "active": "string",
- "brand": "string",
- "card_number": "string",
- "month": -2147483648,
- "year": -2147483648,
- "name": "string",
- "payment_gateway": "stripe",
- "payment_gateway_id": "string",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "model": "string",
- "schema": "string"
}
], - "subscription_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "recipient_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "account_code": "string",
- "name": "string",
- "email": "user@example.com",
- "receive_invoice": true,
- "receive_payment_confirmation": true,
- "receive_payment_card_notifications": true,
- "has_access_to_self_service": true,
- "model": "string",
- "schema": "string"
}
], - "draftinvoiceline_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "currency": "DKK",
- "include_in_next_renewal_invoice": true,
- "revenue_group": "string",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "eu_vat_status": "string",
- "update_from_registers": true,
- "register_status": "active",
- "industry": "string",
- "default_payment_terms": -2147483648,
- "default_collection_method": "payment_card",
- "is_getting_reminders": true,
- "is_archived": true,
- "reseller": "16bab917-518b-4590-b8d5-48af7a327279",
- "reseller_code": "string",
- "reseller_billing_frequency": "daily",
- "reseller_billing_grouping": "currency",
- "type": "company",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
Note that ean_invoicing
and ean_number
can only be set if you have an
GLN/EAN invoicing feature enabled.
code required | string |
company_name | string or null (Company name) [ 1 .. 256 ] characters |
first_name | string or null (First name) [ 1 .. 128 ] characters |
middle_name | string or null (Middle name) <= 128 characters |
last_name | string or null (Last name) [ 1 .. 128 ] characters |
title | string or null (Title) Enum: "mr" "mrs" "ms" |
gender | string or null (Gender) Enum: "male" "female" "other" |
code required | string (Custom ID from external system) [ 1 .. 128 ] characters |
erp_id | string or null (Erp id) [ 1 .. 128 ] characters |
partner | integer or null (Partner) |
ean_invoicing | boolean (Electronic invoicing) Check this to use GLN/EAN/CVR invoice box instead of email for invoice delivery |
einvoicing_identifier_schema | string (Einvoicing identifier schema) Enum: "GLN" "ORGNR" Choices depend on the Organization's and Account's countries. |
ean_number | string or null (GLN/EAN number) <= 128 characters |
invoice_note | string or null (Invoice note) <= 240 characters Additional text that will be added to description on the invoice. |
language | string (Language) Enum: "en" "da" "nl" "fi" "de" "nb" "pl" "pt" "es" "se" Language of communication: if possible invoices, emails etc. will be translated to this language. |
legal_address required | string (Legal address) non-empty |
legal_zipcode required | string (Legal ZIP code) [ 1 .. 128 ] characters |
legal_city required | string (Legal city) [ 1 .. 128 ] characters |
legal_country required | string (Legal country) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "KP" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "KR" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "UM" "US" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" |
legal_vat_number | string (Legal VAT number) <= 128 characters |
billing_same_as_legal | boolean (Billing address same as legal) |
billing_address | string (Billing address) |
billing_zipcode | string (Billing ZIP code) <= 128 characters |
billing_city | string (Billing city) <= 128 characters |
billing_country | string (Billing country) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "KP" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "KR" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "UM" "US" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" |
update_from_registers | boolean (Update from registers) If you uncheck this, account address, company name etc. will not be updated from company registers. |
default_payment_terms | integer or null (Default payment terms) [ -2147483648 .. 2147483647 ] It will override organization level setting. |
default_collection_method | string or null (Default collection method) Enum: "payment_card" "invoice" "direct_debit" It will override organization level setting. |
is_getting_reminders | boolean (Is getting reminders) If you uncheck this, no payment reminders will be sent for this account. You can also turn reminders off globally in Invoice Settings. |
reseller | string or null <uuid> (Reseller) Reseller which resells goods and subscriptions to this account. |
reseller_code | string (Reseller code) Should reference the account code (ID from external system). Can be used as an alternative to the UUID-field 'reseller'. |
reseller_billing_frequency | string or null (Reseller billing frequency) Enum: "daily" "end_of_month" "start_of_month" "end_of_week" "start_of_week" "start_and_end_of_month" Choose how often to invoice the reseller account for resold goods and subscriptions: weekly invoices are sent every Sunday, and monthly invoices on the last day of the month. |
reseller_billing_grouping | string or null (Group invoices by) Enum: "currency" "currency_resold_account" "currency_resold_account_po_number" Grouping of the invoices generated from the reseller invoice lines. Defaults to currency-grouping. |
type | string (Account type) Enum: "company" "person" |
custom_fields | object (AccountCustomFields) |
{- "company_name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "title": "mr",
- "gender": "male",
- "code": "string",
- "erp_id": "string",
- "partner": 0,
- "ean_invoicing": true,
- "einvoicing_identifier_schema": "GLN",
- "ean_number": "string",
- "invoice_note": "string",
- "language": "en",
- "legal_address": "string",
- "legal_zipcode": "string",
- "legal_city": "string",
- "legal_country": "AF",
- "legal_vat_number": "string",
- "billing_same_as_legal": true,
- "billing_address": "string",
- "billing_zipcode": "string",
- "billing_city": "string",
- "billing_country": "AF",
- "update_from_registers": true,
- "default_payment_terms": -2147483648,
- "default_collection_method": "payment_card",
- "is_getting_reminders": true,
- "reseller": "16bab917-518b-4590-b8d5-48af7a327279",
- "reseller_code": "string",
- "reseller_billing_frequency": "daily",
- "reseller_billing_grouping": "currency",
- "type": "company",
- "custom_fields": { }
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "title": "mr",
- "gender": "male",
- "code": "string",
- "erp_id": "string",
- "partner": 0,
- "ean_invoicing": true,
- "einvoicing_identifier_schema": "GLN",
- "ean_number": "string",
- "invoice_note": "string",
- "language": "en",
- "legal_address": "string",
- "legal_zipcode": "string",
- "legal_city": "string",
- "legal_country": "AF",
- "legal_vat_number": "string",
- "billing_same_as_legal": true,
- "billing_address": "string",
- "billing_zipcode": "string",
- "billing_city": "string",
- "billing_country": "AF",
- "payment_gateway_account_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "payment_gateway": "stripe",
- "payment_gateway_account_id": "string",
- "model": "string",
- "schema": "string"
}
], - "paymentcard_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "active": "string",
- "brand": "string",
- "card_number": "string",
- "month": -2147483648,
- "year": -2147483648,
- "name": "string",
- "payment_gateway": "stripe",
- "payment_gateway_id": "string",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "model": "string",
- "schema": "string"
}
], - "subscription_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "recipient_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "account_code": "string",
- "name": "string",
- "email": "user@example.com",
- "receive_invoice": true,
- "receive_payment_confirmation": true,
- "receive_payment_card_notifications": true,
- "has_access_to_self_service": true,
- "model": "string",
- "schema": "string"
}
], - "draftinvoiceline_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "currency": "DKK",
- "include_in_next_renewal_invoice": true,
- "revenue_group": "string",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "eu_vat_status": "string",
- "update_from_registers": true,
- "register_status": "active",
- "industry": "string",
- "default_payment_terms": -2147483648,
- "default_collection_method": "payment_card",
- "is_getting_reminders": true,
- "is_archived": true,
- "reseller": "16bab917-518b-4590-b8d5-48af7a327279",
- "reseller_code": "string",
- "reseller_billing_frequency": "daily",
- "reseller_billing_grouping": "currency",
- "type": "company",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
Note that ean_invoicing
and ean_number
can only be set if you have an
GLN/EAN invoicing feature enabled.
code required | string |
company_name | string or null (Company name) [ 1 .. 256 ] characters |
first_name | string or null (First name) [ 1 .. 128 ] characters |
middle_name | string or null (Middle name) <= 128 characters |
last_name | string or null (Last name) [ 1 .. 128 ] characters |
title | string or null (Title) Enum: "mr" "mrs" "ms" |
gender | string or null (Gender) Enum: "male" "female" "other" |
code required | string (Custom ID from external system) [ 1 .. 128 ] characters |
erp_id | string or null (Erp id) [ 1 .. 128 ] characters |
partner | integer or null (Partner) |
ean_invoicing | boolean (Electronic invoicing) Check this to use GLN/EAN/CVR invoice box instead of email for invoice delivery |
einvoicing_identifier_schema | string (Einvoicing identifier schema) Enum: "GLN" "ORGNR" Choices depend on the Organization's and Account's countries. |
ean_number | string or null (GLN/EAN number) <= 128 characters |
invoice_note | string or null (Invoice note) <= 240 characters Additional text that will be added to description on the invoice. |
language | string (Language) Enum: "en" "da" "nl" "fi" "de" "nb" "pl" "pt" "es" "se" Language of communication: if possible invoices, emails etc. will be translated to this language. |
legal_address required | string (Legal address) non-empty |
legal_zipcode required | string (Legal ZIP code) [ 1 .. 128 ] characters |
legal_city required | string (Legal city) [ 1 .. 128 ] characters |
legal_country required | string (Legal country) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "KP" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "KR" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "UM" "US" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" |
legal_vat_number | string (Legal VAT number) <= 128 characters |
billing_same_as_legal | boolean (Billing address same as legal) |
billing_address | string (Billing address) |
billing_zipcode | string (Billing ZIP code) <= 128 characters |
billing_city | string (Billing city) <= 128 characters |
billing_country | string (Billing country) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "KP" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "KR" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "UM" "US" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" |
update_from_registers | boolean (Update from registers) If you uncheck this, account address, company name etc. will not be updated from company registers. |
default_payment_terms | integer or null (Default payment terms) [ -2147483648 .. 2147483647 ] It will override organization level setting. |
default_collection_method | string or null (Default collection method) Enum: "payment_card" "invoice" "direct_debit" It will override organization level setting. |
is_getting_reminders | boolean (Is getting reminders) If you uncheck this, no payment reminders will be sent for this account. You can also turn reminders off globally in Invoice Settings. |
reseller | string or null <uuid> (Reseller) Reseller which resells goods and subscriptions to this account. |
reseller_code | string (Reseller code) Should reference the account code (ID from external system). Can be used as an alternative to the UUID-field 'reseller'. |
reseller_billing_frequency | string or null (Reseller billing frequency) Enum: "daily" "end_of_month" "start_of_month" "end_of_week" "start_of_week" "start_and_end_of_month" Choose how often to invoice the reseller account for resold goods and subscriptions: weekly invoices are sent every Sunday, and monthly invoices on the last day of the month. |
reseller_billing_grouping | string or null (Group invoices by) Enum: "currency" "currency_resold_account" "currency_resold_account_po_number" Grouping of the invoices generated from the reseller invoice lines. Defaults to currency-grouping. |
type | string (Account type) Enum: "company" "person" |
custom_fields | object (AccountCustomFields) |
{- "company_name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "title": "mr",
- "gender": "male",
- "code": "string",
- "erp_id": "string",
- "partner": 0,
- "ean_invoicing": true,
- "einvoicing_identifier_schema": "GLN",
- "ean_number": "string",
- "invoice_note": "string",
- "language": "en",
- "legal_address": "string",
- "legal_zipcode": "string",
- "legal_city": "string",
- "legal_country": "AF",
- "legal_vat_number": "string",
- "billing_same_as_legal": true,
- "billing_address": "string",
- "billing_zipcode": "string",
- "billing_city": "string",
- "billing_country": "AF",
- "update_from_registers": true,
- "default_payment_terms": -2147483648,
- "default_collection_method": "payment_card",
- "is_getting_reminders": true,
- "reseller": "16bab917-518b-4590-b8d5-48af7a327279",
- "reseller_code": "string",
- "reseller_billing_frequency": "daily",
- "reseller_billing_grouping": "currency",
- "type": "company",
- "custom_fields": { }
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "title": "mr",
- "gender": "male",
- "code": "string",
- "erp_id": "string",
- "partner": 0,
- "ean_invoicing": true,
- "einvoicing_identifier_schema": "GLN",
- "ean_number": "string",
- "invoice_note": "string",
- "language": "en",
- "legal_address": "string",
- "legal_zipcode": "string",
- "legal_city": "string",
- "legal_country": "AF",
- "legal_vat_number": "string",
- "billing_same_as_legal": true,
- "billing_address": "string",
- "billing_zipcode": "string",
- "billing_city": "string",
- "billing_country": "AF",
- "payment_gateway_account_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "payment_gateway": "stripe",
- "payment_gateway_account_id": "string",
- "model": "string",
- "schema": "string"
}
], - "paymentcard_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "active": "string",
- "brand": "string",
- "card_number": "string",
- "month": -2147483648,
- "year": -2147483648,
- "name": "string",
- "payment_gateway": "stripe",
- "payment_gateway_id": "string",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "model": "string",
- "schema": "string"
}
], - "subscription_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "recipient_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "account_code": "string",
- "name": "string",
- "email": "user@example.com",
- "receive_invoice": true,
- "receive_payment_confirmation": true,
- "receive_payment_card_notifications": true,
- "has_access_to_self_service": true,
- "model": "string",
- "schema": "string"
}
], - "draftinvoiceline_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "currency": "DKK",
- "include_in_next_renewal_invoice": true,
- "revenue_group": "string",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "eu_vat_status": "string",
- "update_from_registers": true,
- "register_status": "active",
- "industry": "string",
- "default_payment_terms": -2147483648,
- "default_collection_method": "payment_card",
- "is_getting_reminders": true,
- "is_archived": true,
- "reseller": "16bab917-518b-4590-b8d5-48af7a327279",
- "reseller_code": "string",
- "reseller_billing_frequency": "daily",
- "reseller_billing_grouping": "currency",
- "type": "company",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
An Account in Fenerum is a named entity who can have one or more subscriptions. Can be used for both companies and people.
code required | string |
company_name | string or null (Company name) [ 1 .. 256 ] characters |
first_name | string or null (First name) [ 1 .. 128 ] characters |
middle_name | string or null (Middle name) <= 128 characters |
last_name | string or null (Last name) [ 1 .. 128 ] characters |
title | string or null (Title) Enum: "mr" "mrs" "ms" |
gender | string or null (Gender) Enum: "male" "female" "other" |
code required | string (Custom ID from external system) [ 1 .. 128 ] characters |
erp_id | string or null (Erp id) [ 1 .. 128 ] characters |
partner | integer or null (Partner) |
ean_invoicing | boolean (Electronic invoicing) Check this to use GLN/EAN/CVR invoice box instead of email for invoice delivery |
einvoicing_identifier_schema | string (Einvoicing identifier schema) Enum: "GLN" "ORGNR" Choices depend on the Organization's and Account's countries. |
ean_number | string or null (GLN/EAN number) <= 128 characters |
invoice_note | string or null (Invoice note) <= 240 characters Additional text that will be added to description on the invoice. |
language | string (Language) Enum: "en" "da" "nl" "fi" "de" "nb" "pl" "pt" "es" "se" Language of communication: if possible invoices, emails etc. will be translated to this language. |
legal_address required | string (Legal address) non-empty |
legal_zipcode required | string (Legal ZIP code) [ 1 .. 128 ] characters |
legal_city required | string (Legal city) [ 1 .. 128 ] characters |
legal_country required | string (Legal country) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "KP" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "KR" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "UM" "US" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" |
legal_vat_number | string (Legal VAT number) <= 128 characters |
billing_same_as_legal | boolean (Billing address same as legal) |
billing_address | string (Billing address) |
billing_zipcode | string (Billing ZIP code) <= 128 characters |
billing_city | string (Billing city) <= 128 characters |
billing_country | string (Billing country) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "KP" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "KR" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "UM" "US" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" |
update_from_registers | boolean (Update from registers) If you uncheck this, account address, company name etc. will not be updated from company registers. |
default_payment_terms | integer or null (Default payment terms) [ -2147483648 .. 2147483647 ] It will override organization level setting. |
default_collection_method | string or null (Default collection method) Enum: "payment_card" "invoice" "direct_debit" It will override organization level setting. |
is_getting_reminders | boolean (Is getting reminders) If you uncheck this, no payment reminders will be sent for this account. You can also turn reminders off globally in Invoice Settings. |
reseller | string or null <uuid> (Reseller) Reseller which resells goods and subscriptions to this account. |
reseller_code | string (Reseller code) Should reference the account code (ID from external system). Can be used as an alternative to the UUID-field 'reseller'. |
reseller_billing_frequency | string or null (Reseller billing frequency) Enum: "daily" "end_of_month" "start_of_month" "end_of_week" "start_of_week" "start_and_end_of_month" Choose how often to invoice the reseller account for resold goods and subscriptions: weekly invoices are sent every Sunday, and monthly invoices on the last day of the month. |
reseller_billing_grouping | string or null (Group invoices by) Enum: "currency" "currency_resold_account" "currency_resold_account_po_number" Grouping of the invoices generated from the reseller invoice lines. Defaults to currency-grouping. |
type | string (Account type) Enum: "company" "person" |
custom_fields | object (AccountCustomFields) |
{- "company_name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "title": "mr",
- "gender": "male",
- "code": "string",
- "erp_id": "string",
- "partner": 0,
- "ean_invoicing": true,
- "einvoicing_identifier_schema": "GLN",
- "ean_number": "string",
- "invoice_note": "string",
- "language": "en",
- "legal_address": "string",
- "legal_zipcode": "string",
- "legal_city": "string",
- "legal_country": "AF",
- "legal_vat_number": "string",
- "billing_same_as_legal": true,
- "billing_address": "string",
- "billing_zipcode": "string",
- "billing_city": "string",
- "billing_country": "AF",
- "update_from_registers": true,
- "default_payment_terms": -2147483648,
- "default_collection_method": "payment_card",
- "is_getting_reminders": true,
- "reseller": "16bab917-518b-4590-b8d5-48af7a327279",
- "reseller_code": "string",
- "reseller_billing_frequency": "daily",
- "reseller_billing_grouping": "currency",
- "type": "company",
- "custom_fields": { }
}
Here you can generate an url to send to your account in order for them to register a payment card in a specified gateway.
code required | string |
gateway required | string Which PSP gateway to use. Possible values: |
currency | string Required for dibs_easy and quickpay. possible values: DKK, NOK, SEK, EUR, USD |
redirect_url | string <uri> non-empty For DIBS Easy the redirect URL is part of integration settings and needs to be set in Fenerum |
{
}
An Account in Fenerum is a named entity who can have one or more subscriptions. Can be used for both companies and people.
code required | string |
gateway required | string Which PSP gateway to use. Possible values: |
currency | string Required for dibs_easy and quickpay. possible values: DKK, NOK, SEK, EUR, USD |
redirect_url | string <uri> non-empty For DIBS Easy the redirect URL is part of integration settings and needs to be set in Fenerum |
{
}
This endpoint will create an invoice containing all DraftInvoiceLines that are not set to appear on the next invoice. There will be a separate invoice for every different currency used by DraftInvoiceLines.
code required | string |
collection_method | string (Collection method) Enum: "payment_card" "invoice" "direct_debit" Default value is the account setting 'Default collection method'. When this setting is not set, the organization default will be used. |
payment_terms | integer (Payment terms) Default value is the account setting 'Default payment terms'. When this setting is not set, the organization default will be used. |
{- "collection_method": "payment_card",
- "payment_terms": 0
}
[- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "invoice_number": 0,
- "external_invoice_number": "string",
- "invoice_api_url": "string",
- "account_uuid": "string",
- "account_code": "string",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "pay_to_bank_account": 0,
- "date": "2019-08-24",
- "due_date": "2019-08-24",
- "currency": "DKK",
- "status": "open",
- "kickback_status": "commission_pending",
- "collection_method": "payment_card",
- "pdf_base64": "string",
- "total": "string",
- "subtotal": "string",
- "vat": "string",
- "balance": "string",
- "invoiceline_set": [
- {
- "id": 0,
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "account": "string",
- "account_code": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "subtotal": "string",
- "vat": "string",
- "total": "string",
- "currency": "string",
- "imported_line": true,
- "refund_of": 0,
- "subscription": "da7489c5-d730-47b7-9958-07300ef9d3d8",
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "sort_weight": -200,
- "draft_invoice_line_pk": "e2ca90b8-7081-4327-afde-603d8dd159bd",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "revenue_group_id": 0,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "imported": true,
- "import_source": "manual",
- "model": "string",
- "schema": "string"
}
]
An Account in Fenerum is a named entity who can have one or more subscriptions. Can be used for both companies and people.
code required | string |
collection_method | string (Collection method) Enum: "payment_card" "invoice" "direct_debit" Default value is the account setting 'Default collection method'. When this setting is not set, the organization default will be used. |
payment_terms | integer (Payment terms) Default value is the account setting 'Default payment terms'. When this setting is not set, the organization default will be used. |
{- "collection_method": "payment_card",
- "payment_terms": 0
}
[- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "invoice_number": 0,
- "external_invoice_number": "string",
- "invoice_api_url": "string",
- "account_uuid": "string",
- "account_code": "string",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "pay_to_bank_account": 0,
- "date": "2019-08-24",
- "due_date": "2019-08-24",
- "currency": "DKK",
- "status": "open",
- "kickback_status": "commission_pending",
- "collection_method": "payment_card",
- "pdf_base64": "string",
- "total": "string",
- "subtotal": "string",
- "vat": "string",
- "balance": "string",
- "invoiceline_set": [
- {
- "id": 0,
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "account": "string",
- "account_code": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "subtotal": "string",
- "vat": "string",
- "total": "string",
- "currency": "string",
- "imported_line": true,
- "refund_of": 0,
- "subscription": "da7489c5-d730-47b7-9958-07300ef9d3d8",
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "sort_weight": -200,
- "draft_invoice_line_pk": "e2ca90b8-7081-4327-afde-603d8dd159bd",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "revenue_group_id": 0,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "imported": true,
- "import_source": "manual",
- "model": "string",
- "schema": "string"
}
]
One set of payment_gateway and payment_gateway_account_id is allowed per a customer account. Meaning each of your customers needs to match 1-to-1 with customer accounts set up in each payment gateway you use.
code required | string |
[- {
- "payment_gateway": "stripe",
- "payment_gateway_account_id": "string",
- "model": "string",
- "schema": "string"
}
]
One set of payment_gateway and payment_gateway_account_id is allowed per a customer account. Meaning each of your customers needs to match 1-to-1 with customer accounts set up in each payment gateway you use.
code required | string |
payment_gateway required | string (Payment gateway) Enum: "stripe" "stripe_new" "noop" "quickpay" "dibs" "dibs_easy" |
payment_gateway_account_id required | string (Payment gateway account ID) [ 1 .. 256 ] characters |
[- {
- "payment_gateway": "stripe",
- "payment_gateway_account_id": "string"
}
]
[- {
- "payment_gateway": "stripe",
- "payment_gateway_account_id": "string",
- "model": "string",
- "schema": "string"
}
]
An Account in Fenerum is a named entity who can have one or more subscriptions. Can be used for both companies and people.
code required | string |
company_name | string or null (Company name) [ 1 .. 256 ] characters |
first_name | string or null (First name) [ 1 .. 128 ] characters |
middle_name | string or null (Middle name) <= 128 characters |
last_name | string or null (Last name) [ 1 .. 128 ] characters |
title | string or null (Title) Enum: "mr" "mrs" "ms" |
gender | string or null (Gender) Enum: "male" "female" "other" |
code required | string (Custom ID from external system) [ 1 .. 128 ] characters |
erp_id | string or null (Erp id) [ 1 .. 128 ] characters |
partner | integer or null (Partner) |
ean_invoicing | boolean (Electronic invoicing) Check this to use GLN/EAN/CVR invoice box instead of email for invoice delivery |
einvoicing_identifier_schema | string (Einvoicing identifier schema) Enum: "GLN" "ORGNR" Choices depend on the Organization's and Account's countries. |
ean_number | string or null (GLN/EAN number) <= 128 characters |
invoice_note | string or null (Invoice note) <= 240 characters Additional text that will be added to description on the invoice. |
language | string (Language) Enum: "en" "da" "nl" "fi" "de" "nb" "pl" "pt" "es" "se" Language of communication: if possible invoices, emails etc. will be translated to this language. |
legal_address required | string (Legal address) non-empty |
legal_zipcode required | string (Legal ZIP code) [ 1 .. 128 ] characters |
legal_city required | string (Legal city) [ 1 .. 128 ] characters |
legal_country required | string (Legal country) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "KP" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "KR" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "UM" "US" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" |
legal_vat_number | string (Legal VAT number) <= 128 characters |
billing_same_as_legal | boolean (Billing address same as legal) |
billing_address | string (Billing address) |
billing_zipcode | string (Billing ZIP code) <= 128 characters |
billing_city | string (Billing city) <= 128 characters |
billing_country | string (Billing country) Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "CV" "KH" "CM" "CA" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "SZ" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "KP" "MK" "MP" "NO" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "KR" "SS" "ES" "LK" "SD" "SR" "SJ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "UM" "US" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" |
update_from_registers | boolean (Update from registers) If you uncheck this, account address, company name etc. will not be updated from company registers. |
default_payment_terms | integer or null (Default payment terms) [ -2147483648 .. 2147483647 ] It will override organization level setting. |
default_collection_method | string or null (Default collection method) Enum: "payment_card" "invoice" "direct_debit" It will override organization level setting. |
is_getting_reminders | boolean (Is getting reminders) If you uncheck this, no payment reminders will be sent for this account. You can also turn reminders off globally in Invoice Settings. |
reseller | string or null <uuid> (Reseller) Reseller which resells goods and subscriptions to this account. |
reseller_code | string (Reseller code) Should reference the account code (ID from external system). Can be used as an alternative to the UUID-field 'reseller'. |
reseller_billing_frequency | string or null (Reseller billing frequency) Enum: "daily" "end_of_month" "start_of_month" "end_of_week" "start_of_week" "start_and_end_of_month" Choose how often to invoice the reseller account for resold goods and subscriptions: weekly invoices are sent every Sunday, and monthly invoices on the last day of the month. |
reseller_billing_grouping | string or null (Group invoices by) Enum: "currency" "currency_resold_account" "currency_resold_account_po_number" Grouping of the invoices generated from the reseller invoice lines. Defaults to currency-grouping. |
type | string (Account type) Enum: "company" "person" |
custom_fields | object (AccountCustomFields) |
{- "company_name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "title": "mr",
- "gender": "male",
- "code": "string",
- "erp_id": "string",
- "partner": 0,
- "ean_invoicing": true,
- "einvoicing_identifier_schema": "GLN",
- "ean_number": "string",
- "invoice_note": "string",
- "language": "en",
- "legal_address": "string",
- "legal_zipcode": "string",
- "legal_city": "string",
- "legal_country": "AF",
- "legal_vat_number": "string",
- "billing_same_as_legal": true,
- "billing_address": "string",
- "billing_zipcode": "string",
- "billing_city": "string",
- "billing_country": "AF",
- "update_from_registers": true,
- "default_payment_terms": -2147483648,
- "default_collection_method": "payment_card",
- "is_getting_reminders": true,
- "reseller": "16bab917-518b-4590-b8d5-48af7a327279",
- "reseller_code": "string",
- "reseller_billing_frequency": "daily",
- "reseller_billing_grouping": "currency",
- "type": "company",
- "custom_fields": { }
}
This endpoint will trigger the renew() method on all pending_for_grouped subscriptions of the account.
code required | string |
{ }
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "invoice_number": 0,
- "external_invoice_number": "string",
- "invoice_api_url": "string",
- "account_uuid": "string",
- "account_code": "string",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "pay_to_bank_account": 0,
- "date": "2019-08-24",
- "due_date": "2019-08-24",
- "currency": "DKK",
- "status": "open",
- "kickback_status": "commission_pending",
- "collection_method": "payment_card",
- "pdf_base64": "string",
- "total": "string",
- "subtotal": "string",
- "vat": "string",
- "balance": "string",
- "invoiceline_set": [
- {
- "id": 0,
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "account": "string",
- "account_code": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "subtotal": "string",
- "vat": "string",
- "total": "string",
- "currency": "string",
- "imported_line": true,
- "refund_of": 0,
- "subscription": "da7489c5-d730-47b7-9958-07300ef9d3d8",
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "sort_weight": -200,
- "draft_invoice_line_pk": "e2ca90b8-7081-4327-afde-603d8dd159bd",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "revenue_group_id": 0,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "imported": true,
- "import_source": "manual",
- "model": "string",
- "schema": "string"
}
Subscribe an account to a plan terms. This endpoint creates a new subscription and cancels all other subscriptions. Do not use this along with Subscription POST and PUT endpoints.
This endpoint will make a pro-rated invoice immediately if there is a subscription being replaced on the account.
code required | string |
terms required | string <uuid> (Terms) |
quantity required | integer (Quantity) >= 1 |
collection_method required | string (Collection method) Enum: "payment_card" "invoice" "direct_debit" |
group_on_invoice | boolean (Group on invoice) Default: false |
{- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "quantity": 1,
- "collection_method": "payment_card",
- "group_on_invoice": false
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
code required | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "plan_terms": "66f9efe8-6b6a-483c-a74b-97841f59bbd0",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "commitment_length": -2147483648,
- "exclusive_tiers": true,
- "contracttier_set": [
- {
- "id": 0,
- "minimum_quantity": -2147483648,
- "maximum_quantity": -2147483648,
- "discount": "string",
- "discount_type": "percent",
- "overall_flat_discount": "string",
- "only_apply_to_quantity_above_minimal": true,
- "model": "string",
- "schema": "string"
}
], - "model": "string",
- "schema": "string"
}
]
}
code required | string |
plan_terms required | string <uuid> (Plan terms) |
start_date required | string <date-time> (Start date) |
end_date | string or null <date-time> (End date) |
commitment_length | integer (Commitment length (months)) [ -2147483648 .. 2147483647 ] Before the commitment length is fulfilled subscription can't be canceled |
exclusive_tiers | boolean (Discounts are exclusive (use best discount only)) Whether all tiers with met requirements are included in the discount (false) or only the one giving the best subscription price (true) |
{- "plan_terms": "66f9efe8-6b6a-483c-a74b-97841f59bbd0",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "commitment_length": -2147483648,
- "exclusive_tiers": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "plan_terms": "66f9efe8-6b6a-483c-a74b-97841f59bbd0",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "commitment_length": -2147483648,
- "exclusive_tiers": true,
- "contracttier_set": [
- {
- "id": 0,
- "minimum_quantity": -2147483648,
- "maximum_quantity": -2147483648,
- "discount": "string",
- "discount_type": "percent",
- "overall_flat_discount": "string",
- "only_apply_to_quantity_above_minimal": true,
- "model": "string",
- "schema": "string"
}
], - "model": "string",
- "schema": "string"
}
code required | string |
uuid required | string <uuid> A UUID string identifying this Contract. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "plan_terms": "66f9efe8-6b6a-483c-a74b-97841f59bbd0",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "commitment_length": -2147483648,
- "exclusive_tiers": true,
- "contracttier_set": [
- {
- "id": 0,
- "minimum_quantity": -2147483648,
- "maximum_quantity": -2147483648,
- "discount": "string",
- "discount_type": "percent",
- "overall_flat_discount": "string",
- "only_apply_to_quantity_above_minimal": true,
- "model": "string",
- "schema": "string"
}
], - "model": "string",
- "schema": "string"
}
code required | string |
uuid required | string <uuid> A UUID string identifying this Contract. |
plan_terms required | string <uuid> (Plan terms) |
start_date required | string <date-time> (Start date) |
end_date | string or null <date-time> (End date) |
commitment_length | integer (Commitment length (months)) [ -2147483648 .. 2147483647 ] Before the commitment length is fulfilled subscription can't be canceled |
exclusive_tiers | boolean (Discounts are exclusive (use best discount only)) Whether all tiers with met requirements are included in the discount (false) or only the one giving the best subscription price (true) |
{- "plan_terms": "66f9efe8-6b6a-483c-a74b-97841f59bbd0",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "commitment_length": -2147483648,
- "exclusive_tiers": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "plan_terms": "66f9efe8-6b6a-483c-a74b-97841f59bbd0",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "commitment_length": -2147483648,
- "exclusive_tiers": true,
- "contracttier_set": [
- {
- "id": 0,
- "minimum_quantity": -2147483648,
- "maximum_quantity": -2147483648,
- "discount": "string",
- "discount_type": "percent",
- "overall_flat_discount": "string",
- "only_apply_to_quantity_above_minimal": true,
- "model": "string",
- "schema": "string"
}
], - "model": "string",
- "schema": "string"
}
code required | string |
uuid required | string <uuid> A UUID string identifying this Contract. |
plan_terms required | string <uuid> (Plan terms) |
start_date required | string <date-time> (Start date) |
end_date | string or null <date-time> (End date) |
commitment_length | integer (Commitment length (months)) [ -2147483648 .. 2147483647 ] Before the commitment length is fulfilled subscription can't be canceled |
exclusive_tiers | boolean (Discounts are exclusive (use best discount only)) Whether all tiers with met requirements are included in the discount (false) or only the one giving the best subscription price (true) |
{- "plan_terms": "66f9efe8-6b6a-483c-a74b-97841f59bbd0",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "commitment_length": -2147483648,
- "exclusive_tiers": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "plan_terms": "66f9efe8-6b6a-483c-a74b-97841f59bbd0",
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "commitment_length": -2147483648,
- "exclusive_tiers": true,
- "contracttier_set": [
- {
- "id": 0,
- "minimum_quantity": -2147483648,
- "maximum_quantity": -2147483648,
- "discount": "string",
- "discount_type": "percent",
- "overall_flat_discount": "string",
- "only_apply_to_quantity_above_minimal": true,
- "model": "string",
- "schema": "string"
}
], - "model": "string",
- "schema": "string"
}
code required | string |
contract_pk required | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "id": 0,
- "minimum_quantity": -2147483648,
- "maximum_quantity": -2147483648,
- "discount": "string",
- "discount_type": "percent",
- "overall_flat_discount": "string",
- "only_apply_to_quantity_above_minimal": true,
- "model": "string",
- "schema": "string"
}
]
}
code required | string |
contract_pk required | string |
minimum_quantity required | integer (Minimum quantity) [ -2147483648 .. 2147483647 ] Apply the discount only when client buys at least that many licenses. |
maximum_quantity | integer (Maximum quantity) [ -2147483648 .. 2147483647 ] Apply the discount at max to that many licenses. 0 means unlimited. |
discount | string <decimal> (Discount) |
discount_type | string (Discount type) Enum: "percent" "flat" |
overall_flat_discount | string <decimal> (Fixed total discount) |
only_apply_to_quantity_above_minimal | boolean (Apply only to quantity within range) This field signifies if the tier applies to all of subscription's quantity (False) up to maximum quantity or only to the quantity between minimum quantity and maximum quantity, both ends included (True) |
{- "minimum_quantity": -2147483648,
- "maximum_quantity": -2147483648,
- "discount": "string",
- "discount_type": "percent",
- "overall_flat_discount": "string",
- "only_apply_to_quantity_above_minimal": true
}
{- "id": 0,
- "minimum_quantity": -2147483648,
- "maximum_quantity": -2147483648,
- "discount": "string",
- "discount_type": "percent",
- "overall_flat_discount": "string",
- "only_apply_to_quantity_above_minimal": true,
- "model": "string",
- "schema": "string"
}
code required | string |
contract_pk required | string |
id required | integer A unique integer value identifying this Contract Tier. |
{- "id": 0,
- "minimum_quantity": -2147483648,
- "maximum_quantity": -2147483648,
- "discount": "string",
- "discount_type": "percent",
- "overall_flat_discount": "string",
- "only_apply_to_quantity_above_minimal": true,
- "model": "string",
- "schema": "string"
}
code required | string |
contract_pk required | string |
id required | integer A unique integer value identifying this Contract Tier. |
minimum_quantity required | integer (Minimum quantity) [ -2147483648 .. 2147483647 ] Apply the discount only when client buys at least that many licenses. |
maximum_quantity | integer (Maximum quantity) [ -2147483648 .. 2147483647 ] Apply the discount at max to that many licenses. 0 means unlimited. |
discount | string <decimal> (Discount) |
discount_type | string (Discount type) Enum: "percent" "flat" |
overall_flat_discount | string <decimal> (Fixed total discount) |
only_apply_to_quantity_above_minimal | boolean (Apply only to quantity within range) This field signifies if the tier applies to all of subscription's quantity (False) up to maximum quantity or only to the quantity between minimum quantity and maximum quantity, both ends included (True) |
{- "minimum_quantity": -2147483648,
- "maximum_quantity": -2147483648,
- "discount": "string",
- "discount_type": "percent",
- "overall_flat_discount": "string",
- "only_apply_to_quantity_above_minimal": true
}
{- "id": 0,
- "minimum_quantity": -2147483648,
- "maximum_quantity": -2147483648,
- "discount": "string",
- "discount_type": "percent",
- "overall_flat_discount": "string",
- "only_apply_to_quantity_above_minimal": true,
- "model": "string",
- "schema": "string"
}
code required | string |
contract_pk required | string |
id required | integer A unique integer value identifying this Contract Tier. |
minimum_quantity required | integer (Minimum quantity) [ -2147483648 .. 2147483647 ] Apply the discount only when client buys at least that many licenses. |
maximum_quantity | integer (Maximum quantity) [ -2147483648 .. 2147483647 ] Apply the discount at max to that many licenses. 0 means unlimited. |
discount | string <decimal> (Discount) |
discount_type | string (Discount type) Enum: "percent" "flat" |
overall_flat_discount | string <decimal> (Fixed total discount) |
only_apply_to_quantity_above_minimal | boolean (Apply only to quantity within range) This field signifies if the tier applies to all of subscription's quantity (False) up to maximum quantity or only to the quantity between minimum quantity and maximum quantity, both ends included (True) |
{- "minimum_quantity": -2147483648,
- "maximum_quantity": -2147483648,
- "discount": "string",
- "discount_type": "percent",
- "overall_flat_discount": "string",
- "only_apply_to_quantity_above_minimal": true
}
{- "id": 0,
- "minimum_quantity": -2147483648,
- "maximum_quantity": -2147483648,
- "discount": "string",
- "discount_type": "percent",
- "overall_flat_discount": "string",
- "only_apply_to_quantity_above_minimal": true,
- "model": "string",
- "schema": "string"
}
account | string Filter using account code (External ID) |
uuid | string |
subscription_uuid | string |
type | string |
mrr_change_type | string |
is_manual | string |
deleted | string |
future | string |
since | string Deprecated |
use_activity_date | string Deprecated |
activity_type | string |
created_date__lte | string Format: YYYY-MM-DD |
created_date__org_tz_lte | string Format: YYYY-MM-DD |
created_date__gte | string Format: YYYY-MM-DD |
created_date__org_tz_gte | string Format: YYYY-MM-DD |
updated_date__lte | string Format: YYYY-MM-DDTHH:MM:SSZ |
updated_date__gte | string Format: YYYY-MM-DDTHH:MM:SSZ |
activity_date__lte | string Format: YYYY-MM-DD |
activity_date__org_tz_lte | string Format: YYYY-MM-DD |
activity_date__gte | string Format: YYYY-MM-DD |
activity_date__org_tz_gte | string Format: YYYY-MM-DD |
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "string",
- "account_code": "string",
- "subscription": "string",
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z",
- "type": "new",
- "is_manual": true,
- "is_churn": true,
- "old_currency": "DKK",
- "new_currency": "DKK",
- "old_mrr_in_subscription_currency": "string",
- "new_mrr_in_subscription_currency": "string",
- "old_mrr": "string",
- "new_mrr": "string",
- "old_quantity": -2147483648,
- "new_quantity": -2147483648,
- "old_terms": "ad992289-ddca-4bb6-ad6d-d633bfc37629",
- "new_terms": "7f43d5df-307a-4725-a28d-3e5b9b27e92e",
- "mrr_change": "string",
- "quantity_change": "string",
- "old_terms_name": "string",
- "new_terms_name": "string",
- "old_plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "new_plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "old_plan_name": "string",
- "new_plan_name": "string",
- "company_name": "string",
- "ean_invoice": true,
- "deleted": true,
- "model": "string",
- "schema": "string"
}
]
}
Create a Manual Activity
subscription required | string or null <uuid> (Subscription) |
date required | string <date-time> (Date) The date the activity comes into effect |
quantity required | integer (Quantity) >= 1 |
terms required | string <uuid> (Terms) |
mrr required | string <decimal> (MRR) It is the MRR in the currency of Plan Terms |
{- "subscription": "da7489c5-d730-47b7-9958-07300ef9d3d8",
- "date": "2019-08-24T14:15:22Z",
- "quantity": 1,
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "mrr": "string"
}
{- "subscription": "da7489c5-d730-47b7-9958-07300ef9d3d8",
- "date": "2019-08-24T14:15:22Z",
- "quantity": 1,
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "mrr": "string",
- "model": "string",
- "schema": "string"
}
account | string Filter using account code (External ID) |
uuid | string |
subscription_uuid | string |
is_manual | string |
future | string |
type | string |
created_date__lte | string Format: YYYY-MM-DD |
created_date__org_tz_lte | string Format: YYYY-MM-DD |
created_date__gte | string Format: YYYY-MM-DD |
created_date__org_tz_gte | string Format: YYYY-MM-DD |
date__lte | string Format: YYYY-MM-DD |
date__org_tz_lte | string Format: YYYY-MM-DD |
date__gte | string Format: YYYY-MM-DD |
date__org_tz_gte | string Format: YYYY-MM-DD |
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "string",
- "account_code": "string",
- "company_name": "string",
- "type": "new_business",
- "mrr_change": "string",
- "new_mrr": "string",
- "old_mrr": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "date": "2019-08-24T14:15:22Z",
- "subscription": "string",
- "is_manual": true,
- "deleted": true,
- "model": "string",
- "schema": "string"
}
]
}
account_uuid required | string (Account uuid) non-empty |
account_code required | string (Account code) non-empty |
company_name required | string (Company name) non-empty |
type required | string (Type) Enum: "new_business" "expansion" "contraction" "churn" "reactivation" |
new_mrr required | string or null <decimal> (New MRR) |
old_mrr required | string or null <decimal> (Old MRR) |
date required | string <date-time> (Date) The date the activity comes into effect |
subscription required | string or null (Subscription) non-empty |
is_manual | boolean (Is manual) |
deleted | boolean (Deleted) |
{- "account_uuid": "string",
- "account_code": "string",
- "company_name": "string",
- "type": "new_business",
- "new_mrr": "string",
- "old_mrr": "string",
- "date": "2019-08-24T14:15:22Z",
- "subscription": "string",
- "is_manual": true,
- "deleted": true
}
{- "export_id": "string",
- "job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e"
}
uuid required | string <uuid> A UUID string identifying this Activity. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "string",
- "account_code": "string",
- "company_name": "string",
- "type": "new_business",
- "mrr_change": "string",
- "new_mrr": "string",
- "old_mrr": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "date": "2019-08-24T14:15:22Z",
- "subscription": "string",
- "is_manual": true,
- "deleted": true,
- "model": "string",
- "schema": "string"
}
account_uuid required | string (Account uuid) non-empty |
account_code required | string (Account code) non-empty |
subscription required | string or null (Subscription) non-empty |
invoice | string or null <uuid> (Invoice) |
date required | string <date-time> (Date) The date the activity comes into effect |
type required | string (Type) Enum: "new" "reactivate" "renew" "cancel" "upgrade_qty" "downgrade_qty" "upgrade_subscription" "downgraded_subscription" "modified" "invoice_sent" "invoice_paid" "payment_made" "currency_exchange" |
is_manual | boolean (Is manual) |
is_churn | boolean (Is churn) |
old_currency | string or null (Old currency) Enum: "DKK" "EUR" "USD" "GBP" "NZD" "CHF" "PLN" "SEK" "NOK" "ISK" "AUD" "CAD" "CZK" |
new_currency | string or null (New currency) Enum: "DKK" "EUR" "USD" "GBP" "NZD" "CHF" "PLN" "SEK" "NOK" "ISK" "AUD" "CAD" "CZK" |
old_mrr_in_subscription_currency | string or null <decimal> (Old MRR in subscription currency) |
new_mrr_in_subscription_currency | string or null <decimal> (New MRR in subscription currency) |
old_mrr | string or null <decimal> (Old MRR) |
new_mrr | string or null <decimal> (New MRR) |
old_quantity | integer or null (Old quantity) [ -2147483648 .. 2147483647 ] |
new_quantity | integer or null (New quantity) [ -2147483648 .. 2147483647 ] |
old_terms | string or null <uuid> (Old terms) |
new_terms | string or null <uuid> (New terms) |
old_terms_name required | string or null (Old terms name) non-empty |
new_terms_name required | string or null (New terms name) non-empty |
required | object (EmbeddedPlan) |
required | object (EmbeddedPlan) |
old_plan_name required | string or null (Old plan name) non-empty DEPRECATED: use old_plan.name instead |
new_plan_name required | string or null (New plan name) non-empty DEPRECATED: use new_plan.name instead |
company_name required | string (Company name) non-empty |
ean_invoice | boolean (Electronic invoicing) |
deleted | boolean (Deleted) |
{- "account_uuid": "string",
- "account_code": "string",
- "subscription": "string",
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "date": "2019-08-24T14:15:22Z",
- "type": "new",
- "is_manual": true,
- "is_churn": true,
- "old_currency": "DKK",
- "new_currency": "DKK",
- "old_mrr_in_subscription_currency": "string",
- "new_mrr_in_subscription_currency": "string",
- "old_mrr": "string",
- "new_mrr": "string",
- "old_quantity": -2147483648,
- "new_quantity": -2147483648,
- "old_terms": "ad992289-ddca-4bb6-ad6d-d633bfc37629",
- "new_terms": "7f43d5df-307a-4725-a28d-3e5b9b27e92e",
- "old_terms_name": "string",
- "new_terms_name": "string",
- "old_plan": {
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical"
}, - "new_plan": {
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical"
}, - "old_plan_name": "string",
- "new_plan_name": "string",
- "company_name": "string",
- "ean_invoice": true,
- "deleted": true
}
{- "export_id": "string",
- "job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e"
}
uuid required | string <uuid> A UUID string identifying this Activity. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "string",
- "account_code": "string",
- "subscription": "string",
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z",
- "type": "new",
- "is_manual": true,
- "is_churn": true,
- "old_currency": "DKK",
- "new_currency": "DKK",
- "old_mrr_in_subscription_currency": "string",
- "new_mrr_in_subscription_currency": "string",
- "old_mrr": "string",
- "new_mrr": "string",
- "old_quantity": -2147483648,
- "new_quantity": -2147483648,
- "old_terms": "ad992289-ddca-4bb6-ad6d-d633bfc37629",
- "new_terms": "7f43d5df-307a-4725-a28d-3e5b9b27e92e",
- "mrr_change": "string",
- "quantity_change": "string",
- "old_terms_name": "string",
- "new_terms_name": "string",
- "old_plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "new_plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "old_plan_name": "string",
- "new_plan_name": "string",
- "company_name": "string",
- "ean_invoice": true,
- "deleted": true,
- "model": "string",
- "schema": "string"
}
Update a Manual Activity
uuid required | string <uuid> A UUID string identifying this Activity. |
subscription required | string or null <uuid> (Subscription) |
date required | string <date-time> (Date) The date the activity comes into effect |
quantity required | integer (Quantity) >= 1 |
terms required | string <uuid> (Terms) |
mrr required | string <decimal> (MRR) It is the MRR in the currency of Plan Terms |
{- "subscription": "da7489c5-d730-47b7-9958-07300ef9d3d8",
- "date": "2019-08-24T14:15:22Z",
- "quantity": 1,
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "mrr": "string"
}
{- "subscription": "da7489c5-d730-47b7-9958-07300ef9d3d8",
- "date": "2019-08-24T14:15:22Z",
- "quantity": 1,
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "mrr": "string",
- "model": "string",
- "schema": "string"
}
Update a Manual Activity
uuid required | string <uuid> A UUID string identifying this Activity. |
subscription required | string or null <uuid> (Subscription) |
date required | string <date-time> (Date) The date the activity comes into effect |
quantity required | integer (Quantity) >= 1 |
terms required | string <uuid> (Terms) |
mrr required | string <decimal> (MRR) It is the MRR in the currency of Plan Terms |
{- "subscription": "da7489c5-d730-47b7-9958-07300ef9d3d8",
- "date": "2019-08-24T14:15:22Z",
- "quantity": 1,
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "mrr": "string"
}
{- "subscription": "da7489c5-d730-47b7-9958-07300ef9d3d8",
- "date": "2019-08-24T14:15:22Z",
- "quantity": 1,
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "mrr": "string",
- "model": "string",
- "schema": "string"
}
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "id": 0,
- "external_id": "string",
- "account_name": "string",
- "model": "string",
- "schema": "string"
}
]
}
This endpoint will return an average of all bank account lines summarized in the organization's default currency for the last three whole months.
It only includes bank account lines from bank accounts that are active and not hidden. Amounts are converted to the organization's default currency using the exchange rate for the current day.
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "cash_flow": "string"
}
month required | stringMM-YYYY Get cashflow for given month. |
revenue_base | string Default: "invoice" Enum: "invoice" "due" Which date should be taken as base for calculcation |
{- "customer_payments_forecast": "string",
- "customer_invoices_vat": "string",
- "customer_invoices_due": "string",
- "customer_invoices_paid": "string",
- "revenue_total": "string",
- "supplier_payments_due": "string",
- "supplier_payments_paid": "string",
- "payments_total": "string",
- "customer_payments_forecast_invoice": "string",
- "customer_payments_forecast_payment_card": "string",
- "customer_payments_forecast_direct_debit": "string",
- "balance": "string"
}
uuid required | string <uuid> A UUID string identifying this erp account. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "display_name": "string",
- "account_number": 0,
- "account_number_str": "string",
- "model": "string",
- "schema": "string"
}
document_type required | string (Document type) Enum: "receipt" "supplier_invoice" |
files required | Array of strings <uri> [ items <uri > ] |
{- "document_type": "receipt",
}
{- "document_type": "receipt",
- "model": "string",
- "schema": "string"
}
{
}
q | string Search query to look for Accounts, Invoices, Plans, Products, Revenue Groups, Subscriptions, Supplier Invoices, Suppliers, Transactions |
{- "accounts": {
- "has_more_results": true,
- "results": [
- {
- "rank": 100,
- "match_type": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "company_name": "string",
- "legal_country": "AF"
}
}
]
}, - "subscriptions": {
- "has_more_results": true,
- "results": [
- {
- "rank": 100,
- "match_type": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "quantity": 0,
- "status": "string",
- "current_mrr": "string"
}
}
]
}, - "invoices": {
- "has_more_results": true,
- "results": [
- {
- "rank": 100,
- "match_type": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "invoice_number": 0,
- "document_type_label": "string",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "date": "2019-08-24",
- "due_date": "2019-08-24",
- "currency": "DKK",
- "status": "open",
- "total": "string"
}
}
]
}, - "transactions": {
- "has_more_results": true,
- "results": [
- {
- "rank": 100,
- "match_type": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "date": "2019-08-24",
- "invoice_document_type_label": "string",
- "invoice_number": 0,
- "type_label": "string",
- "amount": "string",
- "currency": "DKK",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}
}
}
]
}, - "plans": {
- "has_more_results": true,
- "results": [
- {
- "rank": 100,
- "match_type": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "name": "string"
}
}
]
}, - "products": {
- "has_more_results": true,
- "results": [
- {
- "rank": 100,
- "match_type": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string"
}
}
]
}, - "revenue_groups": {
- "has_more_results": true,
- "results": [
]
}, - "suppliers": {
- "has_more_results": true,
- "results": [
- {
- "rank": 100,
- "match_type": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "legal_country": "AF",
- "legal_vat_number": "string"
}
}
]
}, - "supplier_invoices": {
- "has_more_results": true,
- "results": [
- {
- "rank": 100,
- "match_type": "string",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "supplier_receipt_number": "string"
}
}
]
}
}
is_active | string |
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "usage_count": 0,
- "model": "string",
- "schema": "string"
}
]
}
name required | string (Name) [ 1 .. 128 ] characters |
is_active | boolean (Is active) |
{- "name": "string",
- "is_active": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "usage_count": 0,
- "model": "string",
- "schema": "string"
}
uuid required | string <uuid> A UUID string identifying this Churn Reason. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "usage_count": 0,
- "model": "string",
- "schema": "string"
}
uuid required | string <uuid> A UUID string identifying this Churn Reason. |
name required | string (Name) [ 1 .. 128 ] characters |
is_active | boolean (Is active) |
{- "name": "string",
- "is_active": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "usage_count": 0,
- "model": "string",
- "schema": "string"
}
uuid required | string <uuid> A UUID string identifying this Churn Reason. |
name required | string (Name) [ 1 .. 128 ] characters |
is_active | boolean (Is active) |
{- "name": "string",
- "is_active": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "usage_count": 0,
- "model": "string",
- "schema": "string"
}
Direct debit solutions for your accounts.
account | string Filter using account code (External ID) |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "status": "not_send",
- "payment_gateway": "leverandoer",
- "payment_gateway_id": "string",
- "model": "string",
- "schema": "string"
}
]
}
Direct debit solutions for your accounts.
account required | string <uuid> (Account) |
gateway required | string (Gateway) Enum: "leverandoer" "pbs" "stripe_sepa" "noop" Payment gateway from which this debtor is. This field determines what will be stored as |
token required | string (Token) non-empty ID in payment gateway. What it is depends on the |
{- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "gateway": "leverandoer",
- "token": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "status": "not_send",
- "payment_gateway": "leverandoer",
- "payment_gateway_id": "string",
- "model": "string",
- "schema": "string"
}
Returns a possible customer number for Betalingsservice debtor.
gateway required | string (Gateway) Value: "pbs" |
{- "gateway": "pbs"
}
{- "gateway": "pbs",
- "generated_number": "string"
}
Direct debit solutions for your accounts.
uuid required | string <uuid> A UUID string identifying this Direct Debit Debtor. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "status": "not_send",
- "payment_gateway": "leverandoer",
- "payment_gateway_id": "string",
- "model": "string",
- "schema": "string"
}
Direct debit solutions for your accounts.
uuid required | string <uuid> A UUID string identifying this Direct Debit Debtor. |
{ }
Invoice lines that can be used to create a standalone invoice or added to an automatically-generated subscription renewal invoice. This endpoint allows for Invoice lines creation using Products feature.
account | string Filter using account code (External ID) |
date_from__lte | string Format: YYYY-MM-DD |
date_from__gte | string Format: YYYY-MM-DD |
date_to__lte | string Format: YYYY-MM-DD |
date_to__gte | string Format: YYYY-MM-DD |
last_modified_date__lte | string Format: YYYY-MM-DD |
last_modified_date__org_tz_lte | string Format: YYYY-MM-DD |
last_modified_date__gte | string Format: YYYY-MM-DD |
last_modified_date__org_tz_gte | string Format: YYYY-MM-DD |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "include_in_next_renewal_invoice": true,
- "last_modified_date": "2019-08-24T14:15:22Z",
- "product_pricing": "eb9bff53-30f1-4db5-866e-271ebb1d091e",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "description": "string",
- "currency": "DKK",
- "revenue_group": "string"
}
]
}
Invoice lines that can be used to create a standalone invoice or added to an automatically-generated subscription renewal invoice. This endpoint allows for Invoice lines creation using Products feature.
account required | string (Account) Account code (ID from external system) |
collect_vat | boolean (Collect VAT) Collect VAT if required - uncheck for VAT-free items like shipping costs (DK) |
date_from required | string <date> (Date from) |
date_to required | string <date> (Date to) |
price | string <decimal> (Price) |
quantity required | string <decimal> (Quantity) |
discount_percentage | string or null <decimal> (Discount %) Must be greater than 0 and less than or equal to 100. Cannot be combined with other discounts |
discount_fixed_per_quantity | string or null <decimal> (Fixed discount per quantity) Must be greater than 0, and cannot be combined with other discounts |
discount_fixed_total | string or null <decimal> (Fixed discount total) Cannot be combined with other discounts |
include_in_next_renewal_invoice | boolean (Include in next renewal invoice) Include as a line in the next subscription renewal invoice. |
product_pricing required | string or null <uuid> (Product pricing) |
reference_person | string (Reference person) <= 128 characters |
account_reference_person | string (Your reference) <= 128 characters |
po_number | string (PO number) <= 128 characters |
case_number | string (Case number) <= 128 characters |
{- "account": "string",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "include_in_next_renewal_invoice": true,
- "product_pricing": "eb9bff53-30f1-4db5-866e-271ebb1d091e",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "include_in_next_renewal_invoice": true,
- "last_modified_date": "2019-08-24T14:15:22Z",
- "product_pricing": "eb9bff53-30f1-4db5-866e-271ebb1d091e",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "description": "string",
- "currency": "DKK",
- "revenue_group": "string"
}
Invoice lines that can be used to create a standalone invoice or added to an automatically-generated subscription renewal invoice. This endpoint allows for Invoice lines creation using Products feature.
uuid required | string <uuid> A UUID string identifying this Base Invoice Line. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "include_in_next_renewal_invoice": true,
- "last_modified_date": "2019-08-24T14:15:22Z",
- "product_pricing": "eb9bff53-30f1-4db5-866e-271ebb1d091e",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "description": "string",
- "currency": "DKK",
- "revenue_group": "string"
}
Invoice lines that can be used to create a standalone invoice or added to an automatically-generated subscription renewal invoice. This endpoint allows for Invoice lines creation using Products feature.
uuid required | string <uuid> A UUID string identifying this Base Invoice Line. |
account required | string (Account) Account code (ID from external system) |
collect_vat | boolean (Collect VAT) Collect VAT if required - uncheck for VAT-free items like shipping costs (DK) |
date_from required | string <date> (Date from) |
date_to required | string <date> (Date to) |
price | string <decimal> (Price) |
quantity required | string <decimal> (Quantity) |
discount_percentage | string or null <decimal> (Discount %) Must be greater than 0 and less than or equal to 100. Cannot be combined with other discounts |
discount_fixed_per_quantity | string or null <decimal> (Fixed discount per quantity) Must be greater than 0, and cannot be combined with other discounts |
discount_fixed_total | string or null <decimal> (Fixed discount total) Cannot be combined with other discounts |
include_in_next_renewal_invoice | boolean (Include in next renewal invoice) Include as a line in the next subscription renewal invoice. |
product_pricing required | string or null <uuid> (Product pricing) |
reference_person | string (Reference person) <= 128 characters |
account_reference_person | string (Your reference) <= 128 characters |
po_number | string (PO number) <= 128 characters |
case_number | string (Case number) <= 128 characters |
{- "account": "string",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "include_in_next_renewal_invoice": true,
- "product_pricing": "eb9bff53-30f1-4db5-866e-271ebb1d091e",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "include_in_next_renewal_invoice": true,
- "last_modified_date": "2019-08-24T14:15:22Z",
- "product_pricing": "eb9bff53-30f1-4db5-866e-271ebb1d091e",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "description": "string",
- "currency": "DKK",
- "revenue_group": "string"
}
Invoice lines that can be used to create a standalone invoice or added to an automatically-generated subscription renewal invoice. This endpoint allows for Invoice lines creation using Products feature.
uuid required | string <uuid> A UUID string identifying this Base Invoice Line. |
account required | string (Account) Account code (ID from external system) |
collect_vat | boolean (Collect VAT) Collect VAT if required - uncheck for VAT-free items like shipping costs (DK) |
date_from required | string <date> (Date from) |
date_to required | string <date> (Date to) |
price | string <decimal> (Price) |
quantity required | string <decimal> (Quantity) |
discount_percentage | string or null <decimal> (Discount %) Must be greater than 0 and less than or equal to 100. Cannot be combined with other discounts |
discount_fixed_per_quantity | string or null <decimal> (Fixed discount per quantity) Must be greater than 0, and cannot be combined with other discounts |
discount_fixed_total | string or null <decimal> (Fixed discount total) Cannot be combined with other discounts |
include_in_next_renewal_invoice | boolean (Include in next renewal invoice) Include as a line in the next subscription renewal invoice. |
product_pricing required | string or null <uuid> (Product pricing) |
reference_person | string (Reference person) <= 128 characters |
account_reference_person | string (Your reference) <= 128 characters |
po_number | string (PO number) <= 128 characters |
case_number | string (Case number) <= 128 characters |
{- "account": "string",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "include_in_next_renewal_invoice": true,
- "product_pricing": "eb9bff53-30f1-4db5-866e-271ebb1d091e",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "include_in_next_renewal_invoice": true,
- "last_modified_date": "2019-08-24T14:15:22Z",
- "product_pricing": "eb9bff53-30f1-4db5-866e-271ebb1d091e",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "description": "string",
- "currency": "DKK",
- "revenue_group": "string"
}
Invoice lines that can be used to create a standalone invoice or added to an automatically-generated subscription renewal invoice. This endpoint allows for Invoice lines creation using Products feature.
uuid required | string <uuid> A UUID string identifying this Base Invoice Line. |
Invoice lines that can be used to create a standalone invoice or added to an automatically-generated subscription renewal invoice. This endpoint allows for custom (without product feature) Invoice lines interaction.
account | string Filter using account code (External ID) |
date_from__lte | string Format: YYYY-MM-DD |
date_from__gte | string Format: YYYY-MM-DD |
date_to__lte | string Format: YYYY-MM-DD |
date_to__gte | string Format: YYYY-MM-DD |
last_modified_date__lte | string Format: YYYY-MM-DD |
last_modified_date__org_tz_lte | string Format: YYYY-MM-DD |
last_modified_date__gte | string Format: YYYY-MM-DD |
last_modified_date__org_tz_gte | string Format: YYYY-MM-DD |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "currency": "DKK",
- "include_in_next_renewal_invoice": true,
- "revenue_group": "string",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
]
}
Invoice lines that can be used to create a standalone invoice or added to an automatically-generated subscription renewal invoice. This endpoint allows for custom (without product feature) Invoice lines interaction.
account required | string (Account) Account code (ID from external system) |
description required | string (Description) [ 1 .. 256 ] characters |
vat_type required | string (VAT type) Enum: "physical" "services" "unknown" |
collect_vat | boolean (Collect vat) Default: true Collect VAT if required - uncheck for VAT-free items like shipping costs (DK) |
date_from required | string <date> (Date from) |
date_to required | string <date> (Date to) |
price required | string <decimal> (Price) |
quantity required | string <decimal> (Quantity) |
discount_percentage | string or null <decimal> (Discount %) Must be greater than 0 and less than or equal to 100. Cannot be combined with other discounts |
discount_fixed_per_quantity | string or null <decimal> (Fixed discount per quantity) Must be greater than 0, and cannot be combined with other discounts |
discount_fixed_total | string or null <decimal> (Fixed discount total) Cannot be combined with other discounts |
currency required | string (Currency) Enum: "DKK" "EUR" "USD" "GBP" "NZD" "CHF" "PLN" "SEK" "NOK" "ISK" "AUD" "CAD" "CZK" |
include_in_next_renewal_invoice | boolean (Include in next renewal invoice) Include as a line in the next subscription renewal invoice. |
revenue_group | string or null (Revenue group) Name of the Revenue Group (only if Revenue Group feature is enabled, also field is required then). |
reference_person | string (Reference person) <= 128 characters |
account_reference_person | string (Your reference) <= 128 characters |
po_number | string (PO number) <= 128 characters |
case_number | string (Case number) <= 128 characters |
invoice_supplement | string or null (Invoice supplement) Additional text that will be added to description on the invoice line. |
custom_fields | object (BaseInvoiceLineCustomFields) |
{- "account": "string",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "currency": "DKK",
- "include_in_next_renewal_invoice": true,
- "revenue_group": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "custom_fields": { }
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "currency": "DKK",
- "include_in_next_renewal_invoice": true,
- "revenue_group": "string",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
Invoice lines that can be used to create a standalone invoice or added to an automatically-generated subscription renewal invoice. This endpoint allows for custom (without product feature) Invoice lines interaction.
uuid required | string <uuid> A UUID string identifying this Base Invoice Line. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "currency": "DKK",
- "include_in_next_renewal_invoice": true,
- "revenue_group": "string",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
Invoice lines that can be used to create a standalone invoice or added to an automatically-generated subscription renewal invoice. This endpoint allows for custom (without product feature) Invoice lines interaction.
uuid required | string <uuid> A UUID string identifying this Base Invoice Line. |
account required | string (Account) Account code (ID from external system) |
description required | string (Description) [ 1 .. 256 ] characters |
vat_type required | string (VAT type) Enum: "physical" "services" "unknown" |
collect_vat | boolean (Collect vat) Default: true Collect VAT if required - uncheck for VAT-free items like shipping costs (DK) |
date_from required | string <date> (Date from) |
date_to required | string <date> (Date to) |
price required | string <decimal> (Price) |
quantity required | string <decimal> (Quantity) |
discount_percentage | string or null <decimal> (Discount %) Must be greater than 0 and less than or equal to 100. Cannot be combined with other discounts |
discount_fixed_per_quantity | string or null <decimal> (Fixed discount per quantity) Must be greater than 0, and cannot be combined with other discounts |
discount_fixed_total | string or null <decimal> (Fixed discount total) Cannot be combined with other discounts |
currency required | string (Currency) Enum: "DKK" "EUR" "USD" "GBP" "NZD" "CHF" "PLN" "SEK" "NOK" "ISK" "AUD" "CAD" "CZK" |
include_in_next_renewal_invoice | boolean (Include in next renewal invoice) Include as a line in the next subscription renewal invoice. |
revenue_group | string or null (Revenue group) Name of the Revenue Group (only if Revenue Group feature is enabled, also field is required then). |
reference_person | string (Reference person) <= 128 characters |
account_reference_person | string (Your reference) <= 128 characters |
po_number | string (PO number) <= 128 characters |
case_number | string (Case number) <= 128 characters |
invoice_supplement | string or null (Invoice supplement) Additional text that will be added to description on the invoice line. |
custom_fields | object (BaseInvoiceLineCustomFields) |
{- "account": "string",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "currency": "DKK",
- "include_in_next_renewal_invoice": true,
- "revenue_group": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "custom_fields": { }
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "currency": "DKK",
- "include_in_next_renewal_invoice": true,
- "revenue_group": "string",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
Invoice lines that can be used to create a standalone invoice or added to an automatically-generated subscription renewal invoice. This endpoint allows for custom (without product feature) Invoice lines interaction.
uuid required | string <uuid> A UUID string identifying this Base Invoice Line. |
account required | string (Account) Account code (ID from external system) |
description required | string (Description) [ 1 .. 256 ] characters |
vat_type required | string (VAT type) Enum: "physical" "services" "unknown" |
collect_vat | boolean (Collect vat) Default: true Collect VAT if required - uncheck for VAT-free items like shipping costs (DK) |
date_from required | string <date> (Date from) |
date_to required | string <date> (Date to) |
price required | string <decimal> (Price) |
quantity required | string <decimal> (Quantity) |
discount_percentage | string or null <decimal> (Discount %) Must be greater than 0 and less than or equal to 100. Cannot be combined with other discounts |
discount_fixed_per_quantity | string or null <decimal> (Fixed discount per quantity) Must be greater than 0, and cannot be combined with other discounts |
discount_fixed_total | string or null <decimal> (Fixed discount total) Cannot be combined with other discounts |
currency required | string (Currency) Enum: "DKK" "EUR" "USD" "GBP" "NZD" "CHF" "PLN" "SEK" "NOK" "ISK" "AUD" "CAD" "CZK" |
include_in_next_renewal_invoice | boolean (Include in next renewal invoice) Include as a line in the next subscription renewal invoice. |
revenue_group | string or null (Revenue group) Name of the Revenue Group (only if Revenue Group feature is enabled, also field is required then). |
reference_person | string (Reference person) <= 128 characters |
account_reference_person | string (Your reference) <= 128 characters |
po_number | string (PO number) <= 128 characters |
case_number | string (Case number) <= 128 characters |
invoice_supplement | string or null (Invoice supplement) Additional text that will be added to description on the invoice line. |
custom_fields | object (BaseInvoiceLineCustomFields) |
{- "account": "string",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "currency": "DKK",
- "include_in_next_renewal_invoice": true,
- "revenue_group": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "custom_fields": { }
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "discount_percentage": "string",
- "discount_fixed_per_quantity": "string",
- "discount_fixed_total": "string",
- "currency": "DKK",
- "include_in_next_renewal_invoice": true,
- "revenue_group": "string",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
Invoice lines that can be used to create a standalone invoice or added to an automatically-generated subscription renewal invoice. This endpoint allows for custom (without product feature) Invoice lines interaction.
uuid required | string <uuid> A UUID string identifying this Base Invoice Line. |
created_date__lte | string Format: YYYY-MM-DDTHH:MM:SSZ |
created_date__gte | string Format: YYYY-MM-DDTHH:MM:SSZ |
updated_date__lte | string Format: YYYY-MM-DDTHH:MM:SSZ |
updated_date__gte | string Format: YYYY-MM-DDTHH:MM:SSZ |
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "id": 0,
- "type": "financial",
- "account_number": 0,
- "account_number_str": "string",
- "vat_code": "string",
- "contra_account_number": 0,
- "contra_account_number_str": "string",
- "contra_vat_code": "string",
- "currency": "DKK",
- "text": "string",
- "date": "2019-08-24",
- "amount": "string",
- "amount_default_currency": "string",
- "sync_status": "open",
- "voucher_id": -2147483648,
- "sync_time": "2019-08-24T14:15:22Z",
- "invoice_id": "string",
- "expense_id": "string",
- "transaction_id": "string",
- "supplier_invoice_id": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z",
- "model": "string",
- "schema": "string"
}
]
}
id required | integer A unique integer value identifying this erp account line. |
{- "id": 0,
- "type": "financial",
- "account_number": 0,
- "account_number_str": "string",
- "vat_code": "string",
- "contra_account_number": 0,
- "contra_account_number_str": "string",
- "contra_vat_code": "string",
- "currency": "DKK",
- "text": "string",
- "date": "2019-08-24",
- "amount": "string",
- "amount_default_currency": "string",
- "sync_status": "open",
- "voucher_id": -2147483648,
- "sync_time": "2019-08-24T14:15:22Z",
- "invoice_id": "string",
- "expense_id": "string",
- "transaction_id": "string",
- "supplier_invoice_id": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "updated_date": "2019-08-24T14:15:22Z",
- "model": "string",
- "schema": "string"
}
account | string Filter using account code (External ID) |
subscription_uuid | string Filter using Subscription UUID |
since | string Deprecated, one should use date_from. |
date__lte | string Filter using date from the Invoice Format: YYYY-MM-DD |
date__gte | string Filter using date from the Invoice Format: YYYY-MM-DD |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "id": 0,
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "account": "string",
- "account_code": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "subtotal": "string",
- "vat": "string",
- "total": "string",
- "currency": "string",
- "imported_line": true,
- "refund_of": 0,
- "subscription": "da7489c5-d730-47b7-9958-07300ef9d3d8",
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "sort_weight": -200,
- "draft_invoice_line_pk": "e2ca90b8-7081-4327-afde-603d8dd159bd",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "revenue_group_id": 0,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
]
}
id required | integer A unique integer value identifying this Invoice Line. |
{- "id": 0,
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "account": "string",
- "account_code": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "subtotal": "string",
- "vat": "string",
- "total": "string",
- "currency": "string",
- "imported_line": true,
- "refund_of": 0,
- "subscription": "da7489c5-d730-47b7-9958-07300ef9d3d8",
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "sort_weight": -200,
- "draft_invoice_line_pk": "e2ca90b8-7081-4327-afde-603d8dd159bd",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "revenue_group_id": 0,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
Invoices are uniquely numbered lists of sold items and services issued to a customer on a particular date
uuid | string |
invoice_number | number |
search | string Filter by invoice number of company name |
account | string Filter using account code (External ID) |
account_not | string Filter using account code (External ID) |
since | string Deprecated, one should use date__gte. |
status_not | string |
total__gt | number |
total__lt | number |
subscription_uuid | string Filter using Subscription UUID |
debt_collection | string |
status | string |
currency | string |
collection_method | string |
kickback_status | string |
balance | string |
imported | string |
import_source | string |
date__lte | string Format: YYYY-MM-DD |
date__gte | string Format: YYYY-MM-DD |
created_date__lte | string Format: YYYY-MM-DD |
created_date__gte | string Format: YYYY-MM-DD |
last_modified_date__lte | string Format: YYYY-MM-DD |
last_modified_date__gte | string Format: YYYY-MM-DD |
due_date__lte | string Format: YYYY-MM-DD |
due_date__gte | string Format: YYYY-MM-DD |
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "invoice_number": 0,
- "external_invoice_number": "string",
- "account_uuid": "string",
- "account_code": "string",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "pay_to_bank_account": 0,
- "date": "2019-08-24",
- "due_date": "2019-08-24",
- "currency": "DKK",
- "status": "open",
- "kickback_status": "commission_pending",
- "collection_method": "payment_card",
- "total": 0,
- "subtotal": 0,
- "vat": 0,
- "balance": 0,
- "imported": true,
- "import_source": "manual",
- "model": "string",
- "schema": "string"
}
]
}
Get available VAT billing periods for your organization. If it does not return any options it means that this feature is not available for your country.
[- {
- "display_name": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
]
Exports Sales and VAT report for the provided VAT billing period, countries, and granularity.
export_period | string UUID of the VAT billing period to make export for. If not provided all invoices will be used for making the export. |
export_countries | string Default: "world_wide" Enum: "world_wide" "eu_countries" Which countries to include in the export. If not provided, all countries will be included. |
export_granularity | string Default: "invoice" Enum: "invoice" "account" The granularity of the report. If not provided, the report will be on invoice-level. |
{ }
{- "export_id": "string",
- "job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e"
}
Invoices are uniquely numbered lists of sold items and services issued to a customer on a particular date
{ }
{- "export_id": "string",
- "job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e"
}
Invoices are uniquely numbered lists of sold items and services issued to a customer on a particular date
uuid required | string <uuid> A UUID string identifying this Invoice. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "invoice_number": 0,
- "external_invoice_number": "string",
- "invoice_api_url": "string",
- "account_uuid": "string",
- "account_code": "string",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "pay_to_bank_account": 0,
- "date": "2019-08-24",
- "due_date": "2019-08-24",
- "currency": "DKK",
- "status": "open",
- "kickback_status": "commission_pending",
- "collection_method": "payment_card",
- "pdf_base64": "string",
- "total": "string",
- "subtotal": "string",
- "vat": "string",
- "balance": "string",
- "invoiceline_set": [
- {
- "id": 0,
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "account": "string",
- "account_code": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "subtotal": "string",
- "vat": "string",
- "total": "string",
- "currency": "string",
- "imported_line": true,
- "refund_of": 0,
- "subscription": "da7489c5-d730-47b7-9958-07300ef9d3d8",
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "sort_weight": -200,
- "draft_invoice_line_pk": "e2ca90b8-7081-4327-afde-603d8dd159bd",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "revenue_group_id": 0,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "imported": true,
- "import_source": "manual",
- "model": "string",
- "schema": "string"
}
PATCH is only applicable if you have a KICKBACK feature enabled and want to update the
kickback_status
of the invoice.
uuid required | string <uuid> A UUID string identifying this Invoice. |
kickback_status | string or null (Kickback status) Enum: "commission_pending" "commission_paid" Available only when Kickback feature is turn on for the organization. |
{- "kickback_status": "commission_pending"
}
{- "kickback_status": "commission_pending",
- "model": "string",
- "schema": "string"
}
Accept loss for the invoice. Can only accept it if an invoice has a chargeback status and organization has the debt collection feature.
uuid required | string <uuid> A UUID string identifying this Invoice. |
registration_date required | string <date> (Registration date) |
{- "registration_date": "2019-08-24"
}
Applies the credit balance of the invoice to another. The balance of the invoice must be less than 0 and the invoice must not be imported.
uuid required | string <uuid> A UUID string identifying this Invoice. |
target_invoice required | string <uuid> (Target invoice) The invoice the credit should be applied to. |
amount | string <decimal> (Amount) Amount to credit. Defaults to the balance of the invoice with the credit. |
{- "target_invoice": "8b0a3194-d33a-414b-a5d7-a1aa616a7236",
- "amount": "string"
}
{- "error": "string"
}
Change collection method of the invoice. Can only change it if an invoice has a chargeback status.
uuid required | string <uuid> A UUID string identifying this Invoice. |
collection_method required | string (Collection method) Enum: "payment_card" "invoice" "direct_debit" |
{- "collection_method": "payment_card"
}
Mark invoice as due. Can only mark it if an invoice has a chargeback status.
uuid required | string <uuid> A UUID string identifying this Invoice. |
{ }
Request paying the Invoice.
uuid required | string <uuid> A UUID string identifying this Invoice. |
collection_method required | string (Collection method) Enum: "payment_card" "invoice" "direct_debit" |
{- "collection_method": "payment_card"
}
{- "error": "string"
}
Refund the Invoice and return the representation of the Credit Note.
uuid required | string <uuid> A UUID string identifying this Invoice. |
{ }
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "invoice_number": 0,
- "external_invoice_number": "string",
- "invoice_api_url": "string",
- "account_uuid": "string",
- "account_code": "string",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "pay_to_bank_account": 0,
- "date": "2019-08-24",
- "due_date": "2019-08-24",
- "currency": "DKK",
- "status": "open",
- "kickback_status": "commission_pending",
- "collection_method": "payment_card",
- "pdf_base64": "string",
- "total": "string",
- "subtotal": "string",
- "vat": "string",
- "balance": "string",
- "invoiceline_set": [
- {
- "id": 0,
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "account": "string",
- "account_code": "string",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "description": "string",
- "vat_type": "physical",
- "collect_vat": true,
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "subtotal": "string",
- "vat": "string",
- "total": "string",
- "currency": "string",
- "imported_line": true,
- "refund_of": 0,
- "subscription": "da7489c5-d730-47b7-9958-07300ef9d3d8",
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "sort_weight": -200,
- "draft_invoice_line_pk": "e2ca90b8-7081-4327-afde-603d8dd159bd",
- "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",
- "revenue_group_id": 0,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
], - "imported": true,
- "import_source": "manual",
- "model": "string",
- "schema": "string"
}
Resend the Invoice. This is asynchronous action and the email will not be sent right away.
uuid required | string <uuid> A UUID string identifying this Invoice. |
{ }
You need to have a Kickback feature enabled to use this endpoint.
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "id": 0,
- "terms": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
], - "rules": [
- {
- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
], - "model": "string",
- "schema": "string",
- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}
]
}
You need to have a Kickback feature enabled to use this endpoint.
name required | string (Name) [ 1 .. 128 ] characters |
include_upgrades | boolean (Include upgrades) |
indefinite | boolean (Indefinite) |
duration_amount | integer or null (Duration amount) [ -2147483648 .. 2147483647 ] |
duration_unit | string or null (Duration unit) Enum: "month" "invoice" |
percentage_rule_type | string (Commission rate) Enum: "billing.flatpercentagerule" "billing.invoicesuccessionrule" "billing.accountmrrrule" |
{- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}
{- "id": 0,
- "terms": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
], - "rules": [
- {
- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
], - "model": "string",
- "schema": "string",
- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}
You need to have a Kickback feature enabled to use this endpoint.
id required | integer A unique integer value identifying this kickback contract. |
{- "id": 0,
- "terms": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
], - "rules": [
- {
- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
], - "model": "string",
- "schema": "string",
- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}
You need to have a Kickback feature enabled to use this endpoint.
id required | integer A unique integer value identifying this kickback contract. |
name required | string (Name) [ 1 .. 128 ] characters |
include_upgrades | boolean (Include upgrades) |
indefinite | boolean (Indefinite) |
duration_amount | integer or null (Duration amount) [ -2147483648 .. 2147483647 ] |
duration_unit | string or null (Duration unit) Enum: "month" "invoice" |
percentage_rule_type | string (Commission rate) Enum: "billing.flatpercentagerule" "billing.invoicesuccessionrule" "billing.accountmrrrule" |
{- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}
{- "id": 0,
- "terms": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
], - "rules": [
- {
- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
], - "model": "string",
- "schema": "string",
- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}
You need to have a Kickback feature enabled to use this endpoint.
id required | integer A unique integer value identifying this kickback contract. |
name required | string (Name) [ 1 .. 128 ] characters |
include_upgrades | boolean (Include upgrades) |
indefinite | boolean (Indefinite) |
duration_amount | integer or null (Duration amount) [ -2147483648 .. 2147483647 ] |
duration_unit | string or null (Duration unit) Enum: "month" "invoice" |
percentage_rule_type | string (Commission rate) Enum: "billing.flatpercentagerule" "billing.invoicesuccessionrule" "billing.accountmrrrule" |
{- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}
{- "id": 0,
- "terms": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
], - "rules": [
- {
- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
], - "model": "string",
- "schema": "string",
- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}
You need to have a Kickback feature enabled to use this endpoint.
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
]
}
You need to have a Kickback feature enabled to use this endpoint.
percentage | string <decimal> (Percentage) |
succession_position | integer (Invoice order) [ -2147483648 .. 2147483647 ] |
mrr_value | integer (Minimal MRR Value) [ -2147483648 .. 2147483647 ] |
{- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
{- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
You need to have a Kickback feature enabled to use this endpoint.
id required | integer A unique integer value identifying this kickback percentage rule. |
{- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
You need to have a Kickback feature enabled to use this endpoint.
id required | integer A unique integer value identifying this kickback percentage rule. |
percentage | string <decimal> (Percentage) |
succession_position | integer (Invoice order) [ -2147483648 .. 2147483647 ] |
mrr_value | integer (Minimal MRR Value) [ -2147483648 .. 2147483647 ] |
{- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
{- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
You need to have a Kickback feature enabled to use this endpoint.
id required | integer A unique integer value identifying this kickback percentage rule. |
percentage | string <decimal> (Percentage) |
succession_position | integer (Invoice order) [ -2147483648 .. 2147483647 ] |
mrr_value | integer (Minimal MRR Value) [ -2147483648 .. 2147483647 ] |
{- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
{- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
List available Organization Members
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
[- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_admin": true,
- "language": "string",
- "initials": "string",
- "color": "string",
- "organization": {
- "name": "string",
- "base_currency": "DKK",
- "features": [
- {
- "name": "revenue_groups",
- "model": "string",
- "schema": "string"
}
], - "country": "AF",
- "time_zone": "Africa/Abidjan",
- "status": "trial",
- "trial_expiry": "2019-08-24T14:15:22Z",
- "uses_internal_billing": true,
- "onboarding_flow": "string",
- "inbound_receipt_email": "string",
- "inbound_invoice_email": "string",
- "fenerum_support_has_access": "string",
- "model": "string",
- "schema": "string"
}, - "user": {
- "email": "user@example.com",
- "is_staff": true,
- "model": "string",
- "schema": "string"
}, - "permissions": [
- "billing_read"
], - "model": "string",
- "schema": "string"
}
]
Retrieve details of the currently authenticated Organization Member
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_admin": true,
- "language": "string",
- "initials": "string",
- "color": "string",
- "organization": {
- "name": "string",
- "base_currency": "DKK",
- "features": [
- {
- "name": "revenue_groups",
- "model": "string",
- "schema": "string"
}
], - "country": "AF",
- "time_zone": "Africa/Abidjan",
- "status": "trial",
- "trial_expiry": "2019-08-24T14:15:22Z",
- "uses_internal_billing": true,
- "onboarding_flow": "string",
- "inbound_receipt_email": "string",
- "inbound_invoice_email": "string",
- "fenerum_support_has_access": "string",
- "model": "string",
- "schema": "string"
}, - "user": {
- "email": "user@example.com",
- "is_staff": true,
- "model": "string",
- "schema": "string"
}, - "permissions": [
- "billing_read"
], - "model": "string",
- "schema": "string"
}
You need to have a Kickback feature enabled to use this endpoint.
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "id": 0,
- "account_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}
], - "contract_id": 0,
- "contract": {
- "id": 0,
- "terms": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
], - "rules": [
- {
- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
], - "model": "string",
- "schema": "string",
- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}, - "model": "string",
- "schema": "string",
- "name": "string",
- "email": "user@example.com",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
]
}
You need to have a Kickback feature enabled to use this endpoint.
contract_id required | integer (Contract id) |
object (KickbackContract) | |
name required | string (Name) [ 1 .. 128 ] characters |
string or null <email> (Email) <= 254 characters | |
start_date required | string <date> (Start date) |
end_date | string or null <date> (End date) |
{- "contract_id": 0,
- "contract": {
- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}, - "name": "string",
- "email": "user@example.com",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
{- "id": 0,
- "account_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}
], - "contract_id": 0,
- "contract": {
- "id": 0,
- "terms": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
], - "rules": [
- {
- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
], - "model": "string",
- "schema": "string",
- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}, - "model": "string",
- "schema": "string",
- "name": "string",
- "email": "user@example.com",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
You need to have a Kickback feature enabled to use this endpoint.
id required | integer A unique integer value identifying this partner. |
{- "id": 0,
- "account_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}
], - "contract_id": 0,
- "contract": {
- "id": 0,
- "terms": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
], - "rules": [
- {
- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
], - "model": "string",
- "schema": "string",
- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}, - "model": "string",
- "schema": "string",
- "name": "string",
- "email": "user@example.com",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
You need to have a Kickback feature enabled to use this endpoint.
id required | integer A unique integer value identifying this partner. |
contract_id required | integer (Contract id) |
object (KickbackContract) | |
name required | string (Name) [ 1 .. 128 ] characters |
string or null <email> (Email) <= 254 characters | |
start_date required | string <date> (Start date) |
end_date | string or null <date> (End date) |
{- "contract_id": 0,
- "contract": {
- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}, - "name": "string",
- "email": "user@example.com",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
{- "id": 0,
- "account_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}
], - "contract_id": 0,
- "contract": {
- "id": 0,
- "terms": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
], - "rules": [
- {
- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
], - "model": "string",
- "schema": "string",
- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}, - "model": "string",
- "schema": "string",
- "name": "string",
- "email": "user@example.com",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
You need to have a Kickback feature enabled to use this endpoint.
id required | integer A unique integer value identifying this partner. |
contract_id required | integer (Contract id) |
object (KickbackContract) | |
name required | string (Name) [ 1 .. 128 ] characters |
string or null <email> (Email) <= 254 characters | |
start_date required | string <date> (Start date) |
end_date | string or null <date> (End date) |
{- "contract_id": 0,
- "contract": {
- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}, - "name": "string",
- "email": "user@example.com",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
{- "id": 0,
- "account_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}
], - "contract_id": 0,
- "contract": {
- "id": 0,
- "terms": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
], - "rules": [
- {
- "id": 0,
- "description": "string",
- "model": "string",
- "schema": "string",
- "type": "billing.flatpercentagerule",
- "percentage": "string",
- "succession_position": -2147483648,
- "mrr_value": -2147483648
}
], - "model": "string",
- "schema": "string",
- "name": "string",
- "include_upgrades": true,
- "indefinite": true,
- "duration_amount": -2147483648,
- "duration_unit": "month",
- "percentage_rule_type": "billing.flatpercentagerule"
}, - "model": "string",
- "schema": "string",
- "name": "string",
- "email": "user@example.com",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
Here you can obtain a kickback amount in specified time period for a given partner.
id required | integer A unique integer value identifying this partner. |
start_date | string Default: "Today's date" Which date should be taken as base for calculcation |
end_date | string Default: "Today's date" Which date should be taken as base for calculcation |
{- "kickbacks": [
- {
- "amount": 0,
- "currency": "DKK"
}
], - "invoice_lines": [
- {
- "id": 0,
- "invoice": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "invoice_number": 0,
- "invoice_api_url": "string",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "date": "2019-08-24",
- "due_date": "2019-08-24",
- "currency": "DKK",
- "status": "open",
- "collection_method": "payment_card",
- "total": "string",
- "subtotal": "string",
- "vat": "string",
- "model": "string",
- "schema": "string"
}, - "description": "string",
- "date_from": "2019-08-24",
- "date_to": "2019-08-24",
- "price": "string",
- "quantity": "string",
- "currency": "string",
- "refund_of": 0,
- "subscription": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}, - "model": "string",
- "schema": "string"
}
]
}
Payment Cards cover both credit and debit cards attached to an account.
account | string Filter using account code (External ID) |
status | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "active": "string",
- "brand": "string",
- "card_number": "string",
- "month": -2147483648,
- "year": -2147483648,
- "name": "string",
- "payment_gateway": "stripe",
- "payment_gateway_id": "string",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "model": "string",
- "schema": "string"
}
]
}
Payment Cards cover both credit and debit cards attached to an account.
account required | string <uuid> (Account) |
gateway required | string (Gateway) Enum: "stripe" "stripe_new" "noop" "quickpay" "dibs" "dibs_easy" Payment gateway from which this card is. This field determines what will be stored as |
token required | string (Token) non-empty ID in payment gateway. What it is depends on the |
currency | string (Currency) Enum: "DKK" "EUR" "USD" "GBP" "NZD" "CHF" "PLN" "SEK" "NOK" "ISK" "AUD" "CAD" "CZK" Required for the dibs_easy gateway unless you use payment id as the token. |
{- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "gateway": "stripe",
- "token": "string",
- "currency": "DKK"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "active": "string",
- "brand": "string",
- "card_number": "string",
- "month": -2147483648,
- "year": -2147483648,
- "name": "string",
- "payment_gateway": "stripe",
- "payment_gateway_id": "string",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "model": "string",
- "schema": "string"
}
Payment Cards cover both credit and debit cards attached to an account.
payment_gateway required | string (Payment gateway) Enum: "stripe" "stripe_new" |
{- "payment_gateway": "stripe"
}
{- "payment_gateway": "stripe",
- "setup_details": { }
}
Payment Cards cover both credit and debit cards attached to an account.
uuid required | string <uuid> A UUID string identifying this Payment Card. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "active": "string",
- "brand": "string",
- "card_number": "string",
- "month": -2147483648,
- "year": -2147483648,
- "name": "string",
- "payment_gateway": "stripe",
- "payment_gateway_id": "string",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "model": "string",
- "schema": "string"
}
Payment Cards cover both credit and debit cards attached to an account.
uuid required | string <uuid> A UUID string identifying this Payment Card. |
{ }
code | string |
with_code | string |
last_modified_date__lte | string Format: YYYY-MM-DD |
last_modified_date__org_tz_lte | string Format: YYYY-MM-DD |
last_modified_date__gte | string Format: YYYY-MM-DD |
last_modified_date__org_tz_gte | string Format: YYYY-MM-DD |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "description": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "planterms_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
], - "last_modified_date": "2019-08-24T14:15:22Z",
- "model": "string",
- "schema": "string"
}
]
}
name required | string (Name) [ 1 .. 128 ] characters |
code | string or null (Custom ID from external system) <= 128 characters ID from external system. If you don't have one you can just put any unique value here by which you will be able to reference this object on other items. |
description | string or null (Description) |
collect_vat | boolean (Collect VAT) |
vat_type required | string (VAT type) Enum: "physical" "services" "unknown" |
{- "name": "string",
- "code": "string",
- "description": "string",
- "collect_vat": true,
- "vat_type": "physical"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "description": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "planterms_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
], - "last_modified_date": "2019-08-24T14:15:22Z",
- "model": "string",
- "schema": "string"
}
account_code | string (Account code) non-empty |
account_country_code required | string (Account country code) non-empty |
terms required | string <uuid> (Terms) |
quantity required | integer (Quantity) |
{- "account_code": "string",
- "account_country_code": "string",
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "quantity": 0
}
{- "account_code": "string",
- "account_country_code": "string",
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "quantity": 0,
- "model": "string",
- "schema": "string"
}
identifier required | string |
Lookup-Field | string Name of field used as resource identifier. Possible values: uuid, code |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "description": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "planterms_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
], - "last_modified_date": "2019-08-24T14:15:22Z",
- "model": "string",
- "schema": "string"
}
identifier required | string |
Lookup-Field | string Name of field used as resource identifier. Possible values: uuid, code |
name required | string (Name) [ 1 .. 128 ] characters |
code | string or null (Custom ID from external system) <= 128 characters ID from external system. If you don't have one you can just put any unique value here by which you will be able to reference this object on other items. |
description | string or null (Description) |
collect_vat | boolean (Collect VAT) |
vat_type required | string (VAT type) Enum: "physical" "services" "unknown" |
{- "name": "string",
- "code": "string",
- "description": "string",
- "collect_vat": true,
- "vat_type": "physical"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "description": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "planterms_set": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
], - "last_modified_date": "2019-08-24T14:15:22Z",
- "model": "string",
- "schema": "string"
}
plan_identifier required | string |
code | string |
Lookup-Field | string Name of field used as resource identifiers. Possible values: uuid, code |
[- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
]
plan_identifier required | string |
Lookup-Field | string Name of field used as resource identifiers. Possible values: uuid, code |
code | string or null (Custom ID from external system) <= 128 characters ID from external system. If you don't have one you can just put any unique value here by which you will be able to reference this object on other items. |
interval_type required | string (Interval type) Enum: "day" "month" "year" |
interval_count required | integer (Interval count) [ 1 .. 2147483647 ] |
price required | string <decimal> (Price) |
currency required | string (Currency) Enum: "DKK" "EUR" "USD" "GBP" "NZD" "CHF" "PLN" "SEK" "NOK" "ISK" "AUD" "CAD" "CZK" |
backwards_charging | boolean (Backwards charging) |
active | boolean (Active) |
revenue_group | string or null (Revenue group) Name of the Revenue Group (only if Revenue Group feature is enabled, also field is required then). |
{- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
identifier required | string |
plan_identifier required | string |
Lookup-Field | string Name of field used as resource identifiers. Possible values: uuid, code |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
identifier required | string |
plan_identifier required | string |
Lookup-Field | string Name of field used as resource identifiers. Possible values: uuid, code |
code | string or null (Custom ID from external system) <= 128 characters ID from external system. If you don't have one you can just put any unique value here by which you will be able to reference this object on other items. |
interval_type required | string (Interval type) Enum: "day" "month" "year" |
interval_count required | integer (Interval count) [ 1 .. 2147483647 ] |
price required | string <decimal> (Price) |
currency required | string (Currency) Enum: "DKK" "EUR" "USD" "GBP" "NZD" "CHF" "PLN" "SEK" "NOK" "ISK" "AUD" "CAD" "CZK" |
active | boolean (Active) |
revenue_group | string or null (Revenue group) Name of the Revenue Group (only if Revenue Group feature is enabled, also field is required then). |
{- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "active": true,
- "revenue_group": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}
product_type | string |
is_active | string |
name | string |
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "description": "string",
- "revenue_group": 0,
- "product_type": "goods",
- "is_active": true,
- "product_pricings": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "price": "string",
- "currency": "DKK",
- "is_active": true
}
]
}
]
}
name required | string (Name) [ 1 .. 100 ] characters |
description | string (Description) Will be displayed under the name of Invoice Line |
revenue_group required | integer (Revenue group) |
product_type required | string (Product type) Enum: "goods" "services" |
is_active | boolean (Is active) |
{- "name": "string",
- "description": "string",
- "revenue_group": 0,
- "product_type": "goods",
- "is_active": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "description": "string",
- "revenue_group": 0,
- "product_type": "goods",
- "is_active": true,
- "product_pricings": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "price": "string",
- "currency": "DKK",
- "is_active": true
}
]
}
name required | string (Name) [ 1 .. 100 ] characters |
description | string (Description) Will be displayed under the name of Invoice Line |
revenue_group required | integer (Revenue group) |
product_type required | string (Product type) Enum: "goods" "services" |
is_active | boolean (Is active) |
{- "name": "string",
- "description": "string",
- "revenue_group": 0,
- "product_type": "goods",
- "is_active": true
}
{- "export_id": "string",
- "job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e"
}
name required | string (Name) [ 1 .. 100 ] characters |
description | string (Description) Will be displayed under the name of Invoice Line |
revenue_group required | integer (Revenue group) |
product_type required | string (Product type) Enum: "goods" "services" |
is_active | boolean (Is active) |
{- "name": "string",
- "description": "string",
- "revenue_group": 0,
- "product_type": "goods",
- "is_active": true
}
{- "export_id": "string",
- "job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e"
}
uuid required | string <uuid> A UUID string identifying this product. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "description": "string",
- "revenue_group": 0,
- "product_type": "goods",
- "is_active": true,
- "product_pricings": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "price": "string",
- "currency": "DKK",
- "is_active": true
}
]
}
uuid required | string <uuid> A UUID string identifying this product. |
name required | string (Name) [ 1 .. 100 ] characters |
description | string (Description) Will be displayed under the name of Invoice Line |
revenue_group required | integer (Revenue group) |
product_type required | string (Product type) Enum: "goods" "services" |
is_active | boolean (Is active) |
{- "name": "string",
- "description": "string",
- "revenue_group": 0,
- "product_type": "goods",
- "is_active": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "description": "string",
- "revenue_group": 0,
- "product_type": "goods",
- "is_active": true,
- "product_pricings": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "price": "string",
- "currency": "DKK",
- "is_active": true
}
]
}
uuid required | string <uuid> A UUID string identifying this product. |
name required | string (Name) [ 1 .. 100 ] characters |
description | string (Description) Will be displayed under the name of Invoice Line |
revenue_group required | integer (Revenue group) |
product_type required | string (Product type) Enum: "goods" "services" |
is_active | boolean (Is active) |
{- "name": "string",
- "description": "string",
- "revenue_group": 0,
- "product_type": "goods",
- "is_active": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "description": "string",
- "revenue_group": 0,
- "product_type": "goods",
- "is_active": true,
- "product_pricings": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "price": "string",
- "currency": "DKK",
- "is_active": true
}
]
}
product_uuid required | string |
price required | string <decimal> (Price) |
currency required | string (Currency) Enum: "DKK" "EUR" "USD" "GBP" "NZD" "CHF" "PLN" "SEK" "NOK" "ISK" "AUD" "CAD" "CZK" |
is_active | boolean (Is active) |
{- "price": "string",
- "currency": "DKK",
- "is_active": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "price": "string",
- "currency": "DKK",
- "is_active": true
}
product_uuid required | string |
uuid required | string <uuid> A UUID string identifying this product pricing. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "price": "string",
- "currency": "DKK",
- "is_active": true
}
product_uuid required | string |
uuid required | string <uuid> A UUID string identifying this product pricing. |
price required | string <decimal> (Price) |
currency required | string (Currency) Enum: "DKK" "EUR" "USD" "GBP" "NZD" "CHF" "PLN" "SEK" "NOK" "ISK" "AUD" "CAD" "CZK" |
is_active | boolean (Is active) |
{- "price": "string",
- "currency": "DKK",
- "is_active": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "price": "string",
- "currency": "DKK",
- "is_active": true
}
product_uuid required | string |
uuid required | string <uuid> A UUID string identifying this product pricing. |
price required | string <decimal> (Price) |
currency required | string (Currency) Enum: "DKK" "EUR" "USD" "GBP" "NZD" "CHF" "PLN" "SEK" "NOK" "ISK" "AUD" "CAD" "CZK" |
is_active | boolean (Is active) |
{- "price": "string",
- "currency": "DKK",
- "is_active": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "price": "string",
- "currency": "DKK",
- "is_active": true
}
currency | string |
status | string |
pending_match | string |
verified | string |
document_date__lte | string Format: YYYY-MM-DD |
document_date__gte | string Format: YYYY-MM-DD |
created_date__lte | string Format: YYYY-MM-DD |
created_date__org_tz_lte | string Format: YYYY-MM-DD |
created_date__gte | string Format: YYYY-MM-DD |
created_date__org_tz_gte | string Format: YYYY-MM-DD |
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id": 0,
- "status": "unmatched",
- "document_date": "2019-08-24",
- "amount": "string",
- "currency": "DKK",
- "supplier": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "legal_vat_number": "string",
- "legal_country": "AF",
- "default_cost_account": "d95e1ce1-1a2a-41f0-ad5c-e45062191abd",
- "default_payment_identifier": "IBAN",
- "default_payment_account": "string",
- "model": "string",
- "schema": "string"
}, - "supplier_receipt_number": "string",
- "cost_account": "string",
- "note": "string",
- "file_url": "string",
- "verified_by": "8c493be0-efe2-4a3e-bdbd-7af0eab50aa2",
- "verified_by_for_display": "string",
- "verified_on": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_for_display": "string",
- "created_on": "2019-08-24T14:15:22Z",
- "matched_expenses_amount": "string",
- "matched_expenses_remaining_amount": "string",
- "expense_set": [
- {
- "cost_account": "1e6d13a4-88d1-4e89-9559-0ac7b449f1cb",
- "cost_account_display": "string",
- "invoice_amount": "string",
- "invoice_currency": "DKK",
- "bank_account_line_date": "string",
- "expense_type_display": "string",
- "receipt_url": "string",
- "model": "string",
- "schema": "string"
}
], - "costs": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "amount": "string",
- "cost_account": "1e6d13a4-88d1-4e89-9559-0ac7b449f1cb",
- "cost_account_for_display": "string"
}
], - "senders_email": "user@example.com",
- "original_filename": "string",
- "model": "string",
- "schema": "string"
}
]
}
document_date | string or null <date> (Document date) |
currency required | string (Currency) Enum: "DKK" "EUR" "USD" "GBP" "NZD" "CHF" "PLN" "SEK" "NOK" "ISK" "AUD" "CAD" "CZK" |
required | object (Supplier) |
supplier_receipt_number | string or null (Supplier receipt number) <= 128 characters |
note | string (Note) |
verified_by | string or null <uuid> (Verified by) |
verified_on | string or null <date-time> (Verified on) |
created_by | string or null <uuid> (Created by) |
required | Array of objects (MinimalExpenseDocumentCost) |
senders_email | string <email> (Senders email) <= 254 characters |
original_filename | string (Original filename) <= 128 characters |
{- "document_date": "2019-08-24",
- "currency": "DKK",
- "supplier": {
- "name": "string",
- "legal_vat_number": "string",
- "legal_country": "AF",
- "default_cost_account": "d95e1ce1-1a2a-41f0-ad5c-e45062191abd",
- "default_payment_identifier": "IBAN",
- "default_payment_account": "string"
}, - "supplier_receipt_number": "string",
- "note": "string",
- "verified_by": "8c493be0-efe2-4a3e-bdbd-7af0eab50aa2",
- "verified_on": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "costs": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "amount": "string",
- "cost_account": "1e6d13a4-88d1-4e89-9559-0ac7b449f1cb"
}
], - "senders_email": "user@example.com",
- "original_filename": "string"
}
{- "action_id": "string",
- "job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id": 0,
- "status": "unmatched",
- "document_date": "2019-08-24",
- "amount": "string",
- "currency": "DKK",
- "supplier": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "legal_vat_number": "string",
- "legal_country": "AF",
- "default_cost_account": "d95e1ce1-1a2a-41f0-ad5c-e45062191abd",
- "default_payment_identifier": "IBAN",
- "default_payment_account": "string",
- "model": "string",
- "schema": "string"
}, - "supplier_receipt_number": "string",
- "cost_account": "string",
- "note": "string",
- "file_url": "string",
- "verified_by": "8c493be0-efe2-4a3e-bdbd-7af0eab50aa2",
- "verified_by_for_display": "string",
- "verified_on": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_for_display": "string",
- "created_on": "2019-08-24T14:15:22Z",
- "matched_expenses_amount": "string",
- "matched_expenses_remaining_amount": "string",
- "expense_set": [
- {
- "cost_account": "1e6d13a4-88d1-4e89-9559-0ac7b449f1cb",
- "cost_account_display": "string",
- "invoice_amount": "string",
- "invoice_currency": "DKK",
- "bank_account_line_date": "string",
- "expense_type_display": "string",
- "receipt_url": "string",
- "model": "string",
- "schema": "string"
}
], - "costs": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "amount": "string",
- "cost_account": "1e6d13a4-88d1-4e89-9559-0ac7b449f1cb",
- "cost_account_for_display": "string"
}
], - "senders_email": "user@example.com",
- "original_filename": "string",
- "model": "string",
- "schema": "string"
}
Recipients are destinations where we send notifications for a given account. Each recipient may ask for certain notifications only.
string | |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "account_code": "string",
- "name": "string",
- "email": "user@example.com",
- "receive_invoice": true,
- "receive_payment_confirmation": true,
- "receive_payment_card_notifications": true,
- "has_access_to_self_service": true,
- "model": "string",
- "schema": "string"
}
]
}
Recipients are destinations where we send notifications for a given account. Each recipient may ask for certain notifications only.
account required | string <uuid> (Account) Account UUID for which recipient will be created. |
name required | string (Name) [ 1 .. 128 ] characters |
email required | string <email> (Email) [ 1 .. 254 ] characters |
receive_invoice required | boolean (Receive invoice) |
receive_payment_confirmation required | boolean (Receive payment confirmation) When checked, the recipient will receive a payment confirmation whenever a payment succeeds. This applies to all collection methods. |
receive_payment_card_notifications | boolean (Receive payment card notification) In order to send card expiry notifications you also need to enable it in the payments section of the integrations settings |
has_access_to_self_service | boolean (Has access to Self-Service) When checked, the recipient has access to Self-Service |
{- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "name": "string",
- "email": "user@example.com",
- "receive_invoice": true,
- "receive_payment_confirmation": true,
- "receive_payment_card_notifications": true,
- "has_access_to_self_service": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "account_code": "string",
- "name": "string",
- "email": "user@example.com",
- "receive_invoice": true,
- "receive_payment_confirmation": true,
- "receive_payment_card_notifications": true,
- "has_access_to_self_service": true,
- "model": "string",
- "schema": "string"
}
Recipients are destinations where we send notifications for a given account. Each recipient may ask for certain notifications only.
{ }
{- "export_id": "string",
- "job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e"
}
Recipients are destinations where we send notifications for a given account. Each recipient may ask for certain notifications only.
uuid required | string <uuid> A UUID string identifying this Recipient. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "account_code": "string",
- "name": "string",
- "email": "user@example.com",
- "receive_invoice": true,
- "receive_payment_confirmation": true,
- "receive_payment_card_notifications": true,
- "has_access_to_self_service": true,
- "model": "string",
- "schema": "string"
}
Recipients are destinations where we send notifications for a given account. Each recipient may ask for certain notifications only.
uuid required | string <uuid> A UUID string identifying this Recipient. |
account required | string <uuid> (Account) Account UUID for which recipient will be created. |
name required | string (Name) [ 1 .. 128 ] characters |
email required | string <email> (Email) [ 1 .. 254 ] characters |
receive_invoice required | boolean (Receive invoice) |
receive_payment_confirmation required | boolean (Receive payment confirmation) When checked, the recipient will receive a payment confirmation whenever a payment succeeds. This applies to all collection methods. |
receive_payment_card_notifications | boolean (Receive payment card notification) In order to send card expiry notifications you also need to enable it in the payments section of the integrations settings |
has_access_to_self_service | boolean (Has access to Self-Service) When checked, the recipient has access to Self-Service |
{- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "name": "string",
- "email": "user@example.com",
- "receive_invoice": true,
- "receive_payment_confirmation": true,
- "receive_payment_card_notifications": true,
- "has_access_to_self_service": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "account_code": "string",
- "name": "string",
- "email": "user@example.com",
- "receive_invoice": true,
- "receive_payment_confirmation": true,
- "receive_payment_card_notifications": true,
- "has_access_to_self_service": true,
- "model": "string",
- "schema": "string"
}
Recipients are destinations where we send notifications for a given account. Each recipient may ask for certain notifications only.
uuid required | string <uuid> A UUID string identifying this Recipient. |
account required | string <uuid> (Account) Account UUID for which recipient will be created. |
name required | string (Name) [ 1 .. 128 ] characters |
email required | string <email> (Email) [ 1 .. 254 ] characters |
receive_invoice required | boolean (Receive invoice) |
receive_payment_confirmation required | boolean (Receive payment confirmation) When checked, the recipient will receive a payment confirmation whenever a payment succeeds. This applies to all collection methods. |
receive_payment_card_notifications | boolean (Receive payment card notification) In order to send card expiry notifications you also need to enable it in the payments section of the integrations settings |
has_access_to_self_service | boolean (Has access to Self-Service) When checked, the recipient has access to Self-Service |
{- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "name": "string",
- "email": "user@example.com",
- "receive_invoice": true,
- "receive_payment_confirmation": true,
- "receive_payment_card_notifications": true,
- "has_access_to_self_service": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "account_code": "string",
- "name": "string",
- "email": "user@example.com",
- "receive_invoice": true,
- "receive_payment_confirmation": true,
- "receive_payment_card_notifications": true,
- "has_access_to_self_service": true,
- "model": "string",
- "schema": "string"
}
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "id": 0,
- "name": "string",
- "revenuegroupcountry_set": [
- {
- "country": "AF",
- "revenue_account": "7dde5e0b-18dd-4df2-9f03-d20d863c3164",
- "model": "string",
- "schema": "string"
}
], - "default_revenue_account_eu": "f9583bcc-541a-4159-b188-3eceb6c658e8",
- "default_revenue_account_eu_vat_exempt": "f8577732-8caf-4d88-ad11-4f43a9ec05bd",
- "default_revenue_account": "e423f4ec-f607-4f5a-9676-bb4746c9b320",
- "model": "string",
- "schema": "string"
}
]
}
name required | string (Name) [ 1 .. 100 ] characters |
required | Array of objects (RevenueGroupCountry) |
default_revenue_account_eu | string or null <uuid> (Revenue account for EU clients) |
default_revenue_account_eu_vat_exempt | string or null <uuid> (Revenue account for EU VAT-exempt clients) In most cases, you could use the same account that you use for domestic sales |
default_revenue_account | string or null <uuid> (Revenue account for clients from the rest of the world) |
{- "name": "string",
- "revenuegroupcountry_set": [
- {
- "country": "AF",
- "revenue_account": "7dde5e0b-18dd-4df2-9f03-d20d863c3164"
}
], - "default_revenue_account_eu": "f9583bcc-541a-4159-b188-3eceb6c658e8",
- "default_revenue_account_eu_vat_exempt": "f8577732-8caf-4d88-ad11-4f43a9ec05bd",
- "default_revenue_account": "e423f4ec-f607-4f5a-9676-bb4746c9b320"
}
{- "id": 0,
- "name": "string",
- "revenuegroupcountry_set": [
- {
- "country": "AF",
- "revenue_account": "7dde5e0b-18dd-4df2-9f03-d20d863c3164",
- "model": "string",
- "schema": "string"
}
], - "default_revenue_account_eu": "f9583bcc-541a-4159-b188-3eceb6c658e8",
- "default_revenue_account_eu_vat_exempt": "f8577732-8caf-4d88-ad11-4f43a9ec05bd",
- "default_revenue_account": "e423f4ec-f607-4f5a-9676-bb4746c9b320",
- "model": "string",
- "schema": "string"
}
id required | integer A unique integer value identifying this Revenue Group. |
{- "id": 0,
- "name": "string",
- "revenuegroupcountry_set": [
- {
- "country": "AF",
- "revenue_account": "7dde5e0b-18dd-4df2-9f03-d20d863c3164",
- "model": "string",
- "schema": "string"
}
], - "default_revenue_account_eu": "f9583bcc-541a-4159-b188-3eceb6c658e8",
- "default_revenue_account_eu_vat_exempt": "f8577732-8caf-4d88-ad11-4f43a9ec05bd",
- "default_revenue_account": "e423f4ec-f607-4f5a-9676-bb4746c9b320",
- "model": "string",
- "schema": "string"
}
id required | integer A unique integer value identifying this Revenue Group. |
name required | string (Name) [ 1 .. 100 ] characters |
required | Array of objects (RevenueGroupCountry) |
default_revenue_account_eu | string or null <uuid> (Revenue account for EU clients) |
default_revenue_account_eu_vat_exempt | string or null <uuid> (Revenue account for EU VAT-exempt clients) In most cases, you could use the same account that you use for domestic sales |
default_revenue_account | string or null <uuid> (Revenue account for clients from the rest of the world) |
{- "name": "string",
- "revenuegroupcountry_set": [
- {
- "country": "AF",
- "revenue_account": "7dde5e0b-18dd-4df2-9f03-d20d863c3164"
}
], - "default_revenue_account_eu": "f9583bcc-541a-4159-b188-3eceb6c658e8",
- "default_revenue_account_eu_vat_exempt": "f8577732-8caf-4d88-ad11-4f43a9ec05bd",
- "default_revenue_account": "e423f4ec-f607-4f5a-9676-bb4746c9b320"
}
{- "id": 0,
- "name": "string",
- "revenuegroupcountry_set": [
- {
- "country": "AF",
- "revenue_account": "7dde5e0b-18dd-4df2-9f03-d20d863c3164",
- "model": "string",
- "schema": "string"
}
], - "default_revenue_account_eu": "f9583bcc-541a-4159-b188-3eceb6c658e8",
- "default_revenue_account_eu_vat_exempt": "f8577732-8caf-4d88-ad11-4f43a9ec05bd",
- "default_revenue_account": "e423f4ec-f607-4f5a-9676-bb4746c9b320",
- "model": "string",
- "schema": "string"
}
id required | integer A unique integer value identifying this Revenue Group. |
name required | string (Name) [ 1 .. 100 ] characters |
required | Array of objects (RevenueGroupCountry) |
default_revenue_account_eu | string or null <uuid> (Revenue account for EU clients) |
default_revenue_account_eu_vat_exempt | string or null <uuid> (Revenue account for EU VAT-exempt clients) In most cases, you could use the same account that you use for domestic sales |
default_revenue_account | string or null <uuid> (Revenue account for clients from the rest of the world) |
{- "name": "string",
- "revenuegroupcountry_set": [
- {
- "country": "AF",
- "revenue_account": "7dde5e0b-18dd-4df2-9f03-d20d863c3164"
}
], - "default_revenue_account_eu": "f9583bcc-541a-4159-b188-3eceb6c658e8",
- "default_revenue_account_eu_vat_exempt": "f8577732-8caf-4d88-ad11-4f43a9ec05bd",
- "default_revenue_account": "e423f4ec-f607-4f5a-9676-bb4746c9b320"
}
{- "id": 0,
- "name": "string",
- "revenuegroupcountry_set": [
- {
- "country": "AF",
- "revenue_account": "7dde5e0b-18dd-4df2-9f03-d20d863c3164",
- "model": "string",
- "schema": "string"
}
], - "default_revenue_account_eu": "f9583bcc-541a-4159-b188-3eceb6c658e8",
- "default_revenue_account_eu_vat_exempt": "f8577732-8caf-4d88-ad11-4f43a9ec05bd",
- "default_revenue_account": "e423f4ec-f607-4f5a-9676-bb4746c9b320",
- "model": "string",
- "schema": "string"
}
Subscriptions are instances of plan terms on a specific account. You can modify subscriptions or cancel them.
account | string Filter using account code (External ID) |
plan | string Filter using Plan UUID |
terms | string Filter using Plan Terms UUID |
status | string |
collection_method | string |
account_active_payment_method | string |
set_to_expire | string |
has_recipient_receiving_invoices | string |
has_custom_price | string |
start_date__lte | string Format: YYYY-MM-DD |
start_date__org_tz_lte | string Format: YYYY-MM-DD |
start_date__gte | string Format: YYYY-MM-DD |
start_date__org_tz_gte | string Format: YYYY-MM-DD |
next_renewal_date__lte | string Format: YYYY-MM-DD |
next_renewal_date__org_tz_lte | string Format: YYYY-MM-DD |
next_renewal_date__gte | string Format: YYYY-MM-DD |
next_renewal_date__org_tz_gte | string Format: YYYY-MM-DD |
end_date__lte | string Format: YYYY-MM-DD |
end_date__org_tz_lte | string Format: YYYY-MM-DD |
end_date__gte | string Format: YYYY-MM-DD |
end_date__org_tz_gte | string Format: YYYY-MM-DD |
last_modified_date__lte | string Format: YYYY-MM-DD |
last_modified_date__org_tz_lte | string Format: YYYY-MM-DD |
last_modified_date__gte | string Format: YYYY-MM-DD |
last_modified_date__org_tz_gte | string Format: YYYY-MM-DD |
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
]
}
account required | string (Account) Account code (ID from external system) |
terms required | string <uuid> (Terms) |
pre_renewal_invoicing | boolean (Pre renewal invoicing) Default: false DEPRECATED: use pre_renewal_days_offset instead |
custom_fields | object (SubscriptionCustomFields) |
start_date | string or null <date-time> (Start date) If not set it will be set to the moment of creation to start immediately. |
custom_churn_reason | string or null (Custom churn reason) <= 100 characters |
quantity | integer (Quantity) [ 0 .. 2147483647 ] Default: 1 Number of subscribed users |
collection_method required | string (Collection method) Enum: "payment_card" "invoice" "direct_debit" |
group_on_invoice | boolean (Group on invoice) Subscription renewing on the same date, with same currency, payment terms, collection method and PO number will be charged on the single invoice. |
payment_terms | integer or null (Payment terms) [ 0 .. 2147483647 ] Default: 0 Days until payment, 0 means on receipt. If left empty default value will be used. Default value is taken from account setting (Default payment terms). If account setting is empty it will default to the organization setting. |
override_price | string or null <decimal> (Override price) Specify the price and override the one form the Plan Term. If any discounts are applicable to this Subscription, they will be applied to this price. |
pre_renewal_days_offset | integer (Pre-renewal invoicing) [ 0 .. 32767 ] Default: 0 Number of days before the renewal date a new invoice should be generated. It can be set only for forward-charging plans. |
reference_person | string (Reference person) <= 128 characters |
account_reference_person | string (Your reference) <= 128 characters |
po_number | string (PO number) <= 128 characters |
case_number | string (Case number) <= 128 characters |
invoice_supplement | string or null (Invoice supplement) Additional text that will be added to description on the invoice line. |
churn_reason | string or null <uuid> (Churn reason) You can define available churn reasons in Objects Settings |
{- "account": "string",
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "pre_renewal_invoicing": false,
- "custom_fields": { },
- "start_date": "2019-08-24T14:15:22Z",
- "custom_churn_reason": "string",
- "quantity": 1,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": 0,
- "override_price": "string",
- "pre_renewal_days_offset": 0,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "churn_reason": "b06e9988-1cd3-4228-a984-64110b49a9ec"
}
{- "account": "string",
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "pre_renewal_invoicing": false,
- "custom_fields": { },
- "model": "string",
- "schema": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "custom_churn_reason": "string",
- "quantity": 1,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": 0,
- "override_price": "string",
- "pre_renewal_days_offset": 0,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "churn_reason": "b06e9988-1cd3-4228-a984-64110b49a9ec"
}
Subscriptions are instances of plan terms on a specific account. You can modify subscriptions or cancel them.
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
]
}
Subscriptions are instances of plan terms on a specific account. You can modify subscriptions or cancel them.
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
]
}
Subscriptions are instances of plan terms on a specific account. You can modify subscriptions or cancel them.
object (MinimalAccount) | |
object (PlanTerms) | |
object (EmbeddedPlan) | |
start_date | string or null <date-time> (Start date) If not set it will be set to the moment of creation to start immediately. |
end_date | string or null <date-time> (End date) |
next_renewal_date | string or null <date-time> (Next renewal date) |
last_renewal_date | string or null <date-time> (Last renewal date) |
base_renewal_date | string or null <date-time> (Base renewal date) |
quantity | integer (Quantity) [ 0 .. 2147483647 ] Number of subscribed users |
collection_method | string (Collection method) Enum: "payment_card" "invoice" "direct_debit" |
group_on_invoice | boolean (Group on invoice) Subscription renewing on the same date, with same currency, payment terms, collection method and PO number will be charged on the single invoice. |
payment_terms | integer or null (Payment terms) [ -2147483648 .. 2147483647 ] Days until payment, 0 means on receipt. If left empty default value will be used. Default value is taken from account setting (Default payment terms). If account setting is empty it will default to the organization setting. |
pre_renewal_days_offset | integer (Pre-renewal invoicing) [ 0 .. 32767 ] Number of days before the renewal date a new invoice should be generated. It can be set only for forward-charging plans. |
po_number | string (PO number) <= 128 characters |
invoice_supplement | string or null (Invoice supplement) Additional text that will be added to description on the invoice line. |
override_price | string or null <decimal> (Override price) Specify the price and override the one form the Plan Term. If any discounts are applicable to this Subscription, they will be applied to this price. |
reference_person | string (Reference person) <= 128 characters |
account_reference_person | string (Your reference) <= 128 characters |
case_number | string (Case number) <= 128 characters |
object (ChurnReason) | |
custom_churn_reason | string or null (Custom churn reason) <= 100 characters |
custom_fields | object (SubscriptionCustomFields) |
{- "account": {
- "display_name": "string"
}, - "terms": {
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string"
}, - "plan": {
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "churn_reason": {
- "name": "string",
- "is_active": true
}, - "custom_churn_reason": "string",
- "custom_fields": { }
}
{- "action_id": "string",
- "job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e"
}
Subscriptions are instances of plan terms on a specific account. You can modify subscriptions or cancel them.
{ }
{- "export_id": "string",
- "job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e"
}
Subscriptions are instances of plan terms on a specific account. You can modify subscriptions or cancel them.
year required | integer |
month required | integer |
subscription | string <uuid> |
[- {
- "month": "2019-08-24T14:15:22Z",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "subscription_uuid": "1d315b44-b5ed-49fd-a63a-f8129c5d76c8",
- "company_name": "string",
- "legal_country": "AF",
- "collection_method": "payment_card",
- "payment_terms": 0,
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "terms_interval_type": "string",
- "terms_interval_count": 0,
- "currency": "DKK",
- "quantity": 0,
- "plan_name": "string",
- "plan_uuid": "051b398d-fe45-4274-8e3c-35f1a307183f",
- "revenue_group_id": 0,
- "revenue_group_name": "string",
- "mrr": 0,
- "active": true
}
]
Subscriptions are instances of plan terms on a specific account. You can modify subscriptions or cancel them.
year required | integer |
month required | integer |
subscription | string <uuid> |
[- {
- "month": "2019-08-24T14:15:22Z",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "subscription_uuid": "1d315b44-b5ed-49fd-a63a-f8129c5d76c8",
- "company_name": "string",
- "legal_country": "AF",
- "collection_method": "payment_card",
- "payment_terms": 0,
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "terms_interval_type": "string",
- "terms_interval_count": 0,
- "currency": "DKK",
- "quantity": 0,
- "plan_name": "string",
- "plan_uuid": "051b398d-fe45-4274-8e3c-35f1a307183f",
- "revenue_group_id": 0,
- "revenue_group_name": "string",
- "mrr": 0,
- "active": true
}
]
Subscriptions are instances of plan terms on a specific account. You can modify subscriptions or cancel them.
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
]
}
Subscriptions are instances of plan terms on a specific account. You can modify subscriptions or cancel them.
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
]
}
Returns current and future MRRs.
account | string Filter using account code (External ID) |
plan | string Filter using Plan UUID |
terms | string Filter using Plan Terms UUID |
status | string |
collection_method | string |
account_active_payment_method | string |
set_to_expire | string |
has_recipient_receiving_invoices | string |
has_custom_price | string |
start_date__lte | string Format: YYYY-MM-DD |
start_date__org_tz_lte | string Format: YYYY-MM-DD |
start_date__gte | string Format: YYYY-MM-DD |
start_date__org_tz_gte | string Format: YYYY-MM-DD |
next_renewal_date__lte | string Format: YYYY-MM-DD |
next_renewal_date__org_tz_lte | string Format: YYYY-MM-DD |
next_renewal_date__gte | string Format: YYYY-MM-DD |
next_renewal_date__org_tz_gte | string Format: YYYY-MM-DD |
end_date__lte | string Format: YYYY-MM-DD |
end_date__org_tz_lte | string Format: YYYY-MM-DD |
end_date__gte | string Format: YYYY-MM-DD |
end_date__org_tz_gte | string Format: YYYY-MM-DD |
last_modified_date__lte | string Format: YYYY-MM-DD |
last_modified_date__org_tz_lte | string Format: YYYY-MM-DD |
last_modified_date__gte | string Format: YYYY-MM-DD |
last_modified_date__org_tz_gte | string Format: YYYY-MM-DD |
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "total_mrr": "string",
- "future_mrr": "string",
- "subscriptions_count": 0,
- "model": "string",
- "schema": "string"
}
Subscriptions are instances of plan terms on a specific account. You can modify subscriptions or cancel them.
account | string Filter using account code (External ID) |
plan | string Filter using Plan UUID |
terms | string Filter using Plan Terms UUID |
status | string |
collection_method | string |
account_active_payment_method | string |
set_to_expire | string |
has_recipient_receiving_invoices | string |
has_custom_price | string |
start_date__lte | string Format: YYYY-MM-DD |
start_date__org_tz_lte | string Format: YYYY-MM-DD |
start_date__gte | string Format: YYYY-MM-DD |
start_date__org_tz_gte | string Format: YYYY-MM-DD |
next_renewal_date__lte | string Format: YYYY-MM-DD |
next_renewal_date__org_tz_lte | string Format: YYYY-MM-DD |
next_renewal_date__gte | string Format: YYYY-MM-DD |
next_renewal_date__org_tz_gte | string Format: YYYY-MM-DD |
end_date__lte | string Format: YYYY-MM-DD |
end_date__org_tz_lte | string Format: YYYY-MM-DD |
end_date__gte | string Format: YYYY-MM-DD |
end_date__org_tz_gte | string Format: YYYY-MM-DD |
last_modified_date__lte | string Format: YYYY-MM-DD |
last_modified_date__org_tz_lte | string Format: YYYY-MM-DD |
last_modified_date__gte | string Format: YYYY-MM-DD |
last_modified_date__org_tz_gte | string Format: YYYY-MM-DD |
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "total_mrr": "string",
- "future_mrr": "string",
- "subscriptions_count": 0,
- "model": "string",
- "schema": "string"
}
Subscriptions are instances of plan terms on a specific account. You can modify subscriptions or cancel them.
uuid required | string <uuid> A UUID string identifying this Subscription. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
Please consult documentation for details about updating a subscription.
uuid required | string <uuid> A UUID string identifying this Subscription. |
terms | string <uuid> (Terms) |
prorate | boolean (Prorate) Default: true DEPRECATED: use change_type instead |
change_type | string (Change type) Enum: "immediate" "at_specified_time" "at_renewal" |
prorate_date | string <date-time> (Prorate date) Exact date at which scheduled prorate will happen. Provide this only if you have chosen 'at_specified_time' in the change_type field. |
change_renewal | string (Change renewal) Enum: 0 1 2 3 4 5 6 7 8 9 10 11 0 means next renewal, 1 means second renewal etc. Provide this only if you have chosen 'at_renewal' in the change_type field. |
early_renewal | boolean (Early renewal) Default: false Provide this only if you have chosen 'immediate' or 'at_specified_time' in the change_type field.Selecting that option will cause renewing that subscription and create a refund for remaining period.This will happen right now (immediate option) or at a specified time (at_specified_time option) |
custom_fields | object (SubscriptionCustomFields) |
start_date | string or null <date-time> (Start date) Can't be changed after subscription already started or renewed. |
custom_churn_reason | string or null (Custom churn reason) <= 100 characters |
quantity | integer (Quantity) [ 0 .. 2147483647 ] Default: 1 Number of subscribed users |
collection_method | string (Collection method) Enum: "payment_card" "invoice" "direct_debit" |
group_on_invoice | boolean (Group on invoice) Subscription renewing on the same date, with same currency, payment terms, collection method and PO number will be charged on the single invoice. |
payment_terms | integer or null (Payment terms) [ 0 .. 2147483647 ] Default: 0 Days until payment, 0 means on receipt. If left empty default value will be used. Default value is taken from account setting (Default payment terms). If account setting is empty it will default to the organization setting. |
override_price | string or null <decimal> (Override price) Specify the price and override the one form the Plan Term. If any discounts are applicable to this Subscription, they will be applied to this price. |
pre_renewal_days_offset | integer (Pre-renewal invoicing) [ 0 .. 32767 ] Default: 0 Number of days before the renewal date a new invoice should be generated. It can be set only for forward-charging plans. |
reference_person | string (Reference person) <= 128 characters |
account_reference_person | string (Your reference) <= 128 characters |
po_number | string (PO number) <= 128 characters |
case_number | string (Case number) <= 128 characters |
invoice_supplement | string or null (Invoice supplement) Additional text that will be added to description on the invoice line. |
churn_reason | string or null <uuid> (Churn reason) You can define available churn reasons in Objects Settings |
{- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "prorate": true,
- "change_type": "immediate",
- "prorate_date": "2019-08-24T14:15:22Z",
- "change_renewal": 0,
- "early_renewal": false,
- "custom_fields": { },
- "start_date": "2019-08-24T14:15:22Z",
- "custom_churn_reason": "string",
- "quantity": 1,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": 0,
- "override_price": "string",
- "pre_renewal_days_offset": 0,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "churn_reason": "b06e9988-1cd3-4228-a984-64110b49a9ec"
}
{- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "prorate": true,
- "change_type": "immediate",
- "prorate_date": "2019-08-24T14:15:22Z",
- "change_renewal": 0,
- "early_renewal": false,
- "custom_fields": { },
- "model": "string",
- "schema": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "custom_churn_reason": "string",
- "quantity": 1,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": 0,
- "override_price": "string",
- "pre_renewal_days_offset": 0,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "churn_reason": "b06e9988-1cd3-4228-a984-64110b49a9ec"
}
Subscriptions are instances of plan terms on a specific account. You can modify subscriptions or cancel them.
uuid required | string <uuid> A UUID string identifying this Subscription. |
terms | string <uuid> (Terms) |
prorate | boolean (Prorate) Default: true DEPRECATED: use change_type instead |
change_type | string (Change type) Enum: "immediate" "at_specified_time" "at_renewal" |
prorate_date | string <date-time> (Prorate date) Exact date at which scheduled prorate will happen. Provide this only if you have chosen 'at_specified_time' in the change_type field. |
change_renewal | string (Change renewal) Enum: 0 1 2 3 4 5 6 7 8 9 10 11 0 means next renewal, 1 means second renewal etc. Provide this only if you have chosen 'at_renewal' in the change_type field. |
early_renewal | boolean (Early renewal) Default: false Provide this only if you have chosen 'immediate' or 'at_specified_time' in the change_type field.Selecting that option will cause renewing that subscription and create a refund for remaining period.This will happen right now (immediate option) or at a specified time (at_specified_time option) |
custom_fields | object (SubscriptionCustomFields) |
start_date | string or null <date-time> (Start date) Can't be changed after subscription already started or renewed. |
custom_churn_reason | string or null (Custom churn reason) <= 100 characters |
quantity | integer (Quantity) [ 0 .. 2147483647 ] Default: 1 Number of subscribed users |
collection_method | string (Collection method) Enum: "payment_card" "invoice" "direct_debit" |
group_on_invoice | boolean (Group on invoice) Subscription renewing on the same date, with same currency, payment terms, collection method and PO number will be charged on the single invoice. |
payment_terms | integer or null (Payment terms) [ 0 .. 2147483647 ] Default: 0 Days until payment, 0 means on receipt. If left empty default value will be used. Default value is taken from account setting (Default payment terms). If account setting is empty it will default to the organization setting. |
override_price | string or null <decimal> (Override price) Specify the price and override the one form the Plan Term. If any discounts are applicable to this Subscription, they will be applied to this price. |
pre_renewal_days_offset | integer (Pre-renewal invoicing) [ 0 .. 32767 ] Default: 0 Number of days before the renewal date a new invoice should be generated. It can be set only for forward-charging plans. |
reference_person | string (Reference person) <= 128 characters |
account_reference_person | string (Your reference) <= 128 characters |
po_number | string (PO number) <= 128 characters |
case_number | string (Case number) <= 128 characters |
invoice_supplement | string or null (Invoice supplement) Additional text that will be added to description on the invoice line. |
churn_reason | string or null <uuid> (Churn reason) You can define available churn reasons in Objects Settings |
{- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "prorate": true,
- "change_type": "immediate",
- "prorate_date": "2019-08-24T14:15:22Z",
- "change_renewal": 0,
- "early_renewal": false,
- "custom_fields": { },
- "start_date": "2019-08-24T14:15:22Z",
- "custom_churn_reason": "string",
- "quantity": 1,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": 0,
- "override_price": "string",
- "pre_renewal_days_offset": 0,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "churn_reason": "b06e9988-1cd3-4228-a984-64110b49a9ec"
}
{- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "prorate": true,
- "change_type": "immediate",
- "prorate_date": "2019-08-24T14:15:22Z",
- "change_renewal": 0,
- "early_renewal": false,
- "custom_fields": { },
- "model": "string",
- "schema": "string",
- "start_date": "2019-08-24T14:15:22Z",
- "custom_churn_reason": "string",
- "quantity": 1,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": 0,
- "override_price": "string",
- "pre_renewal_days_offset": 0,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "churn_reason": "b06e9988-1cd3-4228-a984-64110b49a9ec"
}
Please consult [charging types documentation] (https://www.fenerum.com/docs/billing/subscriptions/charging-options/#cancelling-subscriptions) to see the possible results of cancelling a subscriptions
Subscription can't be canceled if:
expired
or not_renewing
uuid required | string <uuid> A UUID string identifying this Subscription. |
cancellation_type required | string (Cancellation type) Enum: "full_refund" "at_renewal" "today" "at_specified_time" "cancel_invalid" |
cancel_renewal | integer (Cancel renewal) Enum: 0 1 2 3 4 5 6 7 8 9 10 11 0 means next renewal, 1 means second renewal etc. Provide this only if you have chosen 'at_renewal' in the cancellation_type field. |
cancel_date | string <date-time> (Cancel date) |
{- "cancellation_type": "full_refund",
- "cancel_renewal": 0,
- "cancel_date": "2019-08-24T14:15:22Z"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
A subscription can be reactivated when its status is either not_renewing
or not_starting
.
The corresponding activity of the type cancel
will then be deleted.
uuid required | string <uuid> A UUID string identifying this Subscription. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "original_start_date": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "effective_payment_terms": "string",
- "pre_renewal_days_offset": 32767,
- "po_number": "string",
- "invoice_supplement": "string",
- "override_price": "string",
- "reference_person": "string",
- "account_reference_person": "string",
- "case_number": "string",
- "status": "active",
- "current_mrr": "string",
- "committed_mrr": "string",
- "final_price": "string",
- "churn_reason": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_active": true,
- "model": "string",
- "schema": "string"
}, - "custom_churn_reason": "string",
- "custom_fields": { },
- "model": "string",
- "schema": "string"
}
Subscription Changes describe applied or scheduled changes of Subscription attributes that affect its price or MRR
subscription_uuid required | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "planned_apply_date": "2019-08-24T14:15:22Z",
- "change_type": "immediate",
- "state": "scheduled",
- "applied_at": "2019-08-24T14:15:22Z",
- "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "quantity": -2147483648,
- "override_price": "string",
- "early_renewal": true,
- "model": "string",
- "schema": "string"
}
]
}
Subscription Changes describe applied or scheduled changes of Subscription attributes that affect its price or MRR
subscription_uuid required | string |
uuid required | string <uuid> A UUID string identifying this Subscription Change. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "planned_apply_date": "2019-08-24T14:15:22Z",
- "change_type": "immediate",
- "state": "scheduled",
- "applied_at": "2019-08-24T14:15:22Z",
- "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "quantity": -2147483648,
- "override_price": "string",
- "early_renewal": true,
- "model": "string",
- "schema": "string"
}
Cancel a scheduled Subscription Change
subscription_uuid required | string |
uuid required | string <uuid> A UUID string identifying this Subscription Change. |
{ }
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "planned_apply_date": "2019-08-24T14:15:22Z",
- "change_type": "immediate",
- "state": "scheduled",
- "applied_at": "2019-08-24T14:15:22Z",
- "terms": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "revenue_group": "string",
- "model": "string",
- "schema": "string"
}, - "plan": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical",
- "model": "string",
- "schema": "string"
}, - "quantity": -2147483648,
- "override_price": "string",
- "early_renewal": true,
- "model": "string",
- "schema": "string"
}
currency | string |
approved | string |
status | string |
pending_match | string |
verified | string |
document_date__lte | string Format: YYYY-MM-DD |
document_date__gte | string Format: YYYY-MM-DD |
created_date__lte | string Format: YYYY-MM-DD |
created_date__org_tz_lte | string Format: YYYY-MM-DD |
created_date__gte | string Format: YYYY-MM-DD |
created_date__org_tz_gte | string Format: YYYY-MM-DD |
pending_approval | string |
pending_payment | string |
payment_scheduled | string |
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id": 0,
- "status": "unmatched",
- "document_date": "2019-08-24",
- "amount": "string",
- "currency": "DKK",
- "supplier": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "legal_vat_number": "string",
- "legal_country": "AF",
- "default_cost_account": "d95e1ce1-1a2a-41f0-ad5c-e45062191abd",
- "default_payment_identifier": "IBAN",
- "default_payment_account": "string",
- "model": "string",
- "schema": "string"
}, - "supplier_receipt_number": "string",
- "cost_account": "string",
- "note": "string",
- "file_url": "string",
- "verified_by": "8c493be0-efe2-4a3e-bdbd-7af0eab50aa2",
- "verified_by_for_display": "string",
- "verified_on": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_for_display": "string",
- "created_on": "2019-08-24T14:15:22Z",
- "matched_expenses_amount": "string",
- "matched_expenses_remaining_amount": "string",
- "expense_set": [
- {
- "cost_account": "1e6d13a4-88d1-4e89-9559-0ac7b449f1cb",
- "cost_account_display": "string",
- "invoice_amount": "string",
- "invoice_currency": "DKK",
- "bank_account_line_date": "string",
- "expense_type_display": "string",
- "receipt_url": "string",
- "model": "string",
- "schema": "string"
}
], - "costs": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "amount": "string",
- "cost_account": "1e6d13a4-88d1-4e89-9559-0ac7b449f1cb",
- "cost_account_for_display": "string"
}
], - "senders_email": "user@example.com",
- "original_filename": "string",
- "model": "string",
- "schema": "string",
- "document_type_label": "string",
- "due_date": "2019-08-24",
- "payment_identifier": "IBAN",
- "payment_account": "string",
- "payment_scheduled": true,
- "approved": true,
- "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",
- "approved_on": "2019-08-24T14:15:22Z",
- "approved_by_for_display": "string"
}
]
}
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "id": 0,
- "status": "unmatched",
- "document_date": "2019-08-24",
- "amount": "string",
- "currency": "DKK",
- "supplier": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "legal_vat_number": "string",
- "legal_country": "AF",
- "default_cost_account": "d95e1ce1-1a2a-41f0-ad5c-e45062191abd",
- "default_payment_identifier": "IBAN",
- "default_payment_account": "string",
- "model": "string",
- "schema": "string"
}, - "supplier_receipt_number": "string",
- "cost_account": "string",
- "note": "string",
- "file_url": "string",
- "verified_by": "8c493be0-efe2-4a3e-bdbd-7af0eab50aa2",
- "verified_by_for_display": "string",
- "verified_on": "2019-08-24T14:15:22Z",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_for_display": "string",
- "created_on": "2019-08-24T14:15:22Z",
- "matched_expenses_amount": "string",
- "matched_expenses_remaining_amount": "string",
- "expense_set": [
- {
- "cost_account": "1e6d13a4-88d1-4e89-9559-0ac7b449f1cb",
- "cost_account_display": "string",
- "invoice_amount": "string",
- "invoice_currency": "DKK",
- "bank_account_line_date": "string",
- "expense_type_display": "string",
- "receipt_url": "string",
- "model": "string",
- "schema": "string"
}
], - "costs": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "amount": "string",
- "cost_account": "1e6d13a4-88d1-4e89-9559-0ac7b449f1cb",
- "cost_account_for_display": "string"
}
], - "senders_email": "user@example.com",
- "original_filename": "string",
- "model": "string",
- "schema": "string",
- "document_type_label": "string",
- "due_date": "2019-08-24",
- "payment_identifier": "IBAN",
- "payment_account": "string",
- "payment_scheduled": true,
- "approved": true,
- "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",
- "approved_on": "2019-08-24T14:15:22Z",
- "approved_by_for_display": "string"
}
method | string |
type | string |
currency | string |
import_source | string |
invoice | string |
account | string Filter using account code (External ID) |
account_uuid | string Filter using account UUID |
is_loss | string |
is_settlement | string |
date__lte | string Format: YYYY-MM-DD |
date__gte | string Format: YYYY-MM-DD |
created_date__lte | string Format: YYYY-MM-DD |
created_date__org_tz_lte | string Format: YYYY-MM-DD |
created_date__gte | string Format: YYYY-MM-DD |
created_date__org_tz_gte | string Format: YYYY-MM-DD |
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "type": "payment",
- "method": "payment_card",
- "date": "2019-08-24",
- "amount": "string",
- "notes": "string",
- "currency": "DKK",
- "amount_in_default_currency": "string",
- "bank_account": 0,
- "bank_account_line": 0,
- "bank_account_amount": "string",
- "bank_account_currency": "DKK",
- "external_transaction_id": "string",
- "import_source": "manual",
- "created_date": "2019-08-24T14:15:22Z",
- "reverse_of": "166ec9b4-871b-4ade-94d3-5f95b4671052",
- "model": "string",
- "schema": "string"
}
]
}
object (MinimalAccount) | |
invoice required | string <uuid> (Invoice) |
date required | string <date> (Date) |
amount required | string <decimal> (Amount) |
notes required | string (Notes) non-empty |
bank_account required | integer (Bank account) |
{- "account": {
- "display_name": "string"
}, - "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "date": "2019-08-24",
- "amount": "string",
- "notes": "string",
- "bank_account": 0
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "type": "payment",
- "method": "payment_card",
- "date": "2019-08-24",
- "amount": "string",
- "notes": "string",
- "currency": "DKK",
- "amount_in_default_currency": "string",
- "bank_account": 0,
- "bank_account_line": 0,
- "bank_account_amount": "string",
- "bank_account_currency": "DKK",
- "external_transaction_id": "string",
- "import_source": "manual",
- "created_date": "2019-08-24T14:15:22Z",
- "reverse_of": "166ec9b4-871b-4ade-94d3-5f95b4671052",
- "model": "string",
- "schema": "string"
}
object (MinimalAccount) | |
invoice required | string <uuid> (Invoice) |
date required | string <date> (Date) |
amount required | string <decimal> (Amount) |
notes required | string (Notes) non-empty |
bank_account required | integer (Bank account) |
{- "account": {
- "display_name": "string"
}, - "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "date": "2019-08-24",
- "amount": "string",
- "notes": "string",
- "bank_account": 0
}
{- "export_id": "string",
- "job_uuid": "de25c4df-6d4e-439f-9d5f-a4c55d30f26e"
}
uuid required | string <uuid> A UUID string identifying this Transaction. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "display_name": "string",
- "company_name": "string",
- "code": "string",
- "type": "company",
- "model": "string",
- "schema": "string"
}, - "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "type": "payment",
- "method": "payment_card",
- "date": "2019-08-24",
- "amount": "string",
- "notes": "string",
- "currency": "DKK",
- "amount_in_default_currency": "string",
- "bank_account": 0,
- "bank_account_line": 0,
- "bank_account_amount": "string",
- "bank_account_currency": "DKK",
- "external_transaction_id": "string",
- "import_source": "manual",
- "created_date": "2019-08-24T14:15:22Z",
- "reverse_of": "166ec9b4-871b-4ade-94d3-5f95b4671052",
- "model": "string",
- "schema": "string"
}
A webhook event metadata entry represents a webhook-event that was created after a webhook was triggered.
uuid | string |
event | string |
success | string |
retry_enabled | string |
webhook_uuid | string Filter using the UUID of the related webhook |
created_date__lte | string Format: YYYY-MM-DD |
created_date__org_tz_lte | string Format: YYYY-MM-DD |
created_date__gte | string Format: YYYY-MM-DD |
created_date__org_tz_gte | string Format: YYYY-MM-DD |
last_modified_date__lte | string Format: YYYY-MM-DD |
last_modified_date__org_tz_lte | string Format: YYYY-MM-DD |
last_modified_date__gte | string Format: YYYY-MM-DD |
last_modified_date__org_tz_gte | string Format: YYYY-MM-DD |
ordering | string Which field to use when ordering the results. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "webhook": "34cff408-bf77-4bc5-b31b-e3f4b806d7e8",
- "endpoint": "string",
- "event": "string",
- "success": true,
- "retry_enabled": true,
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "model": "string",
- "schema": "string"
}
]
}
A webhook event metadata entry represents a webhook-event that was created after a webhook was triggered.
uuid required | string <uuid> A UUID string identifying this webhook event metadata. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "webhook": "34cff408-bf77-4bc5-b31b-e3f4b806d7e8",
- "endpoint": "string",
- "event": "string",
- "success": true,
- "retry_enabled": true,
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "model": "string",
- "schema": "string"
}
A webhook is a custom callback that can be leveraged to be notified of events in Fenerum.
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "basic_auth_username": "string",
- "basic_auth_password": "string",
- "enabled": true,
- "events": [
- "account.updated"
], - "model": "string",
- "schema": "string"
}
]
}
A webhook is a custom callback that can be leveraged to be notified of events in Fenerum.
endpoint required | string <uri> (Endpoint) non-empty |
basic_auth_username | string or null (Basic auth username) <= 128 characters |
basic_auth_password | string or null (Basic auth password) <= 128 characters |
enabled | boolean (Enabled) |
events | Array of strings (Events) Items Enum: "account.updated" "account.created" "plan_terms.updated" "plan_terms.created" "new_invoice" "paid_invoice" "cancel_subscription" "reactivate_subscription" "renew_subscription_soon" "new_activity" "payment.authentication_required" "payment.declined" "card_expires_this_month" "payment_card.activated" "payment_card.deactivated" |
{- "basic_auth_username": "string",
- "basic_auth_password": "string",
- "enabled": true,
- "events": [
- "account.updated"
]
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "basic_auth_username": "string",
- "basic_auth_password": "string",
- "enabled": true,
- "events": [
- "account.updated"
], - "model": "string",
- "schema": "string"
}
A webhook is a custom callback that can be leveraged to be notified of events in Fenerum.
uuid required | string <uuid> A UUID string identifying this webhook. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "basic_auth_username": "string",
- "basic_auth_password": "string",
- "enabled": true,
- "events": [
- "account.updated"
], - "model": "string",
- "schema": "string"
}
A webhook is a custom callback that can be leveraged to be notified of events in Fenerum.
uuid required | string <uuid> A UUID string identifying this webhook. |
endpoint required | string <uri> (Endpoint) non-empty |
basic_auth_username | string or null (Basic auth username) <= 128 characters |
basic_auth_password | string or null (Basic auth password) <= 128 characters |
enabled | boolean (Enabled) |
events | Array of strings (Events) Items Enum: "account.updated" "account.created" "plan_terms.updated" "plan_terms.created" "new_invoice" "paid_invoice" "cancel_subscription" "reactivate_subscription" "renew_subscription_soon" "new_activity" "payment.authentication_required" "payment.declined" "card_expires_this_month" "payment_card.activated" "payment_card.deactivated" |
{- "basic_auth_username": "string",
- "basic_auth_password": "string",
- "enabled": true,
- "events": [
- "account.updated"
]
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "basic_auth_username": "string",
- "basic_auth_password": "string",
- "enabled": true,
- "events": [
- "account.updated"
], - "model": "string",
- "schema": "string"
}
A webhook is a custom callback that can be leveraged to be notified of events in Fenerum.
uuid required | string <uuid> A UUID string identifying this webhook. |
endpoint required | string <uri> (Endpoint) non-empty |
basic_auth_username | string or null (Basic auth username) <= 128 characters |
basic_auth_password | string or null (Basic auth password) <= 128 characters |
enabled | boolean (Enabled) |
events | Array of strings (Events) Items Enum: "account.updated" "account.created" "plan_terms.updated" "plan_terms.created" "new_invoice" "paid_invoice" "cancel_subscription" "reactivate_subscription" "renew_subscription_soon" "new_activity" "payment.authentication_required" "payment.declined" "card_expires_this_month" "payment_card.activated" "payment_card.deactivated" |
{- "basic_auth_username": "string",
- "basic_auth_password": "string",
- "enabled": true,
- "events": [
- "account.updated"
]
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "basic_auth_username": "string",
- "basic_auth_password": "string",
- "enabled": true,
- "events": [
- "account.updated"
], - "model": "string",
- "schema": "string"
}
event | string (Event) non-empty Default: "account.created" |
object (Account) |
{- "event": "account.created",
- "data": {
- "company_name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "title": "mr",
- "gender": "male",
- "code": "string",
- "erp_id": "string",
- "partner": 0,
- "ean_invoicing": true,
- "einvoicing_identifier_schema": "GLN",
- "ean_number": "string",
- "invoice_note": "string",
- "language": "en",
- "legal_address": "string",
- "legal_zipcode": "string",
- "legal_city": "string",
- "legal_country": "AF",
- "legal_vat_number": "string",
- "billing_same_as_legal": true,
- "billing_address": "string",
- "billing_zipcode": "string",
- "billing_city": "string",
- "billing_country": "AF",
- "update_from_registers": true,
- "default_payment_terms": -2147483648,
- "default_collection_method": "payment_card",
- "is_getting_reminders": true,
- "reseller": "16bab917-518b-4590-b8d5-48af7a327279",
- "reseller_code": "string",
- "reseller_billing_frequency": "daily",
- "reseller_billing_grouping": "currency",
- "type": "company",
- "custom_fields": { }
}
}
event | string (Event) non-empty Default: "account.updated" |
object (Account) |
{- "event": "account.updated",
- "data": {
- "company_name": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "title": "mr",
- "gender": "male",
- "code": "string",
- "erp_id": "string",
- "partner": 0,
- "ean_invoicing": true,
- "einvoicing_identifier_schema": "GLN",
- "ean_number": "string",
- "invoice_note": "string",
- "language": "en",
- "legal_address": "string",
- "legal_zipcode": "string",
- "legal_city": "string",
- "legal_country": "AF",
- "legal_vat_number": "string",
- "billing_same_as_legal": true,
- "billing_address": "string",
- "billing_zipcode": "string",
- "billing_city": "string",
- "billing_country": "AF",
- "update_from_registers": true,
- "default_payment_terms": -2147483648,
- "default_collection_method": "payment_card",
- "is_getting_reminders": true,
- "reseller": "16bab917-518b-4590-b8d5-48af7a327279",
- "reseller_code": "string",
- "reseller_billing_frequency": "daily",
- "reseller_billing_grouping": "currency",
- "type": "company",
- "custom_fields": { }
}
}
event | string (Event) non-empty Default: "plan_terms.created" |
object (WebhookPlanTerms) |
{- "event": "plan_terms.created",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "plan_uuid": "051b398d-fe45-4274-8e3c-35f1a307183f",
- "plan_name": "string",
- "plan_code": "string",
- "plan_description": "string",
- "plan_collect_vat": true,
- "plan_vat_type": "string",
- "model": "string",
- "schema": "string"
}
}
event | string (Event) non-empty Default: "plan_terms.updated" |
object (WebhookPlanTerms) |
{- "event": "plan_terms.updated",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "code": "string",
- "interval_type": "day",
- "interval_count": 1,
- "price": "string",
- "currency": "DKK",
- "backwards_charging": true,
- "active": true,
- "plan_uuid": "051b398d-fe45-4274-8e3c-35f1a307183f",
- "plan_name": "string",
- "plan_code": "string",
- "plan_description": "string",
- "plan_collect_vat": true,
- "plan_vat_type": "string",
- "model": "string",
- "schema": "string"
}
}
event | string (Event) non-empty Default: "new_invoice" |
object (WebhookInvoice) |
{- "event": "new_invoice",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "invoice_number": 0,
- "invoice_api_url": "string",
- "account_uuid": "string",
- "account_code": "string",
- "account": {
- "display_name": "string"
}, - "pay_to_bank_account": 0,
- "date": "2019-08-24",
- "due_date": "2019-08-24",
- "currency": "DKK",
- "status": "open",
- "kickback_status": "commission_pending",
- "collection_method": "payment_card",
- "total": "string",
- "subtotal": "string",
- "vat": "string",
- "model": "string",
- "schema": "string"
}
}
event | string (Event) non-empty Default: "paid_invoice" |
object (WebhookInvoice) |
{- "event": "paid_invoice",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "invoice_number": 0,
- "invoice_api_url": "string",
- "account_uuid": "string",
- "account_code": "string",
- "account": {
- "display_name": "string"
}, - "pay_to_bank_account": 0,
- "date": "2019-08-24",
- "due_date": "2019-08-24",
- "currency": "DKK",
- "status": "open",
- "kickback_status": "commission_pending",
- "collection_method": "payment_card",
- "total": "string",
- "subtotal": "string",
- "vat": "string",
- "model": "string",
- "schema": "string"
}
}
event | string (Event) non-empty Default: "cancel_subscription" |
object (WebhookSubscription) |
{- "event": "cancel_subscription",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "terms_uuid": "ed96b811-7c37-4e2f-8ce5-c3f19f35dfc7",
- "plan": {
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical"
}, - "status": "string",
- "model": "string",
- "schema": "string",
- "custom_fields": { },
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "custom_churn_reason": "string",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "quantity": -2147483648,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "override_price": "string",
- "pre_renewal_days_offset": 32767,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "churn_reason": "b06e9988-1cd3-4228-a984-64110b49a9ec"
}
}
event | string (Event) non-empty Default: "reactivate_subscription" |
object (WebhookSubscription) |
{- "event": "reactivate_subscription",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "terms_uuid": "ed96b811-7c37-4e2f-8ce5-c3f19f35dfc7",
- "plan": {
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical"
}, - "status": "string",
- "model": "string",
- "schema": "string",
- "custom_fields": { },
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "custom_churn_reason": "string",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "quantity": -2147483648,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "override_price": "string",
- "pre_renewal_days_offset": 32767,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "churn_reason": "b06e9988-1cd3-4228-a984-64110b49a9ec"
}
}
event | string (Event) non-empty Default: "renew_subscription_soon" |
object (WebhookSubscription) |
{- "event": "renew_subscription_soon",
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "account_uuid": "847548f7-9cde-4fe5-8751-32ff19825b7e",
- "account_code": "6097a4f5-935a-4a3b-87a0-f379ae15fc06",
- "terms_uuid": "ed96b811-7c37-4e2f-8ce5-c3f19f35dfc7",
- "plan": {
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical"
}, - "status": "string",
- "model": "string",
- "schema": "string",
- "custom_fields": { },
- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "custom_churn_reason": "string",
- "next_renewal_date": "2019-08-24T14:15:22Z",
- "last_renewal_date": "2019-08-24T14:15:22Z",
- "base_renewal_date": "2019-08-24T14:15:22Z",
- "quantity": -2147483648,
- "collection_method": "payment_card",
- "group_on_invoice": true,
- "payment_terms": -2147483648,
- "override_price": "string",
- "pre_renewal_days_offset": 32767,
- "reference_person": "string",
- "account_reference_person": "string",
- "po_number": "string",
- "case_number": "string",
- "invoice_supplement": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12",
- "terms": "631338da-a0b5-4ef0-90ce-ca16c76d475c",
- "churn_reason": "b06e9988-1cd3-4228-a984-64110b49a9ec"
}
}
event | string (Event) non-empty Default: "new_activity" |
object (Activity) |
{- "event": "new_activity",
- "data": {
- "account_uuid": "string",
- "account_code": "string",
- "subscription": "string",
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "date": "2019-08-24T14:15:22Z",
- "type": "new",
- "is_manual": true,
- "is_churn": true,
- "old_currency": "DKK",
- "new_currency": "DKK",
- "old_mrr_in_subscription_currency": "string",
- "new_mrr_in_subscription_currency": "string",
- "old_mrr": "string",
- "new_mrr": "string",
- "old_quantity": -2147483648,
- "new_quantity": -2147483648,
- "old_terms": "ad992289-ddca-4bb6-ad6d-d633bfc37629",
- "new_terms": "7f43d5df-307a-4725-a28d-3e5b9b27e92e",
- "old_terms_name": "string",
- "new_terms_name": "string",
- "old_plan": {
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical"
}, - "new_plan": {
- "name": "string",
- "code": "string",
- "collect_vat": true,
- "vat_type": "physical"
}, - "old_plan_name": "string",
- "new_plan_name": "string",
- "company_name": "string",
- "ean_invoice": true,
- "deleted": true
}
}
event | string (Event) non-empty Default: "payment.declined" |
object (WebhookCardPayment) |
{- "event": "payment.declined",
- "data": {
- "type": "billing.cardpayment",
- "reason": "string",
- "reason_code": "auth_required",
- "payment_status": "scheduled",
- "amount": "string",
- "amount_in_default_currency": "string",
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "date": "2019-08-24",
- "currency": "DKK",
- "payment_card_id": "string",
- "data": { },
- "model": "string",
- "schema": "string"
}
}
event | string (Event) non-empty Default: "card_expires_this_month" |
object (PaymentCard) |
{- "event": "card_expires_this_month",
- "data": {
- "brand": "string",
- "card_number": "string",
- "month": -2147483648,
- "year": -2147483648,
- "name": "string",
- "payment_gateway": "stripe",
- "payment_gateway_id": "string",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12"
}
}
event | string (Event) non-empty Default: "payment_card.activated" |
object (PaymentCard) |
{- "event": "payment_card.activated",
- "data": {
- "brand": "string",
- "card_number": "string",
- "month": -2147483648,
- "year": -2147483648,
- "name": "string",
- "payment_gateway": "stripe",
- "payment_gateway_id": "string",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12"
}
}
event | string (Event) non-empty Default: "payment_card.deactivated" |
object (PaymentCard) |
{- "event": "payment_card.deactivated",
- "data": {
- "brand": "string",
- "card_number": "string",
- "month": -2147483648,
- "year": -2147483648,
- "name": "string",
- "payment_gateway": "stripe",
- "payment_gateway_id": "string",
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12"
}
}