Test #1
@@ -881,7 +881,7 @@ components:
|
||||
total: {type: integer, format: int64, minimum: 0}
|
||||
AccountSummary:
|
||||
type: object
|
||||
required: [customerId, customerCode, customerName, outstandingReceivable, pendingBilling, receivedInPeriod, outstandingPayable, status, lastChangedAt]
|
||||
required: [customerId, customerCode, customerName, outstandingReceivable, pendingBilling, receivedInPeriod, totalCost, paidCost, outstandingPayable, status, lastChangedAt]
|
||||
properties:
|
||||
customerId: {$ref: '#/components/schemas/Id'}
|
||||
customerCode: {type: string}
|
||||
@@ -891,6 +891,8 @@ components:
|
||||
outstandingReceivable: {$ref: '#/components/schemas/Money'}
|
||||
pendingBilling: {$ref: '#/components/schemas/Money'}
|
||||
receivedInPeriod: {$ref: '#/components/schemas/Money'}
|
||||
totalCost: {$ref: '#/components/schemas/Money'}
|
||||
paidCost: {$ref: '#/components/schemas/Money'}
|
||||
outstandingPayable: {$ref: '#/components/schemas/Money'}
|
||||
status: {type: string, enum: [ACTIVE, DISABLED]}
|
||||
lastChangedAt: {type: string, format: date-time}
|
||||
@@ -916,7 +918,7 @@ components:
|
||||
items: {$ref: '#/components/schemas/AccountEntryRead'}
|
||||
CustomerAccountSummary:
|
||||
type: object
|
||||
required: [customerId, currency, totalReceivable, receivedAmount, outstandingReceivable, pendingBilling, outstandingPayable, asOf, lastChangedAt]
|
||||
required: [customerId, currency, totalReceivable, receivedAmount, outstandingReceivable, pendingBilling, totalCost, paidCost, outstandingPayable, asOf, lastChangedAt]
|
||||
properties:
|
||||
customerId: {$ref: '#/components/schemas/Id'}
|
||||
currency: {type: string, enum: [CNY]}
|
||||
@@ -924,6 +926,8 @@ components:
|
||||
receivedAmount: {$ref: '#/components/schemas/Money'}
|
||||
outstandingReceivable: {$ref: '#/components/schemas/Money'}
|
||||
pendingBilling: {$ref: '#/components/schemas/Money'}
|
||||
totalCost: {$ref: '#/components/schemas/Money'}
|
||||
paidCost: {$ref: '#/components/schemas/Money'}
|
||||
outstandingPayable: {$ref: '#/components/schemas/Money'}
|
||||
asOf: {type: string, format: date-time}
|
||||
lastChangedAt: {type: string, format: date-time}
|
||||
|
||||
Reference in New Issue
Block a user