StackCubeDocs
Documentation

Connect Ecount#

Ecount requires API verification with a sandbox key before it issues a production key. Complete the verification and production-key connection under Settings → Integrations → Ecount.

Values to prepare#

  • Ecount company code
  • User ID that issued the sandbox key
  • Customer and item codes for verification
  • Warehouse code for document verification

Use customer and item codes that are available on the Ecount sandbox server. Choose codes that are easy to distinguish from production data.

1. Prepare a sandbox key and allow the IP#

Sign in to Ecount, then open:

Self-Customizing → Information Management → Issue API Certificate Key

  1. Select Register IP and add the StackCube fixed IP below.
  2. Select API Verification Status.
  3. Use an existing sandbox key, or select Issue Key to create one.
54.116.3.43

If your company uses Ecount's PC IP blocking setting, make sure this IP is allowed there as well. A sandbox key is valid for two weeks.

2. Verify the APIs in StackCube#

Open Settings → Integrations → Ecount → Overview → Verify APIs and enter:

  • Company code
  • User ID: the Ecount ID used with the production key
  • Verification user ID: only if the sandbox key was issued to a different ID
  • Sandbox API certificate key
  • Customer code for verification
  • Item code for verification
  • Warehouse code

Select Verify APIs. StackCube checks the thirteen APIs it uses.

APIWhat StackCube checks
Item listRead Ecount items
Inventory balance listRead inventory by item
Single item lookupRead one item, including safety stock
Inventory by warehouse listRead inventory by item and warehouse
Single-item inventory balanceRead stock for one item
Single-item inventory by warehouseRead stock for one item by warehouse
Purchase order listRead purchase orders from the last 30 days
Create itemCreate a sandbox item
Create customerCreate a sandbox customer
Create quotationCreate a sandbox quotation
Create sales orderCreate a sandbox sales order
Create saleCreate a sandbox sale
Create purchaseCreate a sandbox purchase
Ecount API verification in StackCube
Enter a sandbox key and customer, item, and warehouse codes, then check each API result.

Verification may create SCV-P-... items, SCV-C-... customers, and test documents on the Ecount sandbox server. It does not create production data.

3. Fix a failed API#

Read the Ecount response shown on the failed result. If a customer or document input API failed, first check whether your company has made additional fields mandatory on the corresponding Ecount input screen.

When StackCube shows a Default value field, enter a valid Ecount code or value for that field and verify the API again. For example, if Project is required, enter an existing Ecount project code. Arbitrary text may fail again.

Required defaults in an Ecount API verification result
Enter valid Ecount values for the fields required by a failed API, then verify it again.

If the same API keeps failing, check:

  • The user ID matches the ID that issued the sandbox key.
  • The sandbox key has not expired.
  • 54.116.3.43 is allowed.
  • The customer, item, and warehouse codes exist on the sandbox server.
  • The related Ecount input screen does not require another field.

4. Confirm verification and issue the production key#

Return to the Issue API Certificate Key page where you issued the sandbox key.

  1. Open API Verification Status and confirm that every API used by StackCube is marked as verified.
  2. Return to the previous page and select Issue Key.
  3. Select the person who will use the production key.
  4. Select Save.
  5. Copy the issued production API key.

Issue the production key only after all APIs used by StackCube are verified. A production key is valid for one year.

5. Connect the production key#

In StackCube, open Settings → Integrations → Ecount → Overview → Connect the production key and enter the production key. Do not enter the sandbox key again. Save the connection, then select Check connection.

Ecount production key in StackCube
Enter the production key issued after API verification in Connect the production key.

Web login for partners and special prices#

Under Overview → Web login, save the Ecount web login ID and password. Leave the ID blank to use the API account ID. Saved login settings stay collapsed until you open them to make changes.

Run syncs and manage schedules in Partner sync and Price sync respectively.

After connecting#

Confirm that the connection is active, then continue with the workflow you need.

Connection test results appear in Activity. Pausing the integration under Overview → Integration management stops automatic sync and order export. Disconnecting deletes stored credentials and login sessions; reconnecting requires entering credentials again.