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 . 

Request Example

https://api.cietrade.net/ListAccounts?UserID=ExampleUser@gmail.com&UserPwd=12345&Account=daktest234&Role=Customer

Query Parameters (Filters)

UserID cieTrade.net User Name. Required  
UserPwd cieTrade.net User Password. 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  

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"
    }
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.