DiscountResponseDto
DTO representing a discount with associated details.
effects object[]
List of effects (EscompteDto) associated with the discount.
Array [
accountNumberstring
Account number associated with the effect.
Example:
12345678
effectTypestring
Type of the effect (e.g., Bill, Invoice).
Example:
Bill
submissionDatedate-time
Date when the effect was submitted.
dueDatedate-time
Due date for the effect.
bordereauNumberstring
Bordereau number associated with the effect.
Example:
BD12345
effectNumberstring
Effect number (e.g., Invoice number).
Example:
EF12345
thirdPartystring
Third-party identifier associated with the effect.
Example:
Company XYZ
amountPerSubmissiondouble
Amount per submission for the effect.
Example:
5000
formattedAmountPerSubmissionstring
Formatted amount per submission.
Example:
5,000.00
currencystring
Currency type for the effect amount.
Example:
USD
branchCodestring
Branch code associated with the effect.
Example:
001
accountRadicalstring
Account radical associated with the effect.
Example:
78654382
]
currencystring
Currency for the discount.
Example:
USD
totalAmountdouble
Total amount of the discount.
Example:
15000
totalElementint32
Total number of elements in the discount.
Example:
5
formattedTotalAmountstring
Formatted total amount of the discount.
Example:
15,000.00
DiscountResponseDto
{
"effects": [
{
"accountNumber": "12345678",
"effectType": "Bill",
"submissionDate": "2024-07-29T15:51:28.071Z",
"dueDate": "2024-07-29T15:51:28.071Z",
"bordereauNumber": "BD12345",
"effectNumber": "EF12345",
"thirdParty": "Company XYZ",
"amountPerSubmission": 5000,
"formattedAmountPerSubmission": "5,000.00",
"currency": "USD",
"branchCode": "001",
"accountRadical": "78654382"
}
],
"currency": "USD",
"totalAmount": 15000,
"totalElement": 5,
"formattedTotalAmount": "15,000.00"
}