Gofive OpenAPI
empeo
VenioeTaxGo
empeo
VenioeTaxGo
  1. Payroll
  • Authentication
    • Authorization
      POST
  • Master
    • Get Organizations
      GET
    • Get CustomField
      GET
    • Get Holiday
      GET
    • Get MasterSetup
      GET
    • Get Overtimes
      GET
  • Recruitment
    • Get Candidate
      GET
  • Core HR
    • Attendance
      • Get Time Attendance
      • Workin
      • Get Employee WorkIn Site
      • Get Timestamps
      • Get TimeStamp Attachments
      • Get Workin Sites
      • Get IOMO Logs
      • Add Timestamps
    • Asset
      • Get Asset list
      • Update Asset
      • Get Employee Assets
    • Employee
      • Get Employee
      • Update Employee
      • Get Employees List
      • Get Mastertypes List
      • Get Name Prefixes
      • Get Document Types
      • Update Employee
      • Add Employee Attachment
      • Update Employee Address
      • Update Employee Family
      • Update Employee Contact
      • Update Employee Education
      • Update Employee Experience
      • Update Employee CustomField
      • Delete Employee
      • Get Employee Role
      • Get Employee Movement Lists
    • Leave
      • Get Employee Documents
    • Shifts
      • Get Shift Details
      • Update Employee Shifts
      • Get Employee Shifts
      • Swap Employee Shifts
    • Timesheet
      • Search Projects
      • Search Tasks
      • Create Timesheet Entry
  • Payroll
    • Get Financial Transactions
      POST
    • Update Financial Transactions
      PUT
    • Create Loan
      POST
    • Get Cost Center
      POST
  • Welfare
    • Shuttle Buses
      GET
    • Passengers
      GET
  • Goals
    • Update KPI
      POST
  • Engagement
    • Achievement
      • Get Employee Achievements
      • Create Achievement Card
      • Create Achievement Award Document
      • Get Achievement Events
    • Praise
      • Get Employee Praises
      • Get Praise Types
      • Create Praise Reward Manager
    • StampCard
      • Get Stamp Cards
      • Get Stamp Card Detail
      • Add Stamp
    • Celebration
      • Get Upcoming Celebrations
    • Mission
      • ดึงคิวงานรอตรวจ
      • ดึงรายละเอียดงาน 1 ใบ
      • ดึงตัวเลขสรุปงานตามสถานะ
      • อนุมัติงานหลายใบพร้อมกัน
      • ส่งงานกลับให้แก้หลายใบพร้อมกัน
  • Overtime
    • Get Overtimes Preriods
    • Get Overtimes Documents
  • Employee
    • User Info
    • Update Employee Information
  1. Payroll

Get Financial Transactions

POST
https://api.gofive.co.th/empeo/api/v1/payrolls/financial-transactions
ดึงรายได้-รายหักของพนักงานตามงวด
ดึงรายการรายได้-รายหักของพนักงานทุกคนในงวดหนึ่ง แต่ละคนมี FinancialItems เป็นรายการย่อย
ใช้เป็นข้อมูลตั้งต้นก่อนแก้ไขด้วย PUT ของ path เดียวกัน
⚠️ ข้อควรรู้
เป็น POST แม้จะเป็นการอ่านข้อมูล — ตัวกรองส่งมาทาง request body
Type ของรายการย่อย: 1 = รายได้, 2 = รายหัก
IsCalculate บอกว่ายอดนั้นระบบคำนวณให้หรือกำหนดมาตายตัว
ฟิลด์ที่เป็น null (เช่น PositionName, FullName_EN) จะ ไม่ปรากฏใน JSON
ไม่พบข้อมูลจะได้ 204
🔐 ต้องมีสิทธิ์ Open API โมดูล Payroll ระดับ Read

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Header Params

Body Params application/jsonRequired

Example
{
    "CompanyName": "Acme",
    "Year": 2026,
    "PeriodCalculateNo": 1,
    "PeriodExtendNo": 0,
    "Keyword": "EMP001",
    "Skip": 0,
    "Take": 100
}

Request Code 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 'https://api.gofive.co.th/empeo/api/v1/payrolls/financial-transactions' \
--header 'Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "CompanyName": "Acme",
    "Year": 2026,
    "PeriodCalculateNo": 1,
    "PeriodExtendNo": 0,
    "Keyword": "EMP001",
    "Skip": 0,
    "Take": 100
}'

Responses

🟢200OK
application/json
สำเร็จ — Data คือพนักงานพร้อมรายการรายได้-รายหักของงวดนั้น
Bodyapplication/json

Example
{
    "StatusCode": 200,
    "Message": "OK",
    "Totals": 1,
    "Data": [
        {
            "EmployeeRefId": "EMP001",
            "FullName": "พนักงานตัวอย่าง หนึ่ง",
            "FullName_EN": "Sample Employee One",
            "PositionName": "นักพัฒนาระบบ",
            "PositionName_EN": "Software Developer",
            "PayrollStatusName": "พนักงานประจำ",
            "PayrollStatusName_EN": "Permanent",
            "FinancialItems": [
                {
                    "Code": "I18",
                    "Type": 1,
                    "Name": "คืนเงินวันลาคงเหลือ",
                    "Name_EN": "Leave Benefit Compensation",
                    "IsCalculate": true,
                    "Amount": 0
                },
                {
                    "Code": "D12",
                    "Type": 2,
                    "Name": "หักเงินกู้สวัสดิการ",
                    "Name_EN": "Welfare Loan Deduction",
                    "IsCalculate": false,
                    "Amount": 1000
                }
            ]
        }
    ]
}
🟢204No Content
🟠401Unauthorized
🟠403Forbidden
🟠429Too Many Requests
🔴500Server Error
Modified at 2026-08-20 06:06:54
Previous
Create Timesheet Entry
Next
Update Financial Transactions
Built with