Create a Company
The Fortnox to HubSpot sync app allows you to create a company in Fortnox based on a HubSpot company. This feature can be enabled or disabled from the app settings in HubSpot.
| Field HubSpot | Direction | Field Fortnox | Description |
|---|---|---|---|
| Company: address | -> | Address1 | |
| Company: address2 | -> | Address2 | |
| Company: city | -> | City | |
| Company: fortnox_id | -> | CustomerNumber | Field created by the Fortnox app to keep track of which customer it is related to |
| Company: name | -> | Name | |
| Company: organization_number_from_fortnox | -> | OrganisationNumber | Field created by the Fortnox app for getting the Organization Number for easier identification |
| Company: phone | -> | Phone1 | |
| Company: zip | -> | ZipCode | |
| Company: fortnox_cost_center | -> | CostCenter | Cost center code. Normalized to uppercase. Created in Fortnox if it does not exist. Requires costcenter scope. |
| Company: fortnox_sales_account | -> | SalesAccount | Default sales/ledger account (Bokföringskonto). Max 4 characters. |
Cost Center (fortnox_cost_center)
The Fortnox Cost Center field on companies is used when creating customers and invoices in Fortnox.
Fortnox expects cost center codes in uppercase (e.g. AVD1).
- Case-insensitive input: You can enter values in any case (e.g. "avd1", "Avd1") – the app normalizes them to uppercase for Fortnox.
- Auto-creation: If the cost center does not exist in Fortnox, the app creates it before creating the customer.
- Scope: Requires the
costcenterscope – re-authenticate if you get errors.
Sales Account / Bokföringskonto (fortnox_sales_account)
The Fortnox Sales Account field on companies sets the customer's default sales account (Bokföringskonto) in Fortnox — a 4-character BAS account code (e.g. 3010).
- No case normalization: the value is sent to Fortnox as entered, trimmed of surrounding whitespace.
- Format: must be a 4-digit BAS account number between
1000and9999(e.g.3010). - Auto-creation: if the account does not exist in Fortnox, the app creates it before creating the customer.
- Scope: requires the
bookkeepingscope — re-authenticate if you get errors. - Create-only: like
fortnox_cost_center, this is only sent when a new Fortnox customer is created from the company. If the company already hasfortnox_idset, changing this property afterwards does not update the existing Fortnox customer.