発注明細API
アクション
動詞 | パス | アクション | Description |
|---|---|---|---|
| DELETE | /api/purchase_order_lines /: id | 削除 | 発注明細を削除 |
GET |
| インデックス | 発注明細を検索する |
PUT |
| reopen_for_invoicing | 請求書発行のために再開する |
| PUT | /api/purchase_order_lines /: id/reopen_for_receiving | reopen_for_receiving | 受領のために再開する |
| GET | /api/purchase_order_lines /: id | 表示 | 発注明細を表示する |
| PUT | /api/purchase_order_lines /: id/soft_close_for_invoicing | soft_close_for_invoicing | 請求書発行のために仮完了する |
| PUT | /api/purchase_order_lines /: id/soft_close_for_receiving | soft_close_for_receiving | 受領のために仮完了する |
Elements
要素 | 説明 | 必須 | 一意 | 許容値 | 入力 | 出力 | データタイプ |
|---|---|---|---|---|---|---|---|
account | 発注明細に関連付けられたアカウント。 発注明細に関連付けられているアカウントが1つだけの場合など、発注明細に分割請求がない場合はこの要素を使用します。 複数のアカウントがある場合は、 | yes | yes | yes | |||
account-allocations | 発注明細に関連付けられたアカウント情報。 発注明細に関連付けられているアカウントが複数ある場合など、発注明細の分割請求を指定するにはこの要素を使用します。 アカウントが1つしかない場合は、 | yes | yes | ||||
アカウントタイプ | 勘定科目表 | yes | |||||
accounting-total | accounting_total | yes | yes | decimal(32,4) | |||
accounting-total-currency | accounting_total_currency | yes | yes | ||||
資産タグ | asset_tags | yes | yes | ||||
添付ファイル | 添付ファイル | yes | yes | ||||
bulk-price | Bulk Price | yes | yes | ||||
commodity | commodity | yes | yes | ||||
contract | contract | yes | yes | ||||
作成日時 | CoupaがYYY-MM-DDTHH:MM:SS+HH:MMZの形式で自動的に作成します | yes | datetime | ||||
created-by | 作成したユーザー | yes | |||||
currency | 取引の通貨 | yes | yes | yes | |||
department | department | yes | yes | ||||
説明 | 説明 | yes | yes | yes | string(255) | ||
extra-line-attribute | 追加の明細属性 | yes | |||||
フォームの回答 | form_response | yes | yes | フォームの回答 | |||
ID | Coupaの一意の識別子 | yes | 整数 | ||||
invoice-stop | 請求書停止フラグ | yes | boolean | ||||
invoiced | invoiced | yes | yes | decimal(32,6) | |||
アイテム | アイテム | yes | yes | ||||
line-num | line_num | yes | yes | yes | string(255) | ||
match-type | 照合タイプ | 3-way-fifo, 3-way, 2-way, direct_matching, none | yes | yes | string(255) | ||
milestones | マイルストーン | yes | yes | Procurement::Milestone | |||
minimum-order-quantity | 最小発注数量 | yes | decimal(30,6) | ||||
納品希望日 | need_by_date | yes | yes | datetime | |||
order-header-id | order_header_id | yes | yes | 整数 | |||
order-header-number | 発注番号 | yes | 文字列 | ||||
easy_form_response_id | 簡易フォームの回答のID | yes | |||||
period | period | yes | yes | ||||
価格 | 価格 | yes | yes | yes | decimal(30,6) | ||
quantity | quantity | yes | yes | decimal(30,6) | |||
receipt-approval-required | 受領書の承認が必要 | yes | boolean | ||||
受領書必須 | receipt_required | yes | yes | boolean | |||
受領済み | 受領済み数量/金額 | yes | yes | integer/decimal | |||
receiving-warehouse | 受領倉庫 | yes | yes | 倉庫 | |||
reporting-total | reporting_total | yes | yes | decimal(32,4) | |||
申請者 | 申請者 | yes | |||||
rfq-form-response | rfq_form_response | yes | |||||
savings-pct | 節減率 | yes | yes | decimal(8,2) | |||
service-type | サービスのタイプを指定。 このフィールドは、インスタンスでサービス購買が有効な場合にのみ使用できます。 サービスタイプの詳細については、Services Maestrの紹介をご参照ください。 | resource, quantity_deliverable, amount_deliverable, non_service | yes | 文字列 | |||
ステータス | transaction status | yes | yes | string(50) | |||
サブ明細行番号 | sub_line_num | yes | yes | 整数 | |||
サプライヤー予備品番 | supp_aux_part_num | yes | yes | text | |||
supplier | supplier | yes | yes | ||||
supplier-order-number | supplier_order_number | yes | yes | string(255) | |||
supplier-site-id | サプライヤーサイトID | yes | 整数 | ||||
合計 | 合計 | yes | yes | decimal(32,4) | |||
タイプ | type | yes | yes | string(100) | |||
uom | 数量単位 | yes | yes | ||||
updated-at | CoupaがYYY-MM-DDTHH:MM:SS+HH:MMZの形式で自動的に作成します | yes | datetime | ||||
updated-by | 更新したユーザー | yes | |||||
バージョン | バージョン | yes | yes | 整数 | |||
manufacturer_name | Manufacturer Name | yes | string(255) | ||||
manufacturer_part_number | 製造業者の部品番号 | yes | string(255) | ||||
external_reference_number | 外部参照番号 | yes | yes | yes | string(255) | ||
external_reference_type | 外部参照タイプ | yes | yes | string(255) | |||
third_party_supplier | yes | yes | |||||
amount_components | yes | yes | [] | ||||
extra_line_attribute | yes | ||||||
申請明細ID | 申請明細ID | yes | RequisitionLine | ||||
recurring_rules | 繰り返しルール | yes | |||||
line_owner | 明細担当者 | yes | yes | ||||
order_line_tax_detail | 発注明細の税の詳細 | yes | yes | ||||