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

Create Loan

Developing
POST
https://api.gofive.co.th/empeo/api/v1/Payroll/Loan

Request

Header Params
Authorization
string 
required
Example:
Bearer {Bearer}
Content-Type
string 
required
Example:
application/json
Body Params application/json
EmployeeRefId
string 
required
รหัสพนักงาน เช่น 12345
CompanyName
string 
required
ชื่อบริษัท
DocumentNo
string 
optional
เลขเอกสาร
FinancialItemName
string 
required
ชื่อรายได้ รายหัก
DateOfPayment
string 
required
วันที่จ่าย ระบบจะไปหางวดจากวันที่
Amount
number 
required
จำนวนเงินรวม
TotalPeriod
number 
required
แบ่งจ่ายกี่ครั้ง
Remark
string 
required
หมายเหตุ
InterestType
number 
required
0=ไม่มีดอกเบี้ย,1=ดอกเบี้ยคงที่
InterestRatePerYear
number 
required
กรณีมีดอกเบี้ยให้ระบุอัตราดอกเบี้ย
Example
{
  "EmployeeRefId": "4F603520-4FCD-4973-8388-B5B0EE84CBB1",
  "CompanyName": "empeo Dev Test",
  "DocumentNo": "EPP220400171",
  "FinancialItemName": "Advance Payment",
  "DateOfPayment": "2023-07-31",
  "Amount": 19807.45,
  "TotalPeriod": 12,
  "Remark": "IPA4-MYFQ2TH/A",
  "InterestType": 1,
  "InterestRatePerYear": 3
}

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 POST 'https://api.gofive.co.th/empeo/api/v1/Payroll/Loan' \
--header 'Authorization: Bearer {Bearer}' \
--header 'Content-Type: application/json' \
--data-raw '{
        "EmployeeRefId": "4F603520-4FCD-4973-8388-B5B0EE84CBB1",
        "CompanyName": "empeo Dev Test",
        "DocumentNo": "EPP220400171",
        "FinancialItemName": "Advance Payment",
        "DateOfPayment": "2023-07-31",
        "Amount":19807.45,
        "TotalPeriod":12,
        "Remark": "IPA4-MYFQ2TH/A",
        "InterestType" : 1,
        "InterestRatePerYear" : 3
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Previous
Get Shift Details
Next
Get Loan (Draft)
Built with