エラーコード | エラー説明 |
---|---|
401 | Not Authorizedアクセストークンが送られていないか正しくありません。もしくはクライアント認証トークンが正しくありません。 |
403 | Forbiddenそのリクエストに必要な権限がありません。 |
404 | Not found指定されたパスは正しくないか、リソースが見つかりません。 |
422 | Unprocessable Entity1つ以上のパラメータが正しくないか不足しています。エラーメッセージで原因が判別できます。 |
500 | Internal Server Errorサーバーで何らかのエラーが起こりました。 |
503 | Service Unavailableあなたの IP アドレスから非常に多くのリクエストがあった場合、このエラーが発生します。次のリクエストまで少し時間を開けてください。 |
[ { "type": "transaction", "locals": { "ap_payment": { "id": 629, "personal_id": 3, "serial_no": 1, "customer_master_id": 103, "dept_code": "COMMON", "memo": null, "scheduled_memo": null, "buying_journal_dc_id": 23039, "accrual_timestamp": "2021/05/01 00:00:00 +0900", "code": null, "ap_reason_master_id": 9022, "dc": "c", "payment_journal_dc_id": null, "transfer_journal_id": null, "scheduled_pay_timestamp": "2021/05/31 00:00:00 +0900", "ap_payment_attachments_count": null, "need_tax_deduction": null, "withholding_tax_segment": null, "withholding_tax_base": null, "preset_withholding_tax_amount": null, "usage_no": 0, "regist_user_code": "yamakawa", "update_user_code": null, "lock_version": 0, "created_at": "2021/05/23 15:20:31 +0900", "updated_at": "2021/05/23 15:20:31 +0900", "port_type": 1 }, "scheduled_or_customer_pay_method": "BANK_MANUAL", "scheduled_or_customer_pay_interface_id": 1 } }, { "type": "pay_method", "locals": { "ap_payment": { "id": 629, "personal_id": 3, "serial_no": 1, "customer_master_id": 103, "dept_code": "COMMON", "memo": null, "scheduled_memo": null, "buying_journal_dc_id": 23201, "accrual_timestamp": "2021/05/01 00:00:00 +0900", "code": null, "ap_reason_master_id": 9022, "dc": "c", "payment_journal_dc_id": null, "transfer_journal_id": null, "scheduled_pay_timestamp": "2021/05/31 00:00:00 +0900", "ap_payment_attachments_count": null, "need_tax_deduction": null, "withholding_tax_segment": null, "withholding_tax_base": null, "preset_withholding_tax_amount": null, "usage_no": 0, "regist_user_code": "yamakawa", "update_user_code": null, "lock_version": 0, "created_at": "2022/03/29 15:15:28 +0900", "updated_at": "2022/03/29 15:15:28 +0900", "port_type": 1 }, "sum_accrual_inclusive": 11000, "sum_planned_withholding_tax": 0, "sum_planned_amount": 11000, "pay_method_line_count": 1 }, "pay_method_group_count": 1 }, { "type": "customer", "locals": { "ap_payment": { "id": 629, "personal_id": 3, "serial_no": 1, "customer_master_id": 103, "dept_code": "COMMON", "memo": null, "scheduled_memo": null, "buying_journal_dc_id": 23039, "accrual_timestamp": "2021/05/01 00:00:00 +0900", "code": null, "ap_reason_master_id": 9022, "dc": "c", "payment_journal_dc_id": null, "transfer_journal_id": null, "scheduled_pay_timestamp": "2021/05/31 00:00:00 +0900", "ap_payment_attachments_count": null, "need_tax_deduction": null, "withholding_tax_segment": null, "withholding_tax_base": null, "preset_withholding_tax_amount": null, "usage_no": 0, "regist_user_code": "yamakawa", "update_user_code": null, "lock_version": 0, "created_at": "2021/05/23 15:20:31 +0900", "updated_at": "2021/05/23 15:20:31 +0900", "port_type": 1 }, "sum_accrual_inclusive": 11000, "sum_planned_withholding_tax": 0, "sum_planned_amount": 11000, "customer_line_count": 1, "pay_method_group_count": 1, "pay_method_line_count": 1 } }, { "type": "transaction", "locals": { "ap_payment": { "id": 630, "personal_id": 3, "serial_no": 2, "customer_master_id": 470177179, "dept_code": "COMMON", "memo": null, "scheduled_memo": null, "buying_journal_dc_id": 23040, "accrual_timestamp": "2021/05/02 00:00:00 +0900", "code": null, "ap_reason_master_id": 9022, "dc": "c", "payment_journal_dc_id": null, "transfer_journal_id": null, "scheduled_pay_timestamp": "2021/05/31 00:00:00 +0900", "ap_payment_attachments_count": null, "need_tax_deduction": null, "withholding_tax_segment": null, "withholding_tax_base": null, "preset_withholding_tax_amount": null, "usage_no": 0, "regist_user_code": "yamakawa", "update_user_code": null, "lock_version": 0, "created_at": "2021/05/23 15:20:31 +0900", "updated_at": "2021/05/23 15:20:31 +0900", "port_type": 1 }, "scheduled_or_customer_pay_method": "BANK_MANUAL", "scheduled_or_customer_pay_interface_id": 1 } }, { "type": "pay_method", "locals": { "ap_payment": { "id": 630, "personal_id": 3, "serial_no": 1, "customer_master_id": 470177179, "dept_code": "COMMON", "memo": null, "scheduled_memo": null, "buying_journal_dc_id": 23201, "accrual_timestamp": "2021/05/01 00:00:00 +0900", "code": null, "ap_reason_master_id": 9022, "dc": "c", "payment_journal_dc_id": null, "transfer_journal_id": null, "scheduled_pay_timestamp": "2021/05/31 00:00:00 +0900", "ap_payment_attachments_count": null, "need_tax_deduction": null, "withholding_tax_segment": null, "withholding_tax_base": null, "preset_withholding_tax_amount": null, "usage_no": 0, "regist_user_code": "yamakawa", "update_user_code": null, "lock_version": 0, "created_at": "2022/03/29 15:15:28 +0900", "updated_at": "2022/03/29 15:15:28 +0900", "port_type": 1 }, "sum_accrual_inclusive": 1100, "sum_planned_withholding_tax": 0, "sum_planned_amount": 1100, "pay_method_line_count": 1 }, "pay_method_group_count": 1 }, { "type": "customer", "locals": { "ap_payment": { "id": 630, "personal_id": 3, "serial_no": 2, "customer_master_id": 470177179, "dept_code": "COMMON", "memo": null, "scheduled_memo": null, "buying_journal_dc_id": 23040, "accrual_timestamp": "2021/05/02 00:00:00 +0900", "code": null, "ap_reason_master_id": 9022, "dc": "c", "payment_journal_dc_id": null, "transfer_journal_id": null, "scheduled_pay_timestamp": "2021/05/31 00:00:00 +0900", "ap_payment_attachments_count": null, "need_tax_deduction": null, "withholding_tax_segment": null, "withholding_tax_base": null, "preset_withholding_tax_amount": null, "usage_no": 0, "regist_user_code": "yamakawa", "update_user_code": null, "lock_version": 0, "created_at": "2021/05/23 15:20:31 +0900", "updated_at": "2021/05/23 15:20:31 +0900", "port_type": 1 }, "sum_accrual_inclusive": 1100, "sum_planned_withholding_tax": 0, "sum_planned_amount": 1100, "customer_line_count": 1, "pay_method_group_count": 1, "pay_method_line_count": 1 } }, { "type": "daily", "locals": { "planned_amount_of_pay": 12100, "planned_pay_fb": { "pay_interface_fb_totals": { "BANK_MANUAL": { "1": 11000 }, "": { "": 1100 } }, "ymd": "2021/05/31 00:00:00 +0900", "pay_interface_customer_masters": { "BANK_MANUAL": { "1": [ { "103": 11000 } ] }, "": { "": [ { "470177179": 1100 } ] } } } } }, { "type": "monthly", "locals": { "planned_amount_of_pay": 12100 } } ]
パラメータ名 | 説明 |
---|---|
pay_method
任意 |
支払方法、BANK_FB: ファームバンキング支払, BANK_AUTOMATIC: 自動引落, BANK_MANUAL: 銀行手動, CASH: 現金, OTHERS: その他、手形、小切手、ファクタリング、現物支給等 Validations:
|
ひと月の入金予定表
パラメータ名 | 説明 |
---|---|
type
任意 |
transaction か pay_method か customer か daily か monthly が設定されます。 Validations:
|
locals
任意 |
Validations:
|
locals[ap_payment]
任意 |
transaction か pay_method か customer の時に必須です。 Validations:
|
locals[planned_amount_of_receive]
任意 |
daily か monthly の時に必須です。 Validations:
|