Accounting Integration Endpoints (cont.)
KashflowDetails (continued)
POST /KashflowDetails
Summary: Create or update KashflowDetails
Request Body: Array of KashflowDetails objects (see schema below)
GET /KashflowDetails/{id}
Summary: Get one KashflowDetails
Description: Returns a single KashflowDetails instance by ID. Requires authentication.
Path Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer (int32) | Yes | KashflowDetails record ID |
Query Parameters:
| Name | Type | Description |
|---|---|---|
| includedetails | boolean | Include additional details in the response |
DELETE /KashflowDetails/{id}
Summary: Delete a KashflowDetails record
Path Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer (int32) | Yes | KashflowDetails record ID |
KashflowDetails Schema
| Property | Type | Description |
|---|---|---|
| id | integer | Record ID |
| name | string | Integration name |
| username | string | Kashflow username |
| new_password | string | Kashflow API password |
| enabled | boolean | Whether the integration is enabled |
| client_top_level | integer | Top-level client mapping ID |
| client_top_level_name | string | Top-level client name |
| item_group | integer | Default item group ID |
| item_group_name | string | Default item group name |
| client_item_tax | integer | Tax code for item invoices |
| client_item_tax_name | string | Item tax code name |
| client_service_tax | integer | Tax code for service invoices |
| client_service_tax_name | string | Service tax code name |
| client_contract_tax | integer | Tax code for contract invoices |
| client_contract_tax_name | string | Contract tax code name |
| supplier_top_level | integer | Top-level supplier mapping ID |
| supplier_top_level_name | string | Top-level supplier name |
| isdefault | boolean | Whether this is the default integration |
| enablesync | boolean | Whether sync is enabled |
| default_item_code | string | Default item code |
| show_message | boolean | Display sync status messages |
| new_method | boolean | Use newer API method |
| _importtype | string | Import type identifier |
| do_daily_tax_import | boolean | Run daily tax import |
| _warning | string | Warning message from last sync |
FortnoxDetails
GET /FortnoxDetails
Summary: List Fortnox integration details
Description: Returns all Fortnox integration records.
POST /FortnoxDetails
Summary: Create or update FortnoxDetails
Request Body: Array of FortnoxDetails objects (see schema below)
GET /FortnoxDetails/{id}
Summary: Get one FortnoxDetails
Path Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer (int32) | Yes | FortnoxDetails record ID |
DELETE /FortnoxDetails/{id}
Summary: Delete a FortnoxDetails record
Path Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer (int32) | Yes | FortnoxDetails record ID |
FortnoxDetails Schema
| Property | Type | Description |
|---|---|---|
| id | integer | Record ID |
| name | string | Integration name |
| new_access_token | string | OAuth access token |
| new_refresh_token | string | OAuth refresh token |
| token_expiry | string (date-time) | Token expiration timestamp |
| isauthorized | boolean | Whether the connection is authorized |
| new_method | boolean | Use newer API method |
| client_id | string | Fortnox app client ID |
| new_client_secret | string | Fortnox app client secret |
| redirect_uri | string | OAuth redirect URI |
| client_top_level | integer | Top-level client mapping ID |
| client_top_level_name | string | Top-level client name |
| show_message | boolean | Display sync status messages |
| sync_entities | string | Comma-separated entity types to sync |
| sync_entities_list | array | Sync entity list as key-value pairs |
| item_group | integer | Default item group ID |
| item_group_name | string | Default item group name |
| code | string | OAuth authorization code |
| _exchangecode | boolean | Trigger to exchange auth code |
| _importtype | string | Import type identifier |
| app_type | integer | Application type identifier |
| _warning | string | Warning message from last sync |
ExactDetails
GET /ExactDetails
Summary: List of ExactDetails
Description: Returns multiple ExactDetails records. Requires authentication.
Query Parameters:
| Name | Type | Description |
|---|---|---|
| connectedonly | boolean | Filter to only connected divisions |
| division | string | Filter by Exact division |
POST /ExactDetails
Summary: Create or update ExactDetails
Request Body: Array of ExactDetails objects (see schema below)
GET /ExactDetails/{id}
Summary: Get one ExactDetails
Description: Returns a single ExactDetails instance by ID. Requires authentication.
Path Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer (int32) | Yes | ExactDetails record ID |
Query Parameters:
| Name | Type | Description |
|---|---|---|
| division | integer | Exact Online division ID |
| includedetails | boolean | Include additional details in the response |
DELETE /ExactDetails/{id}
Summary: Delete an ExactDetails record
Path Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer (int32) | Yes | ExactDetails record ID |
ExactDetails Schema
| Property | Type | Description |
|---|---|---|
| id | integer | Record ID |
| name | string | Integration name |
| tokenexpiry | string (date-time) | Token expiration timestamp |
| isauthorized | boolean | Whether the connection is authorized |
| redirecturi | string | OAuth redirect URI |
| clienttoplevel | integer | Top-level client mapping ID |
| client_top_level_name | string | Top-level client name |
| itemgroup | integer | Default item group ID |
| item_group_name | string | Default item group name |
| enablesync | boolean | Whether sync is enabled |
| defaultitemcode | string | Default item code |
| showmessage | boolean | Display sync status messages |
| client_id | string | Exact app client ID |
| new_client_secret | string | Exact app client secret |
| syncentities | string | Comma-separated entity types to sync |
| sync_entities_list | array | Sync entity list as key-value pairs |
| exdnewmethod | boolean | Use newer API method |
| code | string | OAuth authorization code |
| _exchangecode | boolean | Trigger to exchange auth code |
| _disconnect | boolean | Trigger to disconnect the integration |
| new_access_token | string | OAuth access token |
| new_refresh_token | string | OAuth refresh token |
| division | integer | Exact Online division ID |
| division_name | string | Exact Online division name |
| division_object | object (ExactDivision) | Division details object |
| locale | string | Exact Online locale/region |
| client_mappings | array | Client mapping records |
| item_group_mappings | array | Item group mapping records |
| process_invoices | boolean | Process invoices via Exact |
| do_daily_tax_import | boolean | Run daily tax import |
| _importtype | string | Import type identifier |
| _warning | string | Warning message from last sync |
BusinessCentralDetails
GET /BusinessCentralDetails
Summary: List of BusinessCentralDetails
Description: Returns multiple BusinessCentralDetails records. Requires authentication.
Query Parameters:
| Name | Type | Description |
|---|---|---|
| companyid | string | Filter by Business Central company ID |
| connectedonly | boolean | Filter to only connected companies |
POST /BusinessCentralDetails
Summary: Create or update BusinessCentralDetails
Request Body: Array of BusinessCentralDetails objects (see schema below)
GET /BusinessCentralDetails/{id}
Summary: Get one BusinessCentralDetails
Description: Returns a single BusinessCentralDetails instance by ID. Requires authentication.
Path Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer (int32) | Yes | BusinessCentralDetails record ID |
Query Parameters:
| Name | Type | Description |
|---|---|---|
| includedetails | boolean | Include additional details in the response |
DELETE /BusinessCentralDetails/{id}
Summary: Delete a BusinessCentralDetails record
Path Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer (int32) | Yes | BusinessCentralDetails record ID |
BusinessCentralDetails Schema
| Property | Type | Description |
|---|---|---|
| id | integer | Record ID |
| name | string | Integration name |
| tenant_id | string | Azure AD tenant ID |
| client_id | string | Azure app client ID |
| new_client_secret | string | Azure app client secret |
| new_access_token | string | OAuth access token |
| new_refresh_token | string | OAuth refresh token |
| token_expiry | string (date-time) | Token expiration timestamp |
| authorized | boolean | Whether the connection is authorized |
| redirect_url | string | OAuth redirect URL |
| authorization_code | string | OAuth authorization code |
| _exchangecodefortoken | boolean | Trigger to exchange auth code for tokens |
| _disconnect | boolean | Trigger to disconnect the integration |
| code_verifier | string | PKCE code verifier |
| environment | object (BusinessCentralEnvironment) | BC environment details |
| environment_name | string | Business Central environment name |
| environment_type | string | Business Central environment type (Production/Sandbox) |
| web_service_url | string | Business Central web service URL |
| country | string | Country/region |
| company | object (BusinessCentralCompany) | Company details |
| company_id | string | Business Central company ID |
| company_name | string | Business Central company name |
| company_version | string | Business Central company version |
| client_top_level | integer | Top-level client mapping ID |
| client_top_level_name | string | Top-level client name |
| client_mappings | array | Client mapping records |
| vendor_mappings | array | Vendor mapping records |
| item_group_mappings | array | Item group mapping records |
| item_default_group | integer | Default item group ID |
| item_default_group_name | string | Default item group name |
| default_sales_account | string | Default sales account code |
| default_sales_account_name | string | Default sales account name |
| default_purchase_account | string | Default purchase account code |
| default_purchase_account_name | string | Default purchase account name |
| enable_sync | boolean | Whether sync is enabled |
| sync_entities | string | Comma-separated entity types to sync |
| sync_entities_list | array | Sync entity list as key-value pairs |
| show_message | boolean | Display sync status messages |
| default_invoice_item | string | Default invoice line item |
| default_invoice_item_name | string | Default invoice line item name |
| default_po_item | string | Default purchase order item |
| default_po_item_name | string | Default purchase order item name |
| post_invoices | boolean | Post invoices in Business Central |
| sync_inv_groups | boolean | Sync inventory groups |
| use_advanced_cost_endpoint | boolean | Use advanced cost endpoint |
| enable_dimensions | boolean | Enable dimension syncing |
| customer_template | string | Customer template code |
| vendor_template | string | Vendor template code |
| item_template | string | Item template code |
| graph_host | string | Microsoft Graph API host |
| group_increment | integer | Group line number increment |
| line_increment | integer | Line number increment |
| _importtype | string | Import type identifier |
| _warning | string | Warning message from last sync |
AvalaraDetails
GET /AvalaraDetails
Summary: List Avalara integration details
Description: Returns all Avalara (AvaTax) integration records.
POST /AvalaraDetails
Summary: Create or update AvalaraDetails
Request Body: Array of AvalaraDetails objects (see schema below)
GET /AvalaraDetails/{id}
Summary: Get one AvalaraDetails
Path Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer (int32) | Yes | AvalaraDetails record ID |
DELETE /AvalaraDetails/{id}
Summary: Delete an AvalaraDetails record
Path Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer (int32) | Yes | AvalaraDetails record ID |
AvalaraDetails Schema
| Property | Type | Description |
|---|---|---|
| id | integer | Record ID |
| name | string | Integration name |
| environment | integer | Avalara environment (0=Production, 1=Sandbox) |
| username | string | Avalara account number |
| new_password | string | Avalara license key |
| new_method | boolean | Use newer API method |
| companyid | integer | Avalara company ID |
| client_top_level | integer | Top-level client mapping ID |
| client_top_level_name | string | Top-level client name |
| supplier_top_level | integer | Top-level supplier mapping ID |
| supplier_top_level_name | string | Top-level supplier name |
| company_object | object (KeyPair) | Company key-value reference |
| defaulttax | string | Default tax code |
| defaultitem | string | Default item code |
| defaultcustomercode | string | Default customer code |
| default_customer_name | string | Default customer name |
| autosyncentities | boolean | Automatically sync entities |
| autosyncentitiesonupdate | boolean | Automatically sync entities on update |
| showmessage | boolean | Display sync status messages |
| authorized | boolean | Whether the connection is authorized |
| syncentities | string | Comma-separated entity types to sync |
| sync_entities_list | array | Sync entity list as key-value pairs |
| commitentities | string | Comma-separated entity types to commit |
| commit_entities_list | array | Commit entity list as key-value pairs |
| sync_committed | boolean | Sync committed transactions |
| disablerecording | boolean | Disable transaction recording |
| address_mapping_type | integer | Address mapping type for tax calculation |
| _disconnect | boolean | Trigger to disconnect the integration |
| _warning | string | Warning message from last sync |