Module Kế Toán

RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Accounting Taxes

Primary Key: Code

Schema

Field
Type
Description

Code

string

Code

Id

numeric

Id

Lable1

string

Lable1

Lable2

string

Lable2

Name

string

Name

No

numeric

No

RealTax

number

Real Tax

Tax

number

Tax

Type

string

Type

GET

Description: Get item or list paging by offset and limit parameters

Endpoint(s):

  • GET /v4/accounting/taxes/{Code}: for get exacly item

  • GET /v4/accounting/taxes: for get multiple items

Parameters:

  • token: authentication token (Type: string)

  • offset: get items from offset (Type: int)

  • limit: get number of items (Type: int)

  • id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: string)

  • filter_<Field>: filter items by like value (Type: string)

  • left_<Field>: filter items by like left of value (Type: string)

  • right_<Field>: filter items by like right of value (Type: string)

  • eq_<Field>: filter items by equal value (Type: string)

  • ne_<Field>: filter items by not equal value (Type: string)

  • lt_<Field>: filter items by less than value (Type: string)

  • le_<Field>: filter items by less than or equal value (Type: string)

  • gt_<Field>: filter items by greater then value (Type: string)

  • ge_<Field>: filter items by greater than or equal value (Type: string)

POST

Description: Create new items

Endpoint: POST /v4/accounting/taxes

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

PUT

Description: Update items by ids

  • PUT /v4/accounting/taxes/{Code}: for put exacly item

  • PUT /v4/accounting/taxes: for put multiple items

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

DELETE

Description: Delete items by ids

Endpoint(s):

  • DELETE /v4/accounting/taxes/{Code}: for delete exacly item

  • DELETE /v4/accounting/taxes?id0=123&id1=456&...: for delete multiple items with id0 id1,...

API thao tác Lấy (GET), Thêm (POST), Xóa (DELETE), Sửa (PUT) với phiếu thu/chi phân biệt bằng Loại phiếu (Type) PAYMENT là phiếu chi, RECEIPT là phiếu thu

Primary Key: Code

Schema

Field
Type
Description

Amount

double

Amount

Bank

string

Bank

BankAccount

string

Bank Account

Cashbook

string

Cashbook

Code

string

Code

Creator

string

Creator

CreatorName

string

Creator Name

DateOfVoucher

datetime

Date Of Voucher

Description

string

Description

Object

string

Object

ObjectAddress

string

Object Address

ObjectBankAccount

string

Object Bank Account

ObjectBankName

string

Object Bank Name

ObjectEmail

string

Object Email

ObjectName

string

Object Name

ObjectPhone

string

Object Phone

ObjectTaxCode

string

Object Tax Code

State

string

State

Thread

string

Thread

Type

string

Type

TypeName

string

Type Name

Details

array

children schema defined in Details Schema below

Details Schema

Field
Type
Description

AccountingBusiness

string

Accounting Business

Amount

double

Amount

CostClassification

string

Cost Classification

CostObject

string

Cost Object

CreditAccount

string

Credit Account

DebitAccount

string

Debit Account

Description

string

Description

No

numeric

No

RelateCode

string

Relate Code

RelativeVoucher

string

Relative Voucher

SalesOrder

string

Sales Order

SystemUuid

string

System Uuid

GET

Description: Get item or list paging by offset and limit parameters

Endpoint(s):

  • GET /v4/accounting/cash-vouchers/{Code}: for get exacly item

  • GET /v4/accounting/cash-vouchers: for get multiple items

Parameters:

  • token: authentication token (Type: string)

  • offset: get items from offset (Type: int)

  • limit: get number of items (Type: int)

  • id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: string)

  • filter_<Field>: filter items by like value (Type: string)

  • left_<Field>: filter items by like left of value (Type: string)

  • right_<Field>: filter items by like right of value (Type: string)

  • eq_<Field>: filter items by equal value (Type: string)

  • ne_<Field>: filter items by not equal value (Type: string)

  • lt_<Field>: filter items by less than value (Type: string)

  • le_<Field>: filter items by less than or equal value (Type: string)

  • gt_<Field>: filter items by greater then value (Type: string)

  • ge_<Field>: filter items by greater than or equal value (Type: string)

POST

Description: Create new items

Endpoint: POST /v4/accounting/cash-vouchers

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

PUT

Description: Update items by ids

  • PUT /v4/accounting/cash-vouchers/{Code}: for put exacly item

  • PUT /v4/accounting/cash-vouchers: for put multiple items

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

DELETE

Description: Delete items by ids

Endpoint(s):

  • DELETE /v4/accounting/cash-vouchers/{Code}: for delete exacly item

  • DELETE /v4/accounting/cash-vouchers?id0=123&id1=456&...: for delete multiple items with id0 id1,...

RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Accounting Accounts

Primary Key: Code

Schema

Field
Type
Description

Code

string

Code

Currency

string

Currency

Description

string

Description

Group

string

Group

Id

numeric

Id

Level

numeric

Level

Name

string

Name

NumOfChildren

numeric

Num Of Children

Parent

string

Parent

Property

string

Property

ReportByBankAccount

boolean

Report By Bank Account

ReportByObject

string

Report By Object

Type

string

Type

Debit

number

Debit

Credit

number

Credit

GET

Description: Get item or list paging by offset and limit parameters

Endpoint(s):

  • GET /v4/accounting/accounts/{Code}: for get exacly item

  • GET /v4/accounting/accounts: for get multiple items

Parameters:

  • token: authentication token (Type: string)

  • offset: get items from offset (Type: int)

  • limit: get number of items (Type: int)

  • id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: string)

  • filter_<Field>: filter items by like value (Type: string)

  • left_<Field>: filter items by like left of value (Type: string)

  • right_<Field>: filter items by like right of value (Type: string)

  • eq_<Field>: filter items by equal value (Type: string)

  • ne_<Field>: filter items by not equal value (Type: string)

  • lt_<Field>: filter items by less than value (Type: string)

  • le_<Field>: filter items by less than or equal value (Type: string)

  • gt_<Field>: filter items by greater then value (Type: string)

  • ge_<Field>: filter items by greater than or equal value (Type: string)

POST

Description: Create new items

Endpoint: POST /v4/accounting/accounts

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

PUT

Description: Update items by ids

  • PUT /v4/accounting/accounts/{Code}: for put exacly item

  • PUT /v4/accounting/accounts: for put multiple items

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

DELETE

Description: Delete items by ids

Endpoint(s):

  • DELETE /v4/accounting/accounts/{Code}: for delete exacly item

  • DELETE /v4/accounting/accounts?id0=123&id1=456&...: for delete multiple items with id0 id1,...

RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Accounting Business

Primary Key: Code

Schema

Field
Type
Description

Code

string

Code

CostClassification

string

Cost Classification

CreditAccount

string

Credit Account

DebitAccount

string

Debit Account

Description

string

Description

Formular

string

Formular

Id

numeric

Id

IsBuiltIn

numeric

Is Built In

Name

string

Name

Type

string

Type

GET

Description: Get item or list paging by offset and limit parameters

Endpoint(s):

  • GET /v4/accounting/business/{Code}: for get exacly item

  • GET /v4/accounting/business: for get multiple items

Parameters:

  • token: authentication token (Type: string)

  • offset: get items from offset (Type: int)

  • limit: get number of items (Type: int)

  • id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: string)

  • filter_<Field>: filter items by like value (Type: string)

  • left_<Field>: filter items by like left of value (Type: string)

  • right_<Field>: filter items by like right of value (Type: string)

  • eq_<Field>: filter items by equal value (Type: string)

  • ne_<Field>: filter items by not equal value (Type: string)

  • lt_<Field>: filter items by less than value (Type: string)

  • le_<Field>: filter items by less than or equal value (Type: string)

  • gt_<Field>: filter items by greater then value (Type: string)

  • ge_<Field>: filter items by greater than or equal value (Type: string)

POST

Description: Create new items

Endpoint: POST /v4/accounting/business

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

PUT

Description: Update items by ids

  • PUT /v4/accounting/business/{Code}: for put exacly item

  • PUT /v4/accounting/business: for put multiple items

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

DELETE

Description: Delete items by ids

Endpoint(s):

  • DELETE /v4/accounting/business/{Code}: for delete exacly item

  • DELETE /v4/accounting/business?id0=123&id1=456&...: for delete multiple items with id0 id1,...

RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Accounting V4 Reports

Primary Key: Code

Schema

Field
Type
Description

Account

string

Account

BankAccount

string

Bank Account

Branch

string

Branch

CommissionRatio

string

Commission Ratio

CommissionStrategy

string

Commission Strategy

Construction

string

Construction

ContraAccount

string

Contra Account

Contract

string

Contract

CostClassification

string

Cost Classification

CostObject

string

Cost Object

Credit

string

Credit

CreditQuantity

string

Credit Quantity

DateOfWriting

datetime

Date Of Writing

Debit

string

Debit

DebitQuantity

string

Debit Quantity

Description

string

Description

Employee

string

Employee

EmployeeCredit

string

Employee Credit

EmployeeCreditAccount

string

Employee Credit Account

EmployeeDebit

string

Employee Debit

EmployeeDebitAccount

string

Employee Debit Account

Id

numeric

Id

MasterBook

string

Master Book

Mentor

string

Mentor

Object

string

Object

ObjectName

string

Object Name

Page

string

Page

Price

double

Price

Product

string

Product

ProductGroupIndex

string

Product Group Index

ProductName

string

Product Name

ProductUnit

string

Product Unit

ProductUnitIndex

string

Product Unit Index

ProductUnitLabel

string

Product Unit Label

Publisher

string

Publisher

Quantity

double

Quantity

SalesOrder

string

Sales Order

Seller

string

Seller

State

string

State

Tags

string

Tags

Thread

string

Thread

Type

string

Type

Voucher

string

Voucher

VoucherDate

datetime

Voucher Date

VoucherDescription

string

Voucher Description

VoucherDetailUuid

string

Voucher Detail Uuid

VoucherPart

string

Voucher Part

VoucherType

string

Voucher Type

WriteNo

numeric

Write No

Writer

string

Writer

WriteType

string

Write Type

HeadDebit

number

Head Debit

HeadCredit

number

Head Credit

GenerateDebit

number

Generate Debit

GenerateCredit

number

Generate Credit

HeadNumOfVouchers

number

Head Num Of Vouchers

GenerateNumOfVouchers

number

Generate Num Of Vouchers

TailNumOfVouchers

number

Tail Num Of Vouchers

ObjectContactGroups

serialize

Object Contact Groups

EmployeeAvatar

serialize

Employee Avatar

ProductFeaturePicture

serialize

Product Feature Picture

GET

Description: Get item or list paging by offset and limit parameters

Endpoint(s):

  • GET /v4/accounting/reports/{Code}: for get exacly item

  • GET /v4/accounting/reports: for get multiple items

Parameters:

  • token: authentication token (Type: string)

  • offset: get items from offset (Type: int)

  • limit: get number of items (Type: int)

  • id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: string)

  • filter_<Field>: filter items by like value (Type: string)

  • left_<Field>: filter items by like left of value (Type: string)

  • right_<Field>: filter items by like right of value (Type: string)

  • eq_<Field>: filter items by equal value (Type: string)

  • ne_<Field>: filter items by not equal value (Type: string)

  • lt_<Field>: filter items by less than value (Type: string)

  • le_<Field>: filter items by less than or equal value (Type: string)

  • gt_<Field>: filter items by greater then value (Type: string)

  • ge_<Field>: filter items by greater than or equal value (Type: string)

POST

Description: Create new items

Endpoint: POST /v4/accounting/reports

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

PUT

Description: Update items by ids

  • PUT /v4/accounting/reports/{Code}: for put exacly item

  • PUT /v4/accounting/reports: for put multiple items

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

DELETE

Description: Delete items by ids

Endpoint(s):

  • DELETE /v4/accounting/reports/{Code}: for delete exacly item

  • DELETE /v4/accounting/reports?id0=123&id1=456&...: for delete multiple items with id0 id1,...

RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Accounting V4 Statistics

Primary Key: Code

Schema

Field
Type
Description

Account

string

Account

BankAccount

string

Bank Account

Branch

string

Branch

CommissionRatio

string

Commission Ratio

CommissionStrategy

string

Commission Strategy

Construction

string

Construction

ContraAccount

string

Contra Account

Contract

string

Contract

CostClassification

string

Cost Classification

CostObject

string

Cost Object

Credit

number

Credit

CreditQuantity

string

Credit Quantity

DateOfWriting

string

Date Of Writing

Debit

number

Debit

DebitQuantity

string

Debit Quantity

Description

string

Description

Employee

string

Employee

EmployeeCredit

string

Employee Credit

EmployeeCreditAccount

string

Employee Credit Account

EmployeeDebit

string

Employee Debit

EmployeeDebitAccount

string

Employee Debit Account

Id

numeric

Id

MasterBook

string

Master Book

Mentor

string

Mentor

Object

string

Object

ObjectName

string

Object Name

Page

string

Page

Price

string

Price

Product

string

Product

ProductGroupIndex

string

Product Group Index

ProductName

string

Product Name

ProductUnit

string

Product Unit

ProductUnitIndex

string

Product Unit Index

ProductUnitLabel

string

Product Unit Label

Publisher

string

Publisher

Quantity

string

Quantity

SalesOrder

string

Sales Order

Seller

string

Seller

State

string

State

Tags

string

Tags

Thread

string

Thread

Type

string

Type

Voucher

string

Voucher

VoucherDate

datetime

Voucher Date

VoucherDescription

string

Voucher Description

VoucherDetailUuid

string

Voucher Detail Uuid

VoucherPart

string

Voucher Part

VoucherType

string

Voucher Type

WriteNo

numeric

Write No

Writer

string

Writer

WriteType

string

Write Type

SumOfDebit

number

Sum Of Debit

SumOfCredit

number

Sum Of Credit

NumOfVouchers

number

Num Of Vouchers

GET

Description: Get item or list paging by offset and limit parameters

Endpoint(s):

  • GET /v4/accounting/statistics/{Code}: for get exacly item

  • GET /v4/accounting/statistics: for get multiple items

Parameters:

  • token: authentication token (Type: string)

  • offset: get items from offset (Type: int)

  • limit: get number of items (Type: int)

  • id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: string)

  • filter_<Field>: filter items by like value (Type: string)

  • left_<Field>: filter items by like left of value (Type: string)

  • right_<Field>: filter items by like right of value (Type: string)

  • eq_<Field>: filter items by equal value (Type: string)

  • ne_<Field>: filter items by not equal value (Type: string)

  • lt_<Field>: filter items by less than value (Type: string)

  • le_<Field>: filter items by less than or equal value (Type: string)

  • gt_<Field>: filter items by greater then value (Type: string)

  • ge_<Field>: filter items by greater than or equal value (Type: string)

POST

Description: Create new items

Endpoint: POST /v4/accounting/statistics

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

PUT

Description: Update items by ids

  • PUT /v4/accounting/statistics/{Code}: for put exacly item

  • PUT /v4/accounting/statistics: for put multiple items

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

DELETE

Description: Delete items by ids

Endpoint(s):

  • DELETE /v4/accounting/statistics/{Code}: for delete exacly item

  • DELETE /v4/accounting/statistics?id0=123&id1=456&...: for delete multiple items with id0 id1,...

RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Accounting OtherBusinessVouchers

Primary Key: Code

Schema

Field
Type
Description

Amount

string

Amount

BankAccount

string

Bank Account

BankAccountName

string

Bank Account Name

Code

string

Code

Created

datetime

Created

Creator

string

Creator

Currency

string

Currency

DateOfVoucher

datetime

Date Of Voucher

Description

string

Description

Employee

numeric

Employee

Id

numeric

Id

Object

string

Object

ObjectAddress

string

Object Address

ObjectEmail

string

Object Email

ObjectIdentifiedNumber

string

Object Identified Number

ObjectName

string

Object Name

ObjectPhone

string

Object Phone

ObjectTaxCode

string

Object Tax Code

Seq

numeric

Seq

State

string

State

Thread

string

Thread

Type

string

Type

GET

Description: Get item or list paging by offset and limit parameters

Endpoint(s):

  • GET /v4/accounting/other-business-vouchers/{Code}: for get exacly item

  • GET /v4/accounting/other-business-vouchers: for get multiple items

Parameters:

  • token: authentication token (Type: string)

  • offset: get items from offset (Type: int)

  • limit: get number of items (Type: int)

  • id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: string)

  • filter_<Field>: filter items by like value (Type: string)

  • left_<Field>: filter items by like left of value (Type: string)

  • right_<Field>: filter items by like right of value (Type: string)

  • eq_<Field>: filter items by equal value (Type: string)

  • ne_<Field>: filter items by not equal value (Type: string)

  • lt_<Field>: filter items by less than value (Type: string)

  • le_<Field>: filter items by less than or equal value (Type: string)

  • gt_<Field>: filter items by greater then value (Type: string)

  • ge_<Field>: filter items by greater than or equal value (Type: string)

POST

Description: Create new items

Endpoint: POST /v4/accounting/other-business-vouchers

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

PUT

Description: Update items by ids

  • PUT /v4/accounting/other-business-vouchers/{Code}: for put exacly item

  • PUT /v4/accounting/other-business-vouchers: for put multiple items

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

DELETE

Description: Delete items by ids

Endpoint(s):

  • DELETE /v4/accounting/other-business-vouchers/{Code}: for delete exacly item

  • DELETE /v4/accounting/other-business-vouchers?id0=123&id1=456&...: for delete multiple items with id0 id1,...

RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Accounting Banks

Primary Key: Code

Schema

Field
Type
Description

Address

string

Address

Code

string

Code

Description

string

Description

EnglishName

string

English Name

Id

numeric

Id

Logo

fileobject

Logo

Name

string

Name

ShortName

string

Short Name

GET

Description: Get item or list paging by offset and limit parameters

Endpoint(s):

  • GET /v4/accounting/banks/{Code}: for get exacly item

  • GET /v4/accounting/banks: for get multiple items

Parameters:

  • token: authentication token (Type: string)

  • offset: get items from offset (Type: int)

  • limit: get number of items (Type: int)

  • id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: string)

  • filter_<Field>: filter items by like value (Type: string)

  • left_<Field>: filter items by like left of value (Type: string)

  • right_<Field>: filter items by like right of value (Type: string)

  • eq_<Field>: filter items by equal value (Type: string)

  • ne_<Field>: filter items by not equal value (Type: string)

  • lt_<Field>: filter items by less than value (Type: string)

  • le_<Field>: filter items by less than or equal value (Type: string)

  • gt_<Field>: filter items by greater then value (Type: string)

  • ge_<Field>: filter items by greater than or equal value (Type: string)

POST

Description: Create new items

Endpoint: POST /v4/accounting/banks

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

PUT

Description: Update items by ids

  • PUT /v4/accounting/banks/{Code}: for put exacly item

  • PUT /v4/accounting/banks: for put multiple items

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

DELETE

Description: Delete items by ids

Endpoint(s):

  • DELETE /v4/accounting/banks/{Code}: for delete exacly item

  • DELETE /v4/accounting/banks?id0=123&id1=456&...: for delete multiple items with id0 id1,...

RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Accounting BankAccounts

Primary Key: Code

Schema

Field
Type
Description

AccountNumber

string

Account Number

Bank

string

Bank

Branch

string

Branch

BranchAddress

string

Branch Address

Code

string

Code

Description

string

Description

Id

numeric

Id

Owner

string

Owner

Province

string

Province

GET

Description: Get item or list paging by offset and limit parameters

Endpoint(s):

  • GET /v4/accounting/bank-accounts/{Code}: for get exacly item

  • GET /v4/accounting/bank-accounts: for get multiple items

Parameters:

  • token: authentication token (Type: string)

  • offset: get items from offset (Type: int)

  • limit: get number of items (Type: int)

  • id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: string)

  • filter_<Field>: filter items by like value (Type: string)

  • left_<Field>: filter items by like left of value (Type: string)

  • right_<Field>: filter items by like right of value (Type: string)

  • eq_<Field>: filter items by equal value (Type: string)

  • ne_<Field>: filter items by not equal value (Type: string)

  • lt_<Field>: filter items by less than value (Type: string)

  • le_<Field>: filter items by less than or equal value (Type: string)

  • gt_<Field>: filter items by greater then value (Type: string)

  • ge_<Field>: filter items by greater than or equal value (Type: string)

POST

Description: Create new items

Endpoint: POST /v4/accounting/bank-accounts

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

PUT

Description: Update items by ids

  • PUT /v4/accounting/bank-accounts/{Code}: for put exacly item

  • PUT /v4/accounting/bank-accounts: for put multiple items

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

DELETE

Description: Delete items by ids

Endpoint(s):

  • DELETE /v4/accounting/bank-accounts/{Code}: for delete exacly item

  • DELETE /v4/accounting/bank-accounts?id0=123&id1=456&...: for delete multiple items with id0 id1,...

RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Accounting MasterBooks

Primary Key: Code

Schema

Field
Type
Description

Address

string

Address

Branch

string

Branch

Code

string

Code

Commited

datetime

Commited

Creator

string

Creator

CurrentCycle

string

Current Cycle

DateOfBeginning

datetime

Date Of Beginning

DateOfCreate

datetime

Date Of Create

DateOfEnd

datetime

Date Of End

DateOfStart

datetime

Date Of Start

Id

numeric

Id

Page

string

Page

PreviousBook

string

Previous Book

State

string

State

Unit

string

Unit

Year

numeric

Year

GET

Description: Get item or list paging by offset and limit parameters

Endpoint(s):

  • GET /v4/accounting/master-books/{Code}: for get exacly item

  • GET /v4/accounting/master-books: for get multiple items

Parameters:

  • token: authentication token (Type: string)

  • offset: get items from offset (Type: int)

  • limit: get number of items (Type: int)

  • id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: string)

  • filter_<Field>: filter items by like value (Type: string)

  • left_<Field>: filter items by like left of value (Type: string)

  • right_<Field>: filter items by like right of value (Type: string)

  • eq_<Field>: filter items by equal value (Type: string)

  • ne_<Field>: filter items by not equal value (Type: string)

  • lt_<Field>: filter items by less than value (Type: string)

  • le_<Field>: filter items by less than or equal value (Type: string)

  • gt_<Field>: filter items by greater then value (Type: string)

  • ge_<Field>: filter items by greater than or equal value (Type: string)

POST

Description: Create new items

Endpoint: POST /v4/accounting/master-books

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

PUT

Description: Update items by ids

  • PUT /v4/accounting/master-books/{Code}: for put exacly item

  • PUT /v4/accounting/master-books: for put multiple items

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

DELETE

Description: Delete items by ids

Endpoint(s):

  • DELETE /v4/accounting/master-books/{Code}: for delete exacly item

  • DELETE /v4/accounting/master-books?id0=123&id1=456&...: for delete multiple items with id0 id1,...

RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Accounting MasterBookHeadEntries

Primary Key: Account

Schema

Field
Type
Description

Code

string

Code

Currency

string

Currency

Description

string

Description

Group

string

Group

Id

numeric

Id

Level

numeric

Level

Name

string

Name

NumOfChildren

number

Num Of Children

Parent

string

Parent

Property

string

Property

ReportByBankAccount

boolean

Report By Bank Account

ReportByObject

string

Report By Object

Type

string

Type

Debit

double

Debit

Credit

double

Credit

GET

Description: Get item or list paging by offset and limit parameters

Endpoint(s):

  • GET /v4/accounting/master-book-head-entries/{Account}: for get exacly item

  • GET /v4/accounting/master-book-head-entries: for get multiple items

Parameters:

  • token: authentication token (Type: string)

  • offset: get items from offset (Type: int)

  • limit: get number of items (Type: int)

  • id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: string)

  • filter_<Field>: filter items by like value (Type: string)

  • left_<Field>: filter items by like left of value (Type: string)

  • right_<Field>: filter items by like right of value (Type: string)

  • eq_<Field>: filter items by equal value (Type: string)

  • ne_<Field>: filter items by not equal value (Type: string)

  • lt_<Field>: filter items by less than value (Type: string)

  • le_<Field>: filter items by less than or equal value (Type: string)

  • gt_<Field>: filter items by greater then value (Type: string)

  • ge_<Field>: filter items by greater than or equal value (Type: string)

POST

Description: Create new items

Endpoint: POST /v4/accounting/master-book-head-entries

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

PUT

Description: Update items by ids

  • PUT /v4/accounting/master-book-head-entries/{Account}: for put exacly item

  • PUT /v4/accounting/master-book-head-entries: for put multiple items

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

DELETE

Description: Delete items by ids

Endpoint(s):

  • DELETE /v4/accounting/master-book-head-entries/{Account}: for delete exacly item

  • DELETE /v4/accounting/master-book-head-entries?id0=123&id1=456&...: for delete multiple items with id0 id1,...

RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Accounting CostClassifications

Primary Key: Code

Schema

Field
Type
Description

AccModel

string

Acc Model

Code

string

Code

Description

string

Description

Id

numeric

Id

Name

string

Name

Parent

string

Parent

GET

Description: Get item or list paging by offset and limit parameters

Endpoint(s):

  • GET /v4/accounting/cost-classifications/{Code}: for get exacly item

  • GET /v4/accounting/cost-classifications: for get multiple items

Parameters:

  • token: authentication token (Type: string)

  • offset: get items from offset (Type: int)

  • limit: get number of items (Type: int)

  • id<no>: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: string)

  • filter_<Field>: filter items by like value (Type: string)

  • left_<Field>: filter items by like left of value (Type: string)

  • right_<Field>: filter items by like right of value (Type: string)

  • eq_<Field>: filter items by equal value (Type: string)

  • ne_<Field>: filter items by not equal value (Type: string)

  • lt_<Field>: filter items by less than value (Type: string)

  • le_<Field>: filter items by less than or equal value (Type: string)

  • gt_<Field>: filter items by greater then value (Type: string)

  • ge_<Field>: filter items by greater than or equal value (Type: string)

POST

Description: Create new items

Endpoint: POST /v4/accounting/cost-classifications

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

PUT

Description: Update items by ids

  • PUT /v4/accounting/cost-classifications/{Code}: for put exacly item

  • PUT /v4/accounting/cost-classifications: for put multiple items

Payload:

  • Content-Type: application/json

  • Data: JSON Array of objects defined in Schema

DELETE

Description: Delete items by ids

Endpoint(s):

  • DELETE /v4/accounting/cost-classifications/{Code}: for delete exacly item

  • DELETE /v4/accounting/cost-classifications?id0=123&id1=456&...: for delete multiple items with id0 id1,...