Get Results of Modified Invoices since the last pull

Endpoint Name : getmodifiedinvoices

Request type : POST

Authorization : Bearer token as header

Endpoint Details : This API is used to get the results of modified invoices which are modified by any user of a company since the last pull.

Request Type

Method

URL

POST

URL/access/klearstack/getmodifiedinvoices

Request Body

Params

Values

Required

Description

company_name

string

Yes

Name of the company

username

string

Yes

Username for a particular user of a company

password

string

Yes

Password for a particular user of a company

document_type

string

No

Type of document to be processed - “Invoices”, “Receipts”, “PurchaseOrders”,“NACH”,“LoanAgreement”

or “Insurances”.

By default “Invoices” will be set if this parameter is not passed

Note: Optional Parameter

Shall

  • Request Body

curl --location "URL/access/klearstack/getmodifiedinvoices" \
  --header "Authorization: Bearer your_token_here" \
  --form "company_name=Replace_Company_Name_Here" \
  --form "username=Replace_User_Name_Here" \
  --form "password=Replace_Password_Here" \
  --form "document_type=Invoices"

Python

  • Request Body

Java (OkHttp)

  • Request Body

Node.js (Axios)

  • Request Body

JavaScript (XHR)

  • Request Body

API Response

Status Code

Response

200

403

Forbidden: Client Error

501

Server Error

Last updated