Skip to main content

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:

NameTypeRequiredDescription
idinteger (int32)YesKashflowDetails record ID

Query Parameters:

NameTypeDescription
includedetailsbooleanInclude additional details in the response

DELETE /KashflowDetails/{id}

Summary: Delete a KashflowDetails record

Path Parameters:

NameTypeRequiredDescription
idinteger (int32)YesKashflowDetails record ID

KashflowDetails Schema

PropertyTypeDescription
idintegerRecord ID
namestringIntegration name
usernamestringKashflow username
new_passwordstringKashflow API password
enabledbooleanWhether the integration is enabled
client_top_levelintegerTop-level client mapping ID
client_top_level_namestringTop-level client name
item_groupintegerDefault item group ID
item_group_namestringDefault item group name
client_item_taxintegerTax code for item invoices
client_item_tax_namestringItem tax code name
client_service_taxintegerTax code for service invoices
client_service_tax_namestringService tax code name
client_contract_taxintegerTax code for contract invoices
client_contract_tax_namestringContract tax code name
supplier_top_levelintegerTop-level supplier mapping ID
supplier_top_level_namestringTop-level supplier name
isdefaultbooleanWhether this is the default integration
enablesyncbooleanWhether sync is enabled
default_item_codestringDefault item code
show_messagebooleanDisplay sync status messages
new_methodbooleanUse newer API method
_importtypestringImport type identifier
do_daily_tax_importbooleanRun daily tax import
_warningstringWarning 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:

NameTypeRequiredDescription
idinteger (int32)YesFortnoxDetails record ID

DELETE /FortnoxDetails/{id}

Summary: Delete a FortnoxDetails record

Path Parameters:

NameTypeRequiredDescription
idinteger (int32)YesFortnoxDetails record ID

FortnoxDetails Schema

PropertyTypeDescription
idintegerRecord ID
namestringIntegration name
new_access_tokenstringOAuth access token
new_refresh_tokenstringOAuth refresh token
token_expirystring (date-time)Token expiration timestamp
isauthorizedbooleanWhether the connection is authorized
new_methodbooleanUse newer API method
client_idstringFortnox app client ID
new_client_secretstringFortnox app client secret
redirect_uristringOAuth redirect URI
client_top_levelintegerTop-level client mapping ID
client_top_level_namestringTop-level client name
show_messagebooleanDisplay sync status messages
sync_entitiesstringComma-separated entity types to sync
sync_entities_listarraySync entity list as key-value pairs
item_groupintegerDefault item group ID
item_group_namestringDefault item group name
codestringOAuth authorization code
_exchangecodebooleanTrigger to exchange auth code
_importtypestringImport type identifier
app_typeintegerApplication type identifier
_warningstringWarning message from last sync

ExactDetails

GET /ExactDetails

Summary: List of ExactDetails

Description: Returns multiple ExactDetails records. Requires authentication.

Query Parameters:

NameTypeDescription
connectedonlybooleanFilter to only connected divisions
divisionstringFilter 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:

NameTypeRequiredDescription
idinteger (int32)YesExactDetails record ID

Query Parameters:

NameTypeDescription
divisionintegerExact Online division ID
includedetailsbooleanInclude additional details in the response

DELETE /ExactDetails/{id}

Summary: Delete an ExactDetails record

Path Parameters:

NameTypeRequiredDescription
idinteger (int32)YesExactDetails record ID

ExactDetails Schema

PropertyTypeDescription
idintegerRecord ID
namestringIntegration name
tokenexpirystring (date-time)Token expiration timestamp
isauthorizedbooleanWhether the connection is authorized
redirecturistringOAuth redirect URI
clienttoplevelintegerTop-level client mapping ID
client_top_level_namestringTop-level client name
itemgroupintegerDefault item group ID
item_group_namestringDefault item group name
enablesyncbooleanWhether sync is enabled
defaultitemcodestringDefault item code
showmessagebooleanDisplay sync status messages
client_idstringExact app client ID
new_client_secretstringExact app client secret
syncentitiesstringComma-separated entity types to sync
sync_entities_listarraySync entity list as key-value pairs
exdnewmethodbooleanUse newer API method
codestringOAuth authorization code
_exchangecodebooleanTrigger to exchange auth code
_disconnectbooleanTrigger to disconnect the integration
new_access_tokenstringOAuth access token
new_refresh_tokenstringOAuth refresh token
divisionintegerExact Online division ID
division_namestringExact Online division name
division_objectobject (ExactDivision)Division details object
localestringExact Online locale/region
client_mappingsarrayClient mapping records
item_group_mappingsarrayItem group mapping records
process_invoicesbooleanProcess invoices via Exact
do_daily_tax_importbooleanRun daily tax import
_importtypestringImport type identifier
_warningstringWarning message from last sync

BusinessCentralDetails

GET /BusinessCentralDetails

Summary: List of BusinessCentralDetails

Description: Returns multiple BusinessCentralDetails records. Requires authentication.

Query Parameters:

NameTypeDescription
companyidstringFilter by Business Central company ID
connectedonlybooleanFilter 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:

NameTypeRequiredDescription
idinteger (int32)YesBusinessCentralDetails record ID

Query Parameters:

NameTypeDescription
includedetailsbooleanInclude additional details in the response

DELETE /BusinessCentralDetails/{id}

Summary: Delete a BusinessCentralDetails record

Path Parameters:

NameTypeRequiredDescription
idinteger (int32)YesBusinessCentralDetails record ID

BusinessCentralDetails Schema

PropertyTypeDescription
idintegerRecord ID
namestringIntegration name
tenant_idstringAzure AD tenant ID
client_idstringAzure app client ID
new_client_secretstringAzure app client secret
new_access_tokenstringOAuth access token
new_refresh_tokenstringOAuth refresh token
token_expirystring (date-time)Token expiration timestamp
authorizedbooleanWhether the connection is authorized
redirect_urlstringOAuth redirect URL
authorization_codestringOAuth authorization code
_exchangecodefortokenbooleanTrigger to exchange auth code for tokens
_disconnectbooleanTrigger to disconnect the integration
code_verifierstringPKCE code verifier
environmentobject (BusinessCentralEnvironment)BC environment details
environment_namestringBusiness Central environment name
environment_typestringBusiness Central environment type (Production/Sandbox)
web_service_urlstringBusiness Central web service URL
countrystringCountry/region
companyobject (BusinessCentralCompany)Company details
company_idstringBusiness Central company ID
company_namestringBusiness Central company name
company_versionstringBusiness Central company version
client_top_levelintegerTop-level client mapping ID
client_top_level_namestringTop-level client name
client_mappingsarrayClient mapping records
vendor_mappingsarrayVendor mapping records
item_group_mappingsarrayItem group mapping records
item_default_groupintegerDefault item group ID
item_default_group_namestringDefault item group name
default_sales_accountstringDefault sales account code
default_sales_account_namestringDefault sales account name
default_purchase_accountstringDefault purchase account code
default_purchase_account_namestringDefault purchase account name
enable_syncbooleanWhether sync is enabled
sync_entitiesstringComma-separated entity types to sync
sync_entities_listarraySync entity list as key-value pairs
show_messagebooleanDisplay sync status messages
default_invoice_itemstringDefault invoice line item
default_invoice_item_namestringDefault invoice line item name
default_po_itemstringDefault purchase order item
default_po_item_namestringDefault purchase order item name
post_invoicesbooleanPost invoices in Business Central
sync_inv_groupsbooleanSync inventory groups
use_advanced_cost_endpointbooleanUse advanced cost endpoint
enable_dimensionsbooleanEnable dimension syncing
customer_templatestringCustomer template code
vendor_templatestringVendor template code
item_templatestringItem template code
graph_hoststringMicrosoft Graph API host
group_incrementintegerGroup line number increment
line_incrementintegerLine number increment
_importtypestringImport type identifier
_warningstringWarning 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:

NameTypeRequiredDescription
idinteger (int32)YesAvalaraDetails record ID

DELETE /AvalaraDetails/{id}

Summary: Delete an AvalaraDetails record

Path Parameters:

NameTypeRequiredDescription
idinteger (int32)YesAvalaraDetails record ID

AvalaraDetails Schema

PropertyTypeDescription
idintegerRecord ID
namestringIntegration name
environmentintegerAvalara environment (0=Production, 1=Sandbox)
usernamestringAvalara account number
new_passwordstringAvalara license key
new_methodbooleanUse newer API method
companyidintegerAvalara company ID
client_top_levelintegerTop-level client mapping ID
client_top_level_namestringTop-level client name
supplier_top_levelintegerTop-level supplier mapping ID
supplier_top_level_namestringTop-level supplier name
company_objectobject (KeyPair)Company key-value reference
defaulttaxstringDefault tax code
defaultitemstringDefault item code
defaultcustomercodestringDefault customer code
default_customer_namestringDefault customer name
autosyncentitiesbooleanAutomatically sync entities
autosyncentitiesonupdatebooleanAutomatically sync entities on update
showmessagebooleanDisplay sync status messages
authorizedbooleanWhether the connection is authorized
syncentitiesstringComma-separated entity types to sync
sync_entities_listarraySync entity list as key-value pairs
commitentitiesstringComma-separated entity types to commit
commit_entities_listarrayCommit entity list as key-value pairs
sync_committedbooleanSync committed transactions
disablerecordingbooleanDisable transaction recording
address_mapping_typeintegerAddress mapping type for tax calculation
_disconnectbooleanTrigger to disconnect the integration
_warningstringWarning message from last sync