page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "erp_account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "account_number": -2147483648,
- "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. |
{- "erp_account": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "account_number": -2147483648,
- "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.
balance | string |
subscriptions_status | string |
legal_country | 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",
- "company_name": "string",
- "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",
- "company_name": "string",
- "code": "string",
- "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",
- "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",
- "name": "string",
- "email": "user@example.com",
- "receive_invoice": true,
- "receive_payment_confirmation": 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",
- "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",
- "model": "string",
- "schema": "string"
}
], - "created_date": "2019-08-24T14:15:22Z",
- "last_modified_date": "2019-08-24T14:15:22Z",
- "eu_vat_status": "string",
- "custom_fields": { },
- "update_from_registers": true,
- "register_status": "active",
- "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 required | string (Company name) [ 1 .. 128 ] characters |
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" "no" "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 zipcode) [ 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" |