Accounts (Counterparties)
Accounts or "Counterparties" are customers, suppliers or expense vendors such as freight carriers that you transact business with. The ListAccounts API produces a list of accounts where each row in the result set represents one specific counterparty or account.
Results will be returned in the order that they were last updated. The most recently updated items being at the top of the response.
Request Example
https://api.cietrade.net/ListAccounts?UserID=ExampleUser@gmail.com&Account=daktest234&Role=Customer
Query Parameters (Filters)
| UserID | cieTrade.net User Name. | Required | |
| Account | Target Account. Use exact company name as defined, Account ID or blank value for locations across all accounts. Note: if this parameter is used only one row will be returned. | Optional | |
| Role | Type of Counterparty. Pass "Customer" or "Vendor" A blank value returns all types | Optional | |
| AsOf | Returns all records that were last updated on and after this date. If other filter options are provided, they will be ignored if an AsOf date is provided. | Optional |
Response Example
{
"account_id": "43982",
"account_name": "DAKTEST234",
"role_name": "Customer,Vendor",
"payment_terms": "1% 10 Net 30",
"active_status": "Active",
"invoice_note": "none",
"currency_code": "USD",
"reference_id": "asdf",
"supplier_GLAcct": "1301",
"expense_GLAcct": "2",
"credit_limit": 0.00,
"primary_contact": "role test",
"primary_email": "dakota@cietrade.com;marc@cietrade.com",
"billing_contact": "Billing Man",
"billing_email": "biling@daktest.com",
"address_line_1": "DAKTEST2",
"address_line_2": "123 test address",
"address_line_3": "",
"city": "norwalk",
"region": "CT",
"postal": "06810",
"country": "USA",
"LastUpdated": "Oct 16 2025 12:51PM"
}