Gofive OpenAPI
empeoVenioeTaxGo
empeoVenioeTaxGo
  1. Payroll
  • Authentication API
    • Authorization
      POST
  • Employee
    • Get Employee
      GET
    • Update Employee
      PUT
    • Get List Employees
      GET
    • Get Employees List
      GET
    • Get Mastertypes List
      GET
    • Get Name Prefixes
      GET
    • Get Document Types
      GET
    • Update Employee
      POST
    • Add Employee Attachment
      POST
    • Update Employee Address
      POST
    • Update Employee Family
      POST
    • Update Employee Information
      POST
    • Update Employee Shifts
      POST
    • Update Employee Contact
      POST
    • Update Employee Education
      POST
    • Update Employee Experience
      POST
    • Update Employee CustomField
      POST
    • Delete Employee
      POST
    • Get Employee Shifts
      GET
    • Get Employee Role
      GET
    • Get Employee Movement Lists
      GET
  • Leave
    • Get Employee Documents
  • Master
    • Get Organizations
    • Get CustomField
    • Get Holiday
    • Get MasterSetup
    • Get Shift Details
  • Payroll
    • Create Loan
      POST
    • Get Loan (Draft)
      GET
    • Get Cost Center
      POST
    • Get Financial Transactions
      POST
    • Update Financial Transactions
      PUT
  • Attendance
    • Get Time Attendance
    • Get Time Attendances Lite
  • Welfare
    • Get Shuttle Buses
    • Get Passengers
  • Time
    • Workin
    • Get Employee WorkIn Site
    • Get Timestamps
    • Get TimeStamp Attachments
    • Get Workin Sites
    • Get IOMO Logs
    • Add Timestamps
  • AppMan
    • Update status criminal checker
    • Send Email Notification when completed
  • Asset
    • Get Asset list
    • Update Asset
    • Get Employee Assets
  • Recruitment
    • Get Candidate
  1. Payroll

Update Financial Transactions

Developing
PUT
https://api.gofive.co.th/empeo/api/v1/payrolls/financial-transactions

Request

Header Params
Authorization
string 
required
Example:
Bearer {Bearer}
Content-Type
string 
required
Example:
application/json
Body Params application/json
companyName
string 
required
ชื่อบริษัท
year
integer 
required
ปีของงวดเงินเดือน
periodCalculateNo
integer 
required
งวดเงินเดือน
periodExtendNo
integer 
required
งวดพิเศษ ถ้าไม่มี defualt เป็น 0
financialTransactions
array [object {2}] 
required
รายการสำหรับการอัปเดตข้อมูล transaction เงินเดือนของงวดนั้นๆ
employeeRefId
string 
optional
รหัสพนักงาน
financialItems
array [object {2}] 
optional
รายการรายได้ รายหักสำหรับการอัปเดต
Example
{
  "periodCalculateNo": 10,
  "periodExtendNo": 0,
  "year": 2024,
  "companyName": "โกไฟว์",
  "financialTransactions": [
    {
      "employeeRefId": "80105",
      "financialItems": [
        {
          "code": "I01",
          "amount": 1000
        },
        {
          "code": "I4116",
          "amount": 1000
        }
      ]
    }
  ]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.gofive.co.th/empeo/api/v1/payrolls/financial-transactions' \
--header 'Authorization: Bearer {Bearer}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "periodCalculateNo": 10,
    "periodExtendNo": 0,
    "year": 2024,
    "companyName": "โกไฟว์",
    "financialTransactions": [
        {
            "employeeRefId": "80105",
            "financialItems": [
                {
                    "code": "I01",
                    "amount": 1000.00
                },
                {
                    "code": "I4116",
                    "amount": 1000.00
                }
            ]
        }
    ]
}'

Responses

🟢200Success
application/json
Body
status
object 
required
code
string 
required
description
string 
required
data
object 
required
message
string 
required
result
boolean 
required
Example
{
  "status": {
    "code": "1000",
    "description": "Data successfully updated"
  },
  "data": {
    "message": "Saved successfully.",
    "result": true
  }
}
🟠401User authentication required V2.
🟠400Bad Request
Previous
Get Financial Transactions
Next
Get Time Attendance
Built with