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:
12345678effectTypestring
Type of the effect (e.g., Bill, Invoice).
Example:
BillsubmissionDatestring<date-time>
Date when the effect was submitted.
dueDatestring<date-time>
Due date for the effect.
bordereauNumberstring
Bordereau number associated with the effect.
Example:
BD12345effectNumberstring
Effect number (e.g., Invoice number).
Example:
EF12345thirdPartystring
Third-party identifier associated with the effect.
Example:
Company XYZamountPerSubmissionnumber<double>
Amount per submission for the effect.
Example:
5000formattedAmountPerSubmissionstring
Formatted amount per submission.
Example:
5,000.00currencystring
Currency type for the effect amount.
Example:
USDbranchCodestring
Branch code associated with the effect.
Example:
001accountRadicalstring
Account radical associated with the effect.
Example:
78654382]
currencystring
Currency for the discount.
Example:
USDtotalAmountnumber<double>
Total amount of the discount.
Example:
15000totalElementinteger<int32>
Total number of elements in the discount.
Example:
5formattedTotalAmountstring
Formatted total amount of the discount.
Example:
15,000.00DiscountResponseDto
{
"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"
}