Test #1
@@ -411,9 +411,9 @@ paths:
|
||||
x-request-dto: CreatePayableSettlementRequest
|
||||
x-response-dto: SettlementDetailEnvelope
|
||||
x-idempotency: FULL_REQUEST_HASH_SAME_REPLAY_DIFFERENT_CONFLICT
|
||||
x-customer-isolation: 所有 PAYABLE 来源必须同 customerId 且同 supplierId;跨客户来源按 FIN_404。
|
||||
x-customer-isolation: 所有 PAYABLE 来源必须同 customerId、同 supplierId 且映射到同一供应商类别;supplierId 必须来自 Warehouse ACTIVE 供应商主数据并与费用类别匹配,跨客户来源按 FIN_404。
|
||||
x-state-machine: 合格未占用 PAYABLE 来源 -> ISSUED PAYABLE settlement
|
||||
x-error-codes: [FIN_400, FIN_404, FIN_409, FIN_001]
|
||||
x-error-codes: [FIN_400, FIN_404, FIN_409, FIN_503, FIN_001]
|
||||
x-acceptance-cases: [AC-20, AC-21, AC-29]
|
||||
x-permission: platform:finance:settlement-ap:create
|
||||
parameters:
|
||||
@@ -1071,7 +1071,9 @@ components:
|
||||
required: [customerId, supplierId, feeSourceIds, dueDate, currency]
|
||||
properties:
|
||||
customerId: {$ref: '#/components/schemas/Id'}
|
||||
supplierId: {$ref: '#/components/schemas/Id'}
|
||||
supplierId:
|
||||
allOf: [{$ref: '#/components/schemas/Id'}]
|
||||
description: Warehouse ACTIVE 供应商 ID;必须与全部费用来源解析出的唯一类别匹配。
|
||||
feeSourceIds:
|
||||
type: array
|
||||
minItems: 1
|
||||
|
||||
Reference in New Issue
Block a user