Skip to main content

Set up the Oracle NetSuite bank feeds integration

Set up our integration with Oracle NetSuite bank feeds

Before you can establish a bank feed to Oracle NetSuite, you need to set up the Oracle NetSuite accounting integration in the Codat Portal.

In this article, we explain how to:

  • Create a companyCompany In Codat, a company represents your customer's business entity. Companies can have multiple connections to different data sources. and a data connectionConnection A link between a Codat company and a data source (like an accounting platform). Each connection represents authorized access to pull or push data from that platform. to Oracle NetSuite.
  • Provide Codat with source bank accounts your SMBSMB The primary customer segment that Codat helps businesses serve, typically companies with annual revenues under $500 million. users can connect to.
  • Redirect the user to the Codat-provided account mapping user interface to connect their source bank accounts to target bank accounts in NetSuite.

Prerequisites

Bank feedsBank Feeds A Codat product that enables automatic synchronization of bank transaction data into a company's accounting software. functionality is part of our existing Oracle NetSuite accounting integration and uses the same bundle. To enable bank feedsBank Feeds A Codat product that enables automatic synchronization of bank transaction data into a company's accounting software., you must first enable the NetSuite integration.

To learn more about installing the NetSuite bundle, see our overview of the NetSuite company linking journey.

Create a companyCompany In Codat, a company represents your customer's business entity. Companies can have multiple connections to different data sources.

Use our Create company endpoint to create a company that represents your SMBSMB The primary customer segment that Codat helps businesses serve, typically companies with annual revenues under $500 million. user in Codat. The endpoint returns a JSON response containing the companyCompany In Codat, a company represents your customer's business entity. Companies can have multiple connections to different data sources. ID id and the redirect URL redirect.

Create a company
  POST https://api.codat.io/companies
Request body
{
"name": "{CompanyName}"
}

Create a connectionConnection A link between a Codat company and a data source (like an accounting platform). Each connection represents authorized access to pull or push data from that platform.

Use our Create connection endpoint to establish a data connectionConnection A link between a Codat company and a data source (like an accounting platform). Each connection represents authorized access to pull or push data from that platform. to NetSuite for the companyCompany In Codat, a company represents your customer's business entity. Companies can have multiple connections to different data sources. you added. Specify the companyCompany In Codat, a company represents your customer's business entity. Companies can have multiple connections to different data sources. ID in the URL path and the NetSuite platform key in the body:

Create connection
  POST https://api.codat.io/companies/{companyId}/connections
Request body - NetSuite
{
"platformKey": "akxx"
}

The endpoint returns a dataConnection object in PendingAuth status, containing a connectionConnection A link between a Codat company and a data source (like an accounting platform). Each connection represents authorized access to pull or push data from that platform. id and a linkUrl. Later, you'll use the linkUrl to redirect the SMBSMB The primary customer segment that Codat helps businesses serve, typically companies with annual revenues under $500 million. user to the account mapping UI.

Response example - Create connection (200)
{
"id": "b52ae406-bdef-40df-a586-ed96bef3590f",
"integrationId": "4fb72939-e59d-4e8b-90f2-59b85b7fc75d",
"integrationKey": "akxx",
"sourceId": "76b3c892-c852-4aec-a835-e453497a99d5",
"platformName": "Oracle NetSuite",
"linkUrl": "https://link-api.codat.io/companies/...",
"status": "PendingAuth",
"lastSync": "2023-11-10T15:07:46.2597036Z",
"created": "2023-11-10T11:23:48.0000000Z",
"sourceType": "Accounting"
}

Add bank accounts

Use the Create source account endpoint to add a new source bank account:

Create bank feed bank accounts
  POST /companies/{companyId}/connections/{connectionId}/connectionInfo/bankFeedAccounts

For the {connectionId} parameter, use the connectionConnection A link between a Codat company and a data source (like an accounting platform). Each connection represents authorized access to pull or push data from that platform. id you received in the response from the Create connection request. In the request body, specify a source bank account you want to make available to the SMBSMB The primary customer segment that Codat helps businesses serve, typically companies with annual revenues under $500 million. user. The endpoint returns a 200 code and the details of the created bank account.

For example, to add a credit card account, send the following request:

Request body (all fields are required)
{
"id": "acc-002", // set to desired unique ID
"accountName": "Credit Card",
"accountType": "Credit",
"accountNumber": "12345670",
"currency": "GBP",
"balance": 99.99 // can be 0
}

Was this page useful?
👏
👍
🤔
👎
😭