Skip to content

API v2 account book

arealclimber edited this page May 21, 2025 · 4 revisions

API code example : A011001

The initial letter 'A' indicates that the API is located in a folder whose name begins with 'A'. Following this, the first two digits '01' specify the API's position in a sequence of folders, suggesting that it is the first folder starting with 'A'. The third digit '1' denotes the API's position within a subsequence of folders inside the initial folder starting with 'A', indicating it is in the first subfolder. Lastly, the final three digits '001' represent the API's sequence number within the subfolder, meaning it is the first API listed there.

API list

BaseUrl: /api/v2

listAccountBookByUserId

  • Description: 根據用戶 ID 獲取所有帳本及其團隊信息

Request

Request URL

GET /user/:userId/account_book

Parameters

Name Type Description Required Default
userId string 用戶 ID Yes --

Query Parameters

Name Type Description Required Default
page number 頁碼 No 1
pageSize number 每頁數量 No 10
searchQuery string 搜索關鍵字 No --
sortOption string 排序選項 sortBy:sortOrder,多個條件使用 - 分隔 no CreatedAt:desc
simple boolean 是否返回簡化版帳本資訊 No false

Sort Fields

可用於排序的欄位:

  • CreatedAt - 創建時間
  • UpdatedAt - 更新時間

Sort Order

  • asc - 升序
  • desc - 降序

Request Example

GET /user/10000003/account_book?page=1&pageSize=10&searchQuery=burger&sortOption=CreatedAt:desc

Response

Response Parameters

Name Type Description
powerby string API 版本
success boolean 成功狀態
code string 響應代碼
message string 響應消息
payload IPaginatedData<IAccountBookWithTeam[]> 帳本列表(分頁)

IPaginatedData

Name Type Description
data IAccountBookWithTeam[] 帳本列表
page number 當前頁碼
totalPages number 總頁數
totalCount number 總記錄數
pageSize number 每頁記錄數
hasNextPage boolean 是否有下一頁
hasPreviousPage boolean 是否有上一頁
sort ISortOption[] 排序配置

ISortOption

Name Type Description
sortBy string 排序欄位
sortOrder string 排序方向

IAccountBookWithTeam

Name Type Description
id number 帳本 ID
teamId number 團隊 ID
userId number 用戶 ID
imageId string 帳本圖片 URL
name string 帳本名稱
taxId string 統一編號
tag string 工作標籤
startDate number 開始日期(時間戳)
createdAt number 創建時間(時間戳)
updatedAt number 更新時間(時間戳)
isPrivate boolean 是否為私有
representativeName string 負責人姓名
taxSerialNumber string 稅籍編號
contactPerson string 聯絡人姓名
phoneNumber string 電話號碼
city string 縣市
district string 行政區
enteredAddress string 地址
filingFrequency string 申報頻率
filingMethod string 總繳種類
declarantFilingMethod string 申報方式
declarantName string 申報人姓名
declarantPersonalId string 申報人身分證字號
declarantPhoneNumber string 申報人電話號碼
agentFilingRole string 申報代理人角色
licenseId string 證書字號/登錄字號
team ITeam 團隊信息
isTransferring boolean 是否正在轉移中

ITeam

Name Type Description
id number 團隊 ID
imageId string 團隊圖片 URL
role string 用戶在團隊中的角色
name IEditable 團隊名稱
about IEditable 團隊描述
profile IEditable 團隊簡介 URL
planType IEditable 訂閱方案類型
totalMembers number 成員總數
totalAccountBooks number 帳本總數
bankAccount IEditable 銀行帳戶信息
expiredAt number 訂閱到期日期(時間戳)
inGracePeriod boolean 是否處於寬限期
gracePeriodEndAt number 寬限期結束日期(時間戳)

IEditable

Name Type Description
value T 欄位值
editable boolean 是否可編輯

Response Example

{
    "powerby": "iSunFA v0.10.2",
    "success": true,
    "code": "200ISF0000",
    "message": "Success",
    "payload": {
        "data": [
            {
                "id": 10001318,
                "teamId": 83,
                "userId": 10000003,
                "imageId": "https://storage.googleapis.com/mermer-offical-km/ISunFa/b5bade14-9f6e-480f-9c2a-6dd4eaed59ba.png",
                "name": "0519-1344帳本",
                "taxId": "15874451878944723",
                "tag": "ALL",
                "startDate": 1747633401,
                "createdAt": 1747633401,
                "updatedAt": 1747633401,
                "isPrivate": false,
                "representativeName": "小明",
                "taxSerialNumber": "TX123456789",
                "contactPerson": "林小姐",
                "phoneNumber": "0912345678",
                "city": "台北市",
                "district": "中山區",
                "enteredAddress": "中山北路一段100號5樓",
                "filingFrequency": null,
                "filingMethod": null,
                "declarantFilingMethod": null,
                "declarantName": null,
                "declarantPersonalId": null,
                "declarantPhoneNumber": null,
                "agentFilingRole": null,
                "licenseId": null,
                "team": {
                    "id": 83,
                    "imageId": "/images/fake_team_img.svg",
                    "role": "OWNER",
                    "name": {
                        "value": "Shirley second owner team",
                        "editable": true
                    },
                    "about": {
                        "value": "",
                        "editable": true
                    },
                    "profile": {
                        "value": "",
                        "editable": true
                    },
                    "planType": {
                        "value": "TRIAL",
                        "editable": false
                    },
                    "totalMembers": 1,
                    "totalAccountBooks": 14,
                    "bankAccount": {
                        "value": "-",
                        "editable": false
                    },
                    "expiredAt": 1749112907,
                    "inGracePeriod": false,
                    "gracePeriodEndAt": 1749372107
                },
                "isTransferring": false
            },
            {
                "id": 10001317,
                "teamId": 83,
                "userId": 10000003,
                "imageId": "https://storage.googleapis.com/mermer-offical-km/ISunFa/b5bade14-9f6e-480f-9c2a-6dd4eaed59ba.png",
                "name": "0519-1343帳本",
                "taxId": "158744561878944723",
                "tag": "ALL",
                "startDate": 1747633386,
                "createdAt": 1747633386,
                "updatedAt": 1747633386,
                "isPrivate": false,
                "representativeName": "小明",
                "taxSerialNumber": "TX123456789",
                "contactPerson": "林小姐",
                "phoneNumber": "0912345678",
                "city": "台北市",
                "district": "中山區",
                "enteredAddress": "中山北路一段100號5樓",
                "filingFrequency": "BIMONTHLY_FILING",
                "filingMethod": "SINGLE_ENTITY_FILING",
                "declarantFilingMethod": "AGENT_FILING",
                "declarantName": "陳志明",
                "declarantPersonalId": "A123456789",
                "declarantPhoneNumber": "0987654321",
                "agentFilingRole": "BOOKKEEPER",
                "licenseId": "LIC-99887766",
                "team": {
                    "id": 83,
                    "imageId": "/images/fake_team_img.svg",
                    "role": "OWNER",
                    "name": {
                        "value": "Shirley second owner team",
                        "editable": true
                    },
                    "about": {
                        "value": "",
                        "editable": true
                    },
                    "profile": {
                        "value": "",
                        "editable": true
                    },
                    "planType": {
                        "value": "TRIAL",
                        "editable": false
                    },
                    "totalMembers": 1,
                    "totalAccountBooks": 14,
                    "bankAccount": {
                        "value": "-",
                        "editable": false
                    },
                    "expiredAt": 1749112907,
                    "inGracePeriod": false,
                    "gracePeriodEndAt": 1749372107
                },
                "isTransferring": false
            }
        ],
        "page": 1,
        "totalPages": 20,
        "totalCount": 39,
        "pageSize": 2,
        "hasNextPage": true,
        "hasPreviousPage": false,
        "sort": [
            {
                "sortBy": "CreatedAt",
                "sortOrder": "desc"
            }
        ]
    }
}
  • Failed response
{
  "powerby": "iSunFA v0.9.1+19",
  "success": false,
  "code": "405ISF0000",
  "message": "Method not allowed",
  "payload": null
}

listteamaccountbook

  • Description: 獲取團隊下所有帳本(支持分頁)

Request

Request URL

GET /team/:teamId/account_book

Parameters

Name Type Required Description
teamId string Yes 團隊 ID

Query Parameters

Name Type Required Default Description
page number No 1 當前頁碼
pageSize number No 10 每頁數量
startDate number No 0 開始日期(UNIX 時間戳,秒)
endDate number No 當前日期 結束日期(UNIX 時間戳,秒)
sortOption string No '' 排序選項,格式:"field:order",多個條件使用 - 分隔。例如:name:asc-createdAt:desc
searchQuery string No '' 搜索關鍵字

Request Example

GET /team/10000001/account_book?page=1&pageSize=10

Response

Response Parameters

Name Type Description
powerby string API 版本
success boolean 成功狀態
code string 響應代碼
message string 響應消息
payload IPaginatedData<IAccountBookWithTeam[]> 帳本列表(分頁)

IPaginatedData

Name Type Description
data IAccountBookWithTeam[] 帳本列表
page number 當前頁碼
totalPages number 總頁數
totalCount number 總記錄數
pageSize number 每頁記錄數
hasNextPage boolean 是否有下一頁
hasPreviousPage boolean 是否有上一頁
sort ISortOption[] 排序配置

ISortOption

Name Type Description
sortBy string 排序欄位
sortOrder string 排序方向

IAccountBookWithTeam

Name Type Description
id number 帳本 ID
teamId number 團隊 ID
userId number 用戶 ID
imageId string 帳本圖片 URL
name string 帳本名稱
taxId string 統一編號
tag string 工作標籤
startDate number 開始日期(時間戳)
createdAt number 創建時間(時間戳)
updatedAt number 更新時間(時間戳)
isPrivate boolean 是否為私有
representativeName string 負責人姓名
taxSerialNumber string 稅籍編號
contactPerson string 聯絡人姓名
phoneNumber string 電話號碼
city string 縣市
district string 行政區
enteredAddress string 地址
filingFrequency string 申報頻率
filingMethod string 總繳種類
declarantFilingMethod string 申報方式
declarantName string 申報人姓名
declarantPersonalId string 申報人身分證字號
declarantPhoneNumber string 申報人電話號碼
agentFilingRole string 申報代理人角色
licenseId string 證書字號/登錄字號
team ITeam 團隊信息
isTransferring boolean 是否正在轉移中

ITeam

Name Type Description
id number 團隊 ID
imageId string 團隊圖片 URL
role string 用戶在團隊中的角色
name IEditable 團隊名稱
about IEditable 團隊描述
profile IEditable 團隊簡介 URL
planType IEditable 訂閱方案類型
totalMembers number 成員總數
totalAccountBooks number 帳本總數
bankAccount IEditable 銀行帳戶信息
expiredAt number 訂閱到期日期(時間戳)
inGracePeriod boolean 是否處於寬限期
gracePeriodEndAt number 寬限期結束日期(時間戳)

IEditable

Name Type Description
value T 欄位值
editable boolean 是否可編輯

Response Example

{
    "powerby": "iSunFA v0.10.2",
    "success": true,
    "code": "200ISF0000",
    "message": "Success",
    "payload": {
        "data": [
            {
                "id": 10001312,
                "teamId": 83,
                "userId": 10000003,
                "imageId": "https://storage.googleapis.com/mermer-offical-km/ISunFa/c676ff61-7b20-4807-9a8a-4366431d8a0d.svg",
                "name": "222test with",
                "taxId": "12345678",
                "tag": "ALL",
                "startDate": 1620000000,
                "createdAt": 1747712588,
                "updatedAt": 1747724289,
                "isPrivate": false,
                "representativeName": "Test Name",
                "taxSerialNumber": "12345678",
                "contactPerson": "聯絡人姓名rrrr",
                "phoneNumber": "05161621",
                "city": "桃園市",
                "district": "",
                "enteredAddress": "",
                "filingFrequency": null,
                "filingMethod": null,
                "declarantFilingMethod": null,
                "declarantName": null,
                "declarantPersonalId": null,
                "declarantPhoneNumber": null,
                "agentFilingRole": null,
                "licenseId": null,
                "team": {
                    "id": 83,
                    "imageId": "/images/fake_team_img.svg",
                    "role": "OWNER",
                    "name": {
                        "value": "Shirley second owner team",
                        "editable": true
                    },
                    "about": {
                        "value": "",
                        "editable": true
                    },
                    "profile": {
                        "value": "",
                        "editable": true
                    },
                    "planType": {
                        "value": "TRIAL",
                        "editable": false
                    },
                    "totalMembers": 1,
                    "totalAccountBooks": 8,
                    "bankAccount": {
                        "value": "-",
                        "editable": false
                    },
                    "expiredAt": 1749112907,
                    "inGracePeriod": false,
                    "gracePeriodEndAt": 1749372107
                },
                "isTransferring": false
            },
            {
                "id": 10001311,
                "teamId": 83,
                "userId": 10000003,
                "imageId": "https://storage.googleapis.com/mermer-offical-km/ISunFa/d5e41bc5-ff7b-4138-b88c-3bc91d05e3d2.svg",
                "name": "test with",
                "taxId": "987654310",
                "tag": "ALL",
                "startDate": 1620000000,
                "createdAt": 1747711793,
                "updatedAt": 1747711793,
                "isPrivate": false,
                "representativeName": "New Representative Name",
                "taxSerialNumber": "987654210",
                "contactPerson": "聯絡人姓名",
                "phoneNumber": "05161621",
                "city": "台北市",
                "district": "信義區",
                "enteredAddress": "123信義路五段2號110",
                "filingFrequency": "MONTHLY_FILING",
                "filingMethod": "SINGLE_ENTITY_FILING",
                "declarantFilingMethod": "SELF_FILING",
                "declarantName": "申報人姓名",
                "declarantPersonalId": "A123456789",
                "declarantPhoneNumber": "0912345678",
                "agentFilingRole": "ACCOUNTANT",
                "licenseId": "記帳士證號123456",
                "team": {
                    "id": 83,
                    "imageId": "/images/fake_team_img.svg",
                    "role": "OWNER",
                    "name": {
                        "value": "Shirley second owner team",
                        "editable": true
                    },
                    "about": {
                        "value": "",
                        "editable": true
                    },
                    "profile": {
                        "value": "",
                        "editable": true
                    },
                    "planType": {
                        "value": "TRIAL",
                        "editable": false
                    },
                    "totalMembers": 1,
                    "totalAccountBooks": 8,
                    "bankAccount": {
                        "value": "-",
                        "editable": false
                    },
                    "expiredAt": 1749112907,
                    "inGracePeriod": false,
                    "gracePeriodEndAt": 1749372107
                },
                "isTransferring": false
            }
        ],
        "page": 1,
        "totalPages": 4,
        "totalCount": 8,
        "pageSize": 2,
        "hasNextPage": true,
        "hasPreviousPage": false,
        "sort": [
            {
                "sortBy": "CreatedAt",
                "sortOrder": "desc"
            }
        ]
    }
}
  • Failed response
{
  "powerby": "iSunFA v0.9.1+19",
  "success": false,
  "code": "405ISF0000",
  "message": "Method not allowed",
  "payload": null
}

requestTransferAccountBook

  • Description:
    • 申請將帳本轉移到另一個團隊,所有相關數據(包含公司資料、財務紀錄)將會一起轉移。
    • 需要提供目標團隊 fromTeamId、toTeamId,確保該團隊 有權限且能夠管理 該帳本。

Request

Request URL

POST /api/v2/account_book/:accountBookId/transfer

Path Parameters

參數名稱 類型 必填 描述
accountBookId number ✅ 帳本 id

Request Example

POST /api/v2/account_book/10001/transfer

Request Body

{
  "fromTeamId": 100001,
  "toTeamId": 100002,
}
參數名稱 類型 必填 描述
fromTeamId number ✅ 轉移帳本的原團隊 ID
toTeamId number ✅ 接收帳本的目標團隊 ID

Response

Response Parameters

Name Type Description
powerby string API version
success boolean Success status
code string Response code
message string Response message
payload ITransferLedger 帳本轉移狀態

參數名稱 類型 描述
accountBookId number 帳本 ID
fromTeamId number 原始團隊 ID
toTeamId number 目標團隊 ID
status `"TransferStatus" 轉移結果 (PENDING, COMPLETED, CANCELED, DECLINED, FAILED)
transferedAt number 起始日期(UNIX 時間戳,單位:秒)

Response Example

{
  "powerby": "iSunFA v0.9.1+20",
  "success": true,
  "code": "200ISF0000",
  "message": "User has left the team",
  "payload": {
    "fromTeamId": 100001,
    "toTeamId": 100002,
    "status": "PENDING"
  }
}
  • Failed response
{
    "powerby": "iSunFA v0.9.1+19",
    "success": false,
    "code": "405ISF0000",
    "message": "Method not allowed",
    "payload": null
}

cancelTransferAccountBook

  • Description:
    • 取消申請將帳本轉移到另一個團隊。

Request

Request URL

GET /api/v2/account_book/:accountBookId/cancel

Path Parameters

參數名稱 類型 必填 描述
accountBookId number ✅ 帳本 id

Request Example

GET /api/v2/account_book/10001/cancel

Response

Response Parameters

Name Type Description
powerby string API version
success boolean Success status
code string Response code
message string Response message
payload ITransferLedger 帳本轉移狀態

參數名稱 類型 描述
accountBookId number 帳本 ID
fromTeamId number 原始團隊 ID
toTeamId number 目標團隊 ID
status `"TransferStatus" 轉移結果 (PENDING, COMPLETED, CANCELED, DECLINED, FAILED)
transferedAt number 起始日期(UNIX 時間戳,單位:秒)

Response Example

{
  "powerby": "iSunFA v0.9.1+20",
  "success": true,
  "code": "200ISF0000",
  "message": "User has left the team",
  "payload": {
    "fromTeamId": 100001,
    "toTeamId": 100002,
    "status": "CANCELED"
  }
}
  • Failed response
{
    "powerby": "iSunFA v0.9.1+19",
    "success": false,
    "code": "405ISF0000",
    "message": "Method not allowed",
    "payload": null
}

acceptTransferAccountBook

  • Description:
    • 接受其他團隊轉移過來的帳本。

Request

Request URL

GET /api/v2/account_book/:accountBookId/accept

Path Parameters

參數名稱 類型 必填 描述
accountBookId number ✅ 帳本 id

Request Example

GET /api/v2/account_book/10001/accept

Response

Response Parameters

Name Type Description
powerby string API version
success boolean Success status
code string Response code
message string Response message
payload ITransferLedger 帳本轉移狀態

參數名稱 類型 描述
accountBookId number 帳本 ID
fromTeamId number 原始團隊 ID
toTeamId number 目標團隊 ID
status `"TransferStatus" 轉移結果 (PENDING, COMPLETED, CANCELED, DECLINED, FAILED)
transferedAt number 起始日期(UNIX 時間戳,單位:秒)

Response Example

{
  "powerby": "iSunFA v0.9.1+20",
  "success": true,
  "code": "200ISF0000",
  "message": "User has left the team",
  "payload": {
    "fromTeamId": 100001,
    "toTeamId": 100002,
    "status": "COMPLETED"
    "transferedAt": 1672617600,
  }
}
  • Failed response
{
    "powerby": "iSunFA v0.9.1+19",
    "success": false,
    "code": "405ISF0000",
    "message": "Method not allowed",
    "payload": null
}

declineTransferAccountBook

  • Description:
    • 拒絕其他團隊轉移過來的帳本。

Request

Request URL

GET /api/v2/account_book/:accountBookId/decline

Path Parameters

參數名稱 類型 必填 描述
accountBookId number ✅ 帳本 id

Request Example

GET /api/v2/account_book/10001/decline

Response

Response Parameters

Name Type Description
powerby string API version
success boolean Success status
code string Response code
message string Response message
payload ITransferLedger 帳本轉移狀態

參數名稱 類型 描述
accountBookId number 帳本 ID
fromTeamId number 原始團隊 ID
toTeamId number 目標團隊 ID
status `"TransferStatus" 轉移結果 (PENDING, COMPLETED, CANCELED, DECLINED, FAILED)
transferedAt number 起始日期(UNIX 時間戳,單位:秒)

Response Example

{
  "powerby": "iSunFA v0.9.1+20",
  "success": true,
  "code": "200ISF0000",
  "message": "User has left the team",
  "payload": {
    "fromTeamId": 100001,
    "toTeamId": 100002,
    "status": "DECLINED"
  }
}
  • Failed response
{
    "powerby": "iSunFA v0.9.1+19",
    "success": false,
    "code": "405ISF0000",
    "message": "Method not allowed",
    "payload": null
}

connectAccountBookByBookId

  • description: Connect to a specific account book by its ID

Request

Request url

GET /account_book/:accountBookId/connect

Parameters

name type description required default
accountBookId number ID of the account book true --

Request Example

GET /account_book/1/connect

Response

Response Parameters

name type description
powerby string Version of the API
success boolean Indicates whether the request was successful
code string Response code
message string Detailed message of the request result
payload object IAccountBook object

IAccountBook Interface

The payload adheres to the IAccountBook interface which contains the following fields:

name type description
id number Unique identifier of the account book
imageId string URL of the account book image
name string Name of the account book
taxId string Tax identification number
startDate number Start date as a Unix timestamp
createdAt number Creation timestamp
updatedAt number Update timestamp
isPrivate boolean Indicates if the account book is private

Response Example

  • Success
{
    "powerby": "iSunFA v0.9.1+71",
    "success": true,
    "code": "200ISF0002",
    "message": "Get successfully",
    "payload": {
        "id": 10000004,
        "imageId": "https://storage.googleapis.com/mermer-offical-km/ISunFa/c3af5a74-ac6e-4fae-85fc-bacc632b3022.svg",
        "name": "second company",
        "taxId": "4864648",
        "startDate": 1725372616,
        "createdAt": 1725372616,
        "updatedAt": 1725372616,
        "isPrivate": true
    }
}
  • Failed
{
    "powerby": "iSunFA v0.9.1+71",
    "success": false,
    "code": "404ISF0000",
    "message": "Resource not found",
    "payload": null
}

getAccountBookById

  • Description: 獲取帳本詳細資訊

Request

Request URL

GET /account_book/:accountBookId

Parameters

Parameter Type Description Required Default
accountBookId string 帳本 ID Yes --

Request Example

GET / account_book / 123;

Response

Response Parameters

Name Type Description
powerby string API 版本
success boolean 成功狀態
code string 響應代碼
message string 響應消息
payload IGetAccountBookResponse 帳本詳細資訊

IGetAccountBookResponse

Name Type Description
id number 帳本 ID
name string 帳本名稱
taxId string 統一編號
imageId string 帳本圖片 URL
teamId number 團隊 ID
userId number 用戶 ID
tag string 工作標籤
startDate number 開始日期(時間戳)
createdAt number 創建時間(時間戳)
updatedAt number 更新時間(時間戳)
isPrivate boolean 是否為私有
taxSerialNumber string 稅籍編號
representativeName string 負責人姓名
contactPerson string 聯絡人姓名
phoneNumber string 電話號碼
city string 縣市
district string 行政區
enteredAddress string 地址
filingFrequency string 申報頻率
filingMethod string 總繳種類
declarantFilingMethod string 申報方式
declarantName string 申報人姓名
declarantPersonalId string 申報人身分證字號
declarantPhoneNumber string 申報人電話號碼
agentFilingRole string 申報代理人角色
licenseId string 證書字號/登錄字號

Response Example

  • Successful response
{
  "powerby": "iSunFA v0.9.1+34",
  "success": true,
  "code": "200ISF0002",
  "message": "Get successfully",
  "payload": {
    "id": 1238,
    "name": "Account Book Name",
    "taxId": "1234567890",
    "imageId": "https://storage.googleapis.com/isunfa/images/account_book.svg",
    "teamId": 10000001,
    "userId": 10000002,
    "tag": "ALL",
    "startDate": 1609459200,
    "createdAt": 1609459200,
    "updatedAt": 1609459200,
    "isPrivate": false,
    "taxSerialNumber": "1234567890",
    "representativeName": "張三",
    "contactPerson": "李四",
    "phoneNumber": "0912345678",
    "city": "台北市",
    "district": "信義區",
    "enteredAddress": "信義路五段5號",
    "filingFrequency": "MONTHLY",
    "filingMethod": "INDIVIDUAL",
    "declarantFilingMethod": "SELF",
    "declarantName": "王五",
    "declarantPersonalId": "A123456789",
    "declarantPhoneNumber": "0987654321",
    "agentFilingRole": "TAX_AGENT",
    "licenseId": "TA12345"
  }
}
  • Failed response
{
  "powerby": "iSunFA v0.9.1+34",
  "success": false,
  "code": "404ISF0000",
  "message": "Resource not found",
  "payload": null
}

updateAccountBook

  • Description: 更新帳本資訊

Request

Request URL

PUT /account_book/:accountBookId

Parameters

Parameter Type Description Required Default
accountBookId string 帳本 ID Yes --

Body

Name Type Description Required Default
action string 操作類型,可選值:updateTag、updateInfo Yes --
tag string 工作標籤(當 action 為 updateTag 或 updateInfo 時使用) No --
name string 帳本名稱(當 action 為 updateInfo 時使用) No --
taxId string 統一編號(當 action 為 updateInfo 時使用) No --
taxSerialNumber string 稅籍編號(當 action 為 updateInfo 時使用) No --
representativeName string 負責人姓名(當 action 為 updateInfo 時使用) No --
country string 國家(當 action 為 updateInfo 時使用) No --
phoneNumber string 電話號碼(當 action 為 updateInfo 時使用) No --
startDate number 開始日期(當 action 為 updateInfo 時使用) No --
contactPerson string 聯絡人姓名(當 action 為 updateInfo 時使用) No --
city string 縣市(當 action 為 updateInfo 時使用) No --
district string 行政區(當 action 為 updateInfo 時使用) No --
enteredAddress string 地址(當 action 為 updateInfo 時使用) No --
filingFrequency string 申報頻率(當 action 為 updateInfo 時使用) No --
filingMethod string 總繳種類(當 action 為 updateInfo 時使用) No --
declarantFilingMethod string 申報方式(當 action 為 updateInfo 時使用) No --
declarantName string 申報人姓名(當 action 為 updateInfo 時使用) No --
declarantPersonalId string 申報人身分證字號(當 action 為 updateInfo 時使用) No --
declarantPhoneNumber string 申報人電話號碼(當 action 為 updateInfo 時使用) No --
agentFilingRole string 申報代理人角色(當 action 為 updateInfo 時使用) No --
licenseId string 證書字號/登錄字號(當 action 為 updateInfo 時使用) No --

Request Example

PUT / account_book / 10001285;

// 更新工作標籤
const body = {
  action: 'updateTag',
  tag: 'ALL',
};

// 或更新帳本詳細資訊
const body = {
  action: 'updateInfo',
  name: '更新後的公司名稱',
  taxId: '12345678',
  representativeName: '張三',
  taxSerialNumber: '12345678',
  phoneNumber: '0912345678',
  city: '台北市',
  district: '信義區',
  enteredAddress: '信義路五段5號',
};

Response

Response Parameters

Name Type Description
powerby string API 版本
success boolean 成功狀態
code string 響應代碼
message string 響應消息
payload IGetAccountBookResponse 更新後的帳本資訊

Response Example

  • Successful response
{
    "powerby": "iSunFA v0.10.3+2",
    "success": true,
    "code": "200ISF0003",
    "message": "Update successfully",
    "payload": {
        "id": 10001318,
        "teamId": 83,
        "userId": 10000003,
        "imageId": "10008336",
        "name": "0521-1711",
        "taxId": "45612354774982536569852135489736542315968651321859664",
        "tag": "FINANCIAL",
        "startDate": 1747729451,
        "createdAt": 1747729451,
        "updatedAt": 1747821143,
        "isPrivate": false,
        "representativeName": "New Representative Name",
        "taxSerialNumber": "TX123456789",
        "contactPerson": "林小姐",
        "phoneNumber": "0912345678",
        "city": "桃園市",
        "district": "",
        "enteredAddress": "",
        "filingFrequency": null,
        "filingMethod": null,
        "declarantFilingMethod": null,
        "declarantName": null,
        "declarantPersonalId": null,
        "declarantPhoneNumber": null,
        "agentFilingRole": null,
        "licenseId": null
    }
}
  • Failed response
{
  "powerby": "iSunFA v0.9.1+60",
  "success": false,
  "code": "404ISF0000",
  "message": "Resource not found",
  "payload": null
}

createAccountBook

  • Description: 創建新帳本

Request

Request URL

POST /user/:userId/account_book

Parameters

Name Type Description Required Default
userId number 用戶 ID Yes --

Body

Name Type Description Required
name string 帳本名稱 Yes
taxId string 統一編號 Yes
tag string 工作標籤 Yes
teamId number 團隊 ID Yes
fileId number 圖片 ID No
representativeName string 負責人姓名 No
taxSerialNumber string 稅籍編號 No
contactPerson string 聯絡人姓名 No
phoneNumber string 電話號碼 No
city string 縣市 No
district string 行政區 No
enteredAddress string 地址 No
filingFrequency string 申報頻率 No
filingMethod string 總繳種類 No
declarantFilingMethod string 申報方式 No
declarantName string 申報人姓名 No
declarantPersonalId string 申報人身分證字號 No
declarantPhoneNumber string 申報人電話號碼 No
agentFilingRole string 申報代理人角色 No
licenseId string 證書字號/登錄字號 No

Request Example

POST / user / 10003 / account_book;

const body = {
  teamId: 5,
  name: '四月第一間公司',
  taxId: '8985432435164855',
  tag: 'ALL',
  representativeName: '張三',
  taxSerialNumber: '8985432435164855',
  contactPerson: '李四',
  phoneNumber: '0912345678',
  city: '台北市',
  district: '信義區',
  enteredAddress: '信義路五段5號',
};

Response

Response Parameters

Name Type Description
powerby string API 版本
success boolean 成功狀態
code string 響應代碼
message string 響應消息
payload IAccountBookInfoSchema 帳本詳細資訊

Response Example

  • Successful response
{
    "powerby": "iSunFA v0.10.3+2",
    "success": true,
    "code": "200ISF0000",
    "message": "Success",
    "payload": {
        "id": 10001320,
        "teamId": 83,
        "userId": 10000003,
        "imageId": "https://storage.googleapis.com/mermer-offical-km/ISunFa/cd876244-fe5c-428c-bd5c-05618d6626ad.svg",
        "name": "0520-1624 帳本",
        "taxId": "4561235477498253656985213548736542315968651321859664",
        "tag": "ALL",
        "startDate": 1747825995,
        "createdAt": 1747825995,
        "updatedAt": 1747825995,
        "isPrivate": false,
        "representativeName": "小明",
        "taxSerialNumber": "TX123456789",
        "contactPerson": "林小姐",
        "phoneNumber": "0912345678",
        "city": "台北市",
        "district": "中山區",
        "enteredAddress": "中山北路一段100號5樓",
        "filingFrequency": null,
        "filingMethod": null,
        "declarantFilingMethod": null,
        "declarantName": null,
        "declarantPersonalId": null,
        "declarantPhoneNumber": null,
        "agentFilingRole": null,
        "licenseId": null
    }
}
  • Failed response
{
  "powerby": "iSunFA v0.9.2+33",
  "success": false,
  "code": "405ISF0000",
  "message": "Method not allowed",
  "payload": null
}

updateAccountBookInfo

(sunset)

  • description: Update account book information by book ID

Request

Request url

PUT /account_book/:accountBookId/info

Parameters

Parameter Type Description Required Default
accountBookId string The ID of the account book Yes --

Request Body

Name Type Description Required
name string Account book name No
taxId string Account book tax ID No
taxSerialNumber string Account book tax serial number No
representativeName string Account book representative name No
country string Country code No
phoneNumber string Account book phone number No
address string Account book address No
startDate number Account book start date, timestamp in seconds No

Request Example

PUT /account_book/123/info
Content-Type: application/json

{
  "name": "Updated Account Book Name",
  "taxId": "9876543210",
  "taxSerialNumber": "9876543210",
  "representativeName": "New Representative Name",
  "country": "en",
  "phoneNumber": "123456987654321",
  "address": "No. 2, Section 5, Xinyi Road, Xinyi District, Taipei City 110, Taiwan",
  "startDate": 1620000000
}

Response

Response Parameters

Name Type Description
powerby string API version
success boolean Success status
code string Response code
message string Response message
payload IAccountBookDetails Updated account book detailed data

Response Example

  • Successful response
{
    "powerby": "iSunFA v0.9.1+131",
    "success": true,
    "code": "200ISF0003",
    "message": "Update successfully",
    "payload": {
        "id": "10000003",
        "name": "Updated Account Book Name",
        "taxId": "9876543210",
        "taxSerialNumber": "9876543210",
        "representativeName": "New Representative Name",
        "country": {
            "id": "10000001",
            "code": "cn",
            "name": "China",
            "localeKey": "cn",
            "currencyCode": "CNY",
            "phoneCode": "+86",
            "phoneExample": "13912345678"
        },
        "phoneNumber": "123456987654321",
        "address": "No. 2, Section 5, Xinyi Road, Xinyi District, Taipei City 110, Taiwan",
        "startDate": 1620000000,
        "createdAt": 1725372497,
        "updatedAt": 1744279829
    }
}
  • Failed response
{
  "powerby": "iSunFA v0.9.1+131",
  "success": false,
  "code": "404ISF0000",
  "message": "Resource not found",
  "payload": null
}
{
  "powerby": "iSunFA v0.9.1+131",
  "success": false,
  "code": "400ISF0001",
  "message": "Invalid request parameters",
  "payload": null
}

deleteAccountBook

  • Description: Delete an account book by ID

Request

Request URL

DELETE /account_book/:accountBookId

Parameters

name type description required default
accountBookId number ID of the account book true --

Request Example

DELETE /account_book/10000003

Response

Response Parameters

name type description
powerby string the version of the API
success boolean true or false
code string response code
message string a message detailing the result of the request
payload IAccountBook deleted account book information

IAccountBook

name type description
id number Account book ID
teamId number Team ID
userId number User ID
imageId string URL of the account book image
name string Name of the account book
taxId string Tax identification number
tag string Tag or label associated with account book
startDate number Start date of the account book (timestamp)
createdAt number Timestamp when created
updatedAt number Timestamp when updated
isPrivate boolean Whether the account book is private

Response Example

  • Successful response
{
    "powerby": "iSunFA v0.9.2+14",
    "success": true,
    "code": "200ISF0000",
    "message": "Success",
    "payload": {
        "id": 10000003,
        "teamId": 6,
        "userId": 10000003,
        "imageId": "https://storage.googleapis.com/mermer-offical-km/ISunFa/e721a0db-1bf9-4f8d-9ddc-c5b.svg",
        "name": "first company",
        "taxId": "468546",
        "tag": "ALL",
        "startDate": 1725372497,
        "createdAt": 1725372497,
        "updatedAt": 1744879466,
        "isPrivate": false
    }
}
  • Failed response
{
    "powerby": "iSunFA v0.9.2+14",
    "success": false,
    "code": "404ISF0000",
    "message": "Resource not found",
    "payload": null
}

disconnectAccountBook

  • description: Disconnect from a specific account book

Request

Request url

GET /account_book/:accountBookId/disconnect

Parameters

name type description required default
accountBookId number ID of the account book true --

Request Example

GET /account_book/1/disconnect

Response

Response Parameters

name type description
powerby string Version of the API
success boolean Indicates whether the request was successful
code string Response code
message string Detailed message of the request result
payload object Response data

Response Example

  • Success
{
    "powerby": "iSunFA v0.9.2+18",
    "success": true,
    "code": "200ISF0000",
    "message": "Success",
    "payload": {
        "success": true
    }
}
  • Failed
{
    "powerby": "iSunFA v0.9.2+18",
    "success": false,
    "code": "500ISF0000",
    "message": "Internal service error",
    "payload": null
}

listAccountBookInfoByUserID

  • description: Get a list of account books with detailed information for the current user

Request

Request url

GET /user/:userId/account_book/info

Query Parameters

name type description required default
page number Page number for pagination false 1
pageSize number Number of items per page false 10
sortOption string Sort option in format "field:direction" (e.g. CreatedAt:desc) false CreatedAt:desc
searchQuery string Search query for filtering account books false --

Parameters

name type description required default
userId string ID of the user true --

Request Example

GET /user/10000003/account_book/info?page=1&pageSize=5&sortOption=CreatedAt:desc&searchQuery=

Response

Response Parameters

name type description
powerby string Version of the API
success boolean Indicates whether the request was successful
code string Response code
message string Detailed message of the request result
payload IPaginatedData<IAccountBookInfoWithTeam[]> Response data containing account books list

IPaginatedData<IAccountBookInfoWithTeam[]> Interface

name type description
data IAccountBookInfoWithTeam[] Array of account book details
page number Current page number
pageSize number Number of items per page
totalCount number Total number of account books
totalPages number Total number of pages
hasNextPage boolean Whether there is a next page
hasPreviousPage boolean Whether there is a previous page
sort ISortOption[] Array of sort options applied

IAccountBookInfoWithTeam Interface

Name Type Description
id string Account book ID
teamId number Team ID
userId number User ID
imageId string Account book image ID
name string Account book name
taxId string Account book tax ID
tag string Account book tag
startDate number Account book start date (timestamp)
createdAt number Creation timestamp
updatedAt number Last update timestamp
team ITeam Team information
isTransferring boolean Whether transfer is in progress
taxSerialNumber string Account book tax serial number
representativeName string Account book representative name
country ICountry Account book country
phoneNumber string Account book phone number
address string Account book address

ITeam Interface

Name Type Description
id number Team ID
imageId string Team image ID
role string User's role in team
name IEditable Team name
about IEditable Team description
profile IEditable Team profile URL
planType IEditable Subscription plan type
totalMembers number Total number of members
totalAccountBooks number Total number of account books
bankAccount IEditable Bank account information
expiredAt number Subscription expiry timestamp
inGracePeriod boolean Whether in grace period
gracePeriodEndAt number Grace period end timestamp

IEditable Interface

Name Type Description
value T Field value
editable boolean Whether field is editable

ICountry Interface

Name Type Description
id string Country ID
code string Country code
name string Country name
localeKey string Country locale key
currencyCode string Country currency code
phoneCode string Country phone code
phoneExample string Country phone example

ISortOption Interface

Name Type Description
sortBy string Field to sort by
sortOrder string Sort direction (asc or desc)

Response Example

  • Success
{
    "powerby": "iSunFA v0.10.0+16",
    "success": true,
    "code": "200ISF0000",
    "message": "Success",
    "payload": {
        "data": [
            {
                "id": "10001301",
                "teamId": 83,
                "userId": 10000003,
                "imageId": "10008192",
                "name": "1546546pdated Account Book Name",
                "taxId": "9876543210",
                "tag": "ALL",
                "startDate": 1620000000,
                "createdAt": 1746434549,
                "updatedAt": 1746434549,
                "team": {
                    "id": 83,
                    "imageId": "",
                    "role": "VIEWER",
                    "name": {
                        "value": "Shirley second owner team",
                        "editable": false
                    },
                    "about": {
                        "value": "",
                        "editable": false
                    },
                    "profile": {
                        "value": "",
                        "editable": false
                    },
                    "planType": {
                        "value": "BEGINNER",
                        "editable": false
                    },
                    "totalMembers": 0,
                    "totalAccountBooks": 0,
                    "bankAccount": {
                        "value": "",
                        "editable": false
                    },
                    "expiredAt": 0,
                    "inGracePeriod": false,
                    "gracePeriodEndAt": 0
                },
                "isTransferring": false,
                "taxSerialNumber": "9876543210",
                "representativeName": "New Representative Name",
                "country": {
                    "id": "10000001",
                    "code": "cn",
                    "name": "China",
                    "localeKey": "cn",
                    "currencyCode": "CNY",
                    "phoneCode": "+86",
                    "phoneExample": "13912345678"
                },
                "phoneNumber": "123456987654321",
                "address": "No. 2, Section 5, Xinyi Road, Xinyi District, Taipei City 110, Taiwan"
            },
            {
                "id": "10000484",
                "teamId": 5,
                "userId": 10000002,
                "imageId": "10002885",
                "name": "侯侯做代誌",
                "taxId": "0987654321",
                "tag": "ALL",
                "startDate": 1729675781,
                "createdAt": 1729675781,
                "updatedAt": 1729675781,
                "team": {
                    "id": 5,
                    "imageId": "",
                    "role": "VIEWER",
                    "name": {
                        "value": "MerMer",
                        "editable": false
                    },
                    "about": {
                        "value": "",
                        "editable": false
                    },
                    "profile": {
                        "value": "",
                        "editable": false
                    },
                    "planType": {
                        "value": "BEGINNER",
                        "editable": false
                    },
                    "totalMembers": 0,
                    "totalAccountBooks": 0,
                    "bankAccount": {
                        "value": "",
                        "editable": false
                    },
                    "expiredAt": 0,
                    "inGracePeriod": false,
                    "gracePeriodEndAt": 0
                },
                "isTransferring": false,
                "taxSerialNumber": "",
                "representativeName": "",
                "country": {
                    "id": "10000000",
                    "code": "tw",
                    "name": "Taiwan",
                    "localeKey": "tw",
                    "currencyCode": "TWD",
                    "phoneCode": "+886",
                    "phoneExample": "0912345678"
                },
                "phoneNumber": "",
                "address": ""
            }
        ],
        "page": 1,
        "totalPages": 1,
        "totalCount": 2,
        "pageSize": 2,
        "hasNextPage": false,
        "hasPreviousPage": false,
        "sort": [
            {
                "sortBy": "CreatedAt",
                "sortOrder": "desc"
            }
        ]
    }
}
  • Failed
{
    "powerby": "iSunFA v0.9.2+25",
    "success": false,
    "code": "401ISF0000",
    "message": "Unauthorized",
    "payload": null
}

updateAccountBookIcon

  • description: Update the icon of an account book

Request

Request url

PUT /account_book/:accountBookId/icon

Parameters

name type description required default
accountBookId number ID of the account book true --

Body

name type description
fileId number ID of the file to set as the account book icon

Request Example

PUT /account_book/10000003/icon

const body = {
    "fileId": 10008175
}

Response

Response Parameters

name type description
powerby string Version of the API
success boolean Indicates whether the request was successful
code string Response code
message string Detailed message of the request result
payload IAccountBook Updated account book data

IAccountBook Interface

name type description
id number Unique identifier of the account book
teamId number ID of the team that owns the account book
userId number ID of the user that owns the account book
imageId string ID of the account book icon
name string Name of the account book
taxId string Tax identification number
tag string Tag category of the account book
startDate number Start date as a Unix timestamp
createdAt number Creation timestamp
updatedAt number Update timestamp
isPrivate boolean Indicates if the account book is private

Response Example

  • Success
{
    "powerby": "iSunFA v0.10.0",
    "success": true,
    "code": "200ISF0003",
    "message": "Update successfully",
    "payload": {
        "id": 10000003,
        "teamId": 6,
        "userId": 10000003,
        "imageId": "10008175",
        "name": "first company",
        "taxId": "468546",
        "tag": "FINANCIAL",
        "startDate": 1725372497,
        "createdAt": 1725372497,
        "updatedAt": 1745992963,
        "isPrivate": false
    }
}
  • Failed
{
    "powerby": "iSunFA v0.10.0",
    "success": false,
    "code": "404ISF0000",
    "message": "Resource not found",
    "payload": null
}
  • A010001 - GET /audit_report - iSunFA-Landing-page-Animation10 [不需驗證登入]
  • A020001 - GET /company/:companyId/account - ISFMK00040, ISFMK00031
  • A020002 - GET /company/:companyId/account/:accountId
  • A020003 - POST /company/:companyId/account - ISFMK00040左邊
  • A020004 - PUT /company/:companyId/account/:accountId - ISFMK00031下面
  • A021005 - DELETE /company/:companyId/account/:accountId - ISFMK00040左邊
  • A040001 - POST /company/:companyId/asset - ISFMK00052
  • A040002 - GET /company/:companyId/asset - ISFMK00052
  • A041001 - GET /company/:companyId/asset/:assetId - ISFMK00052
  • A041002 - PUT /company/:companyId/asset/:assetId - ISFMK00052
  • A050001 - GET /company/:companyId/ask_ai/:resultId/status?aiApi= - ISFMK00052
  • A050002 - GET /company/:companyId/ask_ai/:resultId?aiApi= - ISFMK00052
  • A060001 - GET /company/:companyId/admin - ISFMK00005
  • A060002 - GET /company/:companyId/admin/:adminId - ISFMK00005, ISFMK00063
  • A060003 - PUT /company/:companyId/admin/:adminId - ISFMK00063
  • A060004 - DELETE /company/:companyId/admin/:adminId - ISFMK00063
  • A060005 - PUT /company/:companyId/transfer_owner - ISFMK0069
  • C010001 - GET /company/:companyId/client - ISFMK00032
  • C010002 - POST /company/:companyId/client - ISFMK00032
  • C011001 - GET /company/:companyId/client/:clientId - ISFMK00032
  • C011002 - PUT /company/:companyId/client/:clientId - ISFMK00032
  • C011003 - DELETE /company/:companyId/client/:clientId - ISFMK00032
  • C030001 - GET /company/:companyId/contract - ISFMK00003
  • C030002 - POST /company/:companyId/contract - ISFMK00011
  • C031001 - GET /company/:companyId/contract/:contractId-ISFMK0008
  • C031002 - PUT /company/:companyId/contract/:contractId - ISFMK00011
  • C040001 - GET /company - ISFMK00004
  • C040002 - POST /company - ISFMK00004
  • C041001 - GET /company/:companyId - ISFMK00069
  • C041002 - PUT /company/:companyId - ISFMK00069
  • C041003 - DELETE /company/:companyId - ISFMK00069
  • C042001 - PUT /company/:companyId/select - ISFMK00004
  • C070001 - GET /challenge - ISFMK00001 [不需驗證登入]
  • D010001 - GET /company/:companyId/department - ISFMK00041
  • E010001 - GET /company/:companyId/employee - ISFMK00041
  • E010002 - POST /company/:companyId/employee - ISFMK00041
  • E011001 - GET /company/:companyId/employee/:employeeId - ISFMK00041, ISFMK00064
  • E011002 - DELETE /company/:companyId/employee/:employeeId - ISFMK00041, ISFMK00064
  • E011003 - PUT /company/:companyId/employee/:employeeId - ISFMK00064
  • F010001 - POST /company/:companyId/file - ISFMK00004, ISFMK00058, ISFMK00061右邊
  • F011001 - GET /company/:companyId/file/:fileId - ISFMK00058
  • F011002 - DELETE /company/:companyId/file/:fileId - ISFMK00058
  • I010001 - POST /company/:companyId/invoice - ISFMK00034
  • I011001 - GET /company/:companyId/invoice/:invoiceId - 這支沒用到 備用(ISFMK00050)
  • I011002 - PUT /company/:companyId/invoice/:invoiceId
  • I011003 - GET /company/:companyId/invoice/:invoiceId/image - ISFMK00015, ISFMK00024
  • I020001 - GET /company/:companyId/income_expense_trend - ISFMK00006 右上角
  • I030001 - POST /company/:companyId/invitation - ISFMK00005
  • J010001 - GET /company/:companyId/journal - ISFMK00038
  • J011001 - GET /company/:companyId/journal/:journalId - ISFMK00015 ISFMK00024
  • J011002 - DELETE /company/:companyId/journal/:journalId - ISFMK00025
  • K010001 - POST /company/:companyId/kyc
  • L020001 - GET /company/:companyId/labor_cost_chart - ISFMK00006 左中
  • O011001 - POST /company/:companyId/ocr
  • O011003 - GET /company/:companyId/ocr
  • O011004 - DELETE /company/:companyId/ocr/:resultId
  • O020001 - GET /company/:companyId/order
  • O020002 - POST /company/:companyId/order
  • P020001 - GET /company/:companyId/project - ISFMK00017
  • P020002 - POST /company/:companyId/project
  • P021001 - GET /company/:companyId/project/:projectId - ISFMK00033, ISFMK00006
  • P021002 - PUT /company/:companyId/project/:projectId - ISFMK00061
  • P024001 - GET /company/:companyId/project/:projectId/milestone - ISFMK00033
  • P024002 - PUT /company/:companyId/project/:projectId/milestone - ISFMK00033, ISFMK00061
  • P025001 - GET /company/:companyId/project/:projectId/progress - ISFMK00033
  • P026001 - GET /company/:companyId/project/:projectId/sale - ISFMK00033
  • P027001 - GET /company/:companyId/project/:projectId/value - ISFMK00033
  • P028001 - GET /company/:companyId/project/:projectId/work_rate - ISFMK00033
  • P040001 - GET /company/:companyId/profit_comparison - ISFMK00006 右下角
  • P050001 - GET /company/:companyId/project_progress - ISFMK00006 右上角
  • P070001 - GET /company/:companyId/profit_insight - ISFMK00006 左上角橘框
  • P080001 - GET /company/:companyId/payment?orderId=
  • P080002 - POST /company/:companyId/payment
  • R010001 - POST /company/:companyId/report
  • R010002 - GET /company/:companyId/report - ISFMK00066
  • R011001 - GET /company/:companyId/report/:reportId - ISFMK00066
  • R040001 - GET /company/:companyId/role - ISFMK00031, ISFMK00040
  • R040002 - POST /company/:companyId/role - ISFMK00040
  • R041001 - GET /company/:companyId/role/:roleId - ISFMK00031, ISFMK00040
  • R041002 - PUT /company/:companyId/role/:roleId - ISFMK00040
  • R041003 - DELETE /company/:companyId/role/:roleId - ISFMK00040
  • S020001 - GET /company/:companyId/salary - ISFMK00067
  • S020002 - POST /company/:companyId/salary - ISFMK00067
  • S020003 - PUT /company/:companyId/salary - ISFMK00067
  • S020004 - GET /company/:companyId/salary/:salaryId - ISFMK00039, ISFMK00023
  • S020005 - PUT /company/:companyId/salary/:salaryId - ISFMK00039, ISFMK00023
  • S021001 - POST /company/:companyId/salary/voucher - ISFMK00075右邊
  • S022001 - GET /company/:companyId/salary/folder - ISFMK00078
  • S022002 - GET /company/:companyId/salary/folder/:folderId - ISFMK00076
  • S022003 - PUT /company/:companyId/salary/folder/:folderId - ISFMK00076
  • S040001 - POST /sign-up - ISFMK00001 [不需驗證登入]
  • S050001 - POST /sign-out [不需驗證登入]
  • S060001 - GET /session - ISFMK00001 [不需驗證登入]
  • U010001 - GET /user
  • U011001 - GET /user/:userId - ISFMK00001, ISFMK00062
  • U011002 - PUT /user/:userId - ISFMK00004, ISFMK00062
  • U012001 - POST /user/:userId/agreement
  • U030001 - PUT /user/:userId/invitation
  • V010001 - POST /company/:companyId/voucher - ISFMK00050
  • V011002 - PUT /company/:companyId/voucher/:voucherId - ISFMK00050右邊

Clone this wiki locally