Client documents

Create document

Create client documents

POST {base url}/v1/clients/document?clientId={clientId}

Create client document

Query Parameters

Name
Type
Description

clientId*

string

client's Id

Headers

Name
Type
Description

Authorization*

Bearer token

The bearer token is the API users Secret Key

{
    "message": "unauthorized",
    "code": 92
}
{
    "docName": "new file",
    "docType": "file",
    "file": "https://res.cloudinary.com/dtui4qk9s/raw/upload/v1701158787/documents/aeyxflbnbbh4arkgfbvg"
}

Get document by document id

Get document by document id

GET {base url}/v1/clients/document/{documentId}

Return document by document id

Query Parameters

Name
Type
Description

documentId*

string

document Id

Headers

Name
Type
Description

Authorization*

Bearer token

The bearer token is the API users Secret Key

Get documents by client id

get documents by client Id

GET {base url}/v1/clients/{clientId}/document

Get documents by client Id

Query Parameters

Name
Type
Description

clientId*

string

client's Id

Headers

Name
Type
Description

Authorization*

Bearer token

The bearer token is the API users Secret Key

Get trial balance

get trial balance

Get {base url}/v1/report/accounting/trial_balance

<Description of the endpoint>

Query parameters

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Headers

Name
Type
Description

Authorization*

Bearer token

The bearer token is the API users Secret Key

Response

Last updated

Was this helpful?