経費品目API
このページは機械翻訳を使用して翻訳されています。
アクション
経費品目APIを使用すると、次のことができます。
動詞 | パス | アクション | 説明 |
---|---|---|---|
投稿 | /api/expense_lines/:id/assign_attendee/:expense_attendee_id |
assign_attendee | 出席者を経費品目に割り当てる |
投稿 | /api/expense_lines/:id/calculate_mileage |
calculate_mileage | マイレージデータに基づいてライン合計を計算する |
投稿 | /api/expense_lines/:id/calculate_per_diem |
calculate_per_diem | 出張データに基づいて経費品目の合計を計算 |
投稿 | /api/expense_reports/:expense_report_id/expense_lines |
作成 | 経費品目を作成 |
投稿 | /api/expense_lines |
作成 | 経費品目を作成 |
削除 | /api/expense_reports/:expense_report_id/expense_lines/:id |
破棄 | 経費品目を削除 |
削除 | /api/expense_lines/:id |
破棄 | 経費品目を削除 |
GET | /api/expense_reports/:expense_report_id/expense_lines |
インデックス | 経費品目のクエリ |
GET | /api/expense_lines |
インデックス | 経費品目のクエリ |
GET | /api/expense_reports/:expense_report_id/expense_lines/:id |
表示 | 経費品目を表示 |
GET | /api/expense_lines/:id |
表示 | 経費品目を表示 |
削除 | /api/expense_lines/:id/unassign_attendee/:expense_attendee_id |
unassign_attendee | 出席者を経費品目から割り当て解除 |
パッチ | /api/expense_reports/:expense_report_id/expense_lines/:id |
更新 | 経費品目を更新 |
置く | /api/expense_reports/:expense_report_id/expense_lines/:id |
更新 | 経費品目を更新 |
パッチ | /api/expense_lines/:id |
更新 | 経費品目を更新 |
置く | /api/expense_lines/:id |
更新 | 経費品目を更新 |
要素
経費品目APIでは、次の要素を使用できます。
要素 | 説明 | 必須 | 一意 | 許容値 | で | アウト | データタイプ |
---|---|---|---|---|---|---|---|
account | 勘定科目 | はい | はい | 勘定科目アカウントAPI(/ accounts) | |||
account_allocations | 勘定科目割当 | はい | はい | 経費品目割当経費品目割当 | |||
accounting-total | 会計合計 | はい | 小数(32,4) | ||||
accounting-total-currency | 会計合計の通貨 | はい | はい | 通貨通貨API(/通貨) | |||
amount | 金額 | はい | はい | 小数(32,4) | |||
承認額 | 承認額 | はい | はい | 小数(32,4) | |||
監査ステータス | 監査状況 |
オンラインで確認済みの領収書、添付されていない確認済みの領収書、受領待ち、受領書は不要、受領書なしで承認済み |
はい | はい | 監査状況 | ||
created-at | 「YYYY-MM-DDTHH:MM:SS+HH:MMZ」の形式で、Coupaによって自動的に作成されます | はい | 日時 | ||||
created_by | 作成したユーザー | はい | ユーザーユーザーAPI(/ users)ユーザーAPI(/ users) | ||||
currency | 取引の通貨 | はい | はい | 通貨通貨API(/通貨) | |||
custom-field-1 | カスタムフィールド1 | はい | はい | 文字列(255) | |||
custom-field-10 | カスタムフィールド10 | はい | はい | 文字列(255) | |||
custom-field-11 | カスタムフィールド11 | はい | はい | 文字列(255) | |||
custom-field-12 | カスタムフィールド12 | はい | はい | 文字列(255) | |||
custom-field-13 | カスタムフィールド13 | はい | はい | 文字列(255) | |||
custom-field-14 | カスタムフィールド14 | はい | はい | 文字列(255) | |||
custom-field-15 | カスタムフィールド15 | はい | はい | 文字列(255) | |||
custom-field-16 | カスタムフィールド16 | はい | はい | 文字列(255) | |||
custom-field-17 | カスタムフィールド17 | はい | はい | 文字列(255) | |||
custom-field-18 | カスタムフィールド18 | はい | はい | 文字列(255) | |||
custom-field-19 | カスタムフィールド19 | はい | はい | 文字列(255) | |||
custom-field-2 | カスタムフィールド2 | はい | はい | 文字列(255) | |||
custom-field-20 | カスタムフィールド20 | はい | はい | 文字列(255) | |||
custom-field-3 | カスタムフィールド3 | はい | はい | 文字列(255) | |||
custom-field-4 | カスタムフィールド4 | はい | はい | 文字列(255) | |||
custom-field-5 | カスタムフィールド5 | はい | はい | 文字列(255) | |||
custom-field-6 | カスタムフィールド6 | はい | はい | 文字列(255) | |||
custom-field-7 | カスタムフィールド7 | はい | はい | 文字列(255) | |||
custom-field-8 | カスタムフィールド8 | はい | はい | 文字列(255) | |||
custom-field-9 | カスタムフィールド9 | はい | はい | 文字列(255) | |||
description | 説明 | はい | はい | 文字列(1550) | |||
除数 | 除数ユニット | はい | はい | 小数(30,2) | |||
終了日 | 除数の終了日 | はい | はい | 日時 | |||
exchange-rate | 為替レート | はい | はい | 小数(30,9) | |||
/ expense_artifacts | 経費アーチファクト | はい | 経費アーチファクト経費アーチファクトAPI | ||||
expense_attendees | 経費の出席者 | はい | 経費の出席者 | ||||
expense_category | 経費カテゴリー | はい | はい | はい | 経費カテゴリー経費カテゴリーAPI | ||
expense-category-custom-field-1 | 経費カテゴリーカスタムフィールド | はい | はい | 文字列(255) | |||
expense-category-custom-field-10 | 経費カテゴリーカスタムフィールド | はい | はい | 文字列(255) | |||
expense-category-custom-field-2 | 経費カテゴリーカスタムフィールド | はい | はい | 文字列(255) | |||
expense-category-custom-field-3 | 経費カテゴリーカスタムフィールド | はい | はい | 文字列(255) | |||
expense-category-custom-field-4 | 経費カテゴリーカスタムフィールド | はい | はい | 文字列(255) | |||
expense-category-custom-field-5 | 経費カテゴリーカスタムフィールド | はい | はい | 文字列(255) | |||
expense-category-custom-field-6 | 経費カテゴリーカスタムフィールド | はい | はい | 文字列(255) | |||
expense-category-custom-field-7 | 経費カテゴリーカスタムフィールド | はい | はい | 文字列(255) | |||
expense-category-custom-field-8 | 経費カテゴリーカスタムフィールド | はい | はい | 文字列(255) | |||
expense-category-custom-field-9 | 経費カテゴリーカスタムフィールド | はい | はい | 文字列(255) | |||
従業員払い戻し可能 | この経費品目は従業員に払い戻しできますか? | はい | ブール値 | ||||
expense_date | 経費日付 | はい | はい | 日時 | |||
経費ライン(日割り) | 日別の金額情報を含む日給 | no | no | 任意 | はい | 1日あたりの経費品目 | |
ExpenseLineImportedData | 経費品目インポートされたデータ | はい | 経費品目のインポートされたデータ | ||||
経費ラインマイレージ | 経費ラインのマイレージ | はい | 経費ラインのマイレージ | ||||
日割り経費 | 経費の日割りデータ | はい | 1日あたりの経費品目 | ||||
経費品目事前承認 | 適用済み経費事前承認ID | はい | 経費の事前承認 | ||||
経費品目税 | 経費品目税 | はい | 経費品目税経費品目税API | ||||
expense-report-id | 経費レポートID | はい | 整数 | ||||
経費トリップ | 経費出張 | no | no | 任意 | はい | ExpenseTrip | |
経費 | ユーザーの経費 | はい | はい | ユーザーユーザーAPI(/ users)ユーザーAPI(/ users) | |||
external_src_data | 外部ソースデータ | はい | 文字列(255) | ||||
external_src_name | 外部ソース名 | はい | はい | 文字列(255) | |||
external_src_ref | 外部ソース参照 | はい | はい | はい | 文字列(255) | ||
外貨 | 外貨 | はい | はい | はい | 通貨通貨API(/通貨) | ||
外貨金額 | 外貨金額 | はい | はい | 小数(32,4) | |||
外貨ID | 外貨ID | はい | 整数 | ||||
倹約 | 質素さの評価 | 恥、賞賛 | はい | string型 | |||
id | Coupaの一意の識別子 | はい | はい | 整数 | |||
integration | 法人カードインテグレーション名 | はい | インテグレーション | ||||
項目別の経費品目 | アイテム化済経費品目 | はい | アイテム化済経費品目 | ||||
最後の返送コメント | 行が返送された理由の最後のコメント | no | no | 任意 | はい | コメント | |
最終返送理由 | ラインが返送された最後の理由 | no | no | 任意 | はい | reason_insight_events | |
line-number | 経費品目番号 | はい | 整数 | ||||
merchant | Merchant | はい | はい | 文字列(255) | |||
order-line-id | 注文品目ID | はい | はい | 整数 | |||
超過 | 制限超過フラグ | はい | ブール値 | ||||
Parent-Expense-Line-Id | 親経費品目ID | はい | 整数 | ||||
parent-external-src-data | 親外部ソースデータ | はい | 文字列(255) | ||||
親外部ソース名 | 親外部ソース名 | はい | 文字列(255) | ||||
parent-external-src-ref | 親外部ソース参照 | はい | 文字列(255) | ||||
period | 期間 | はい | はい | period | |||
理由は | 理由 | はい | はい | 文字列(255) | |||
受領合計金額 | レシート合計金額 | はい | はい | 小数(32,4) | |||
レシート合計通貨ID | レシート合計通貨ID | はい | はい | 整数 | |||
レポート合計 | 報告合計 | はい | 小数(32,4) | ||||
領収書が必要 | 受領フラグが必要です | はい | ブール値 | ||||
開始日 | 除数の開始日 | はい | はい | はい | 日時 | ||
status | 取引ステータス | はい | 文字列(255) | ||||
提案された為替レート | 推奨為替レート | はい | 為替レート為替レートAPI(/ exchange_rates) | ||||
type | タイプ | はい | 文字列(255) | ||||
updated-at | 「YYYY-MM-DDTHH:MM:SS+HH:MMZ」の形式で、Coupaによって自動的に作成されます | はい | 日時 | ||||
updated_by | 更新したユーザー | はい | ユーザーユーザーAPI(/ users)ユーザーAPI(/ users) | ||||
employee_reimbursable_overridden | 経費ユーザーが経費品目の既定の払い戻し可能状態を変更しましたか? | はい | ブール値 | ||||
employee_reimbursable_editable | 経費ユーザーが経費品目の既定の払い戻し可能状態を変更できますか? | はい | ブール値 |