{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asaas/json-schema/asaas-anticipation-simulate-response-dto-schema.json",
  "title": "AnticipationSimulateResponseDTO",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asaas-anticipation-api-openapi.yml#/components/schemas/AnticipationSimulateResponseDTO",
  "type": "object",
  "properties": {
    "installment": {
      "type": "string",
      "description": "Unique identifier of the installment to be anticipated",
      "deprecated": false
    },
    "payment": {
      "type": "string",
      "description": "Unique identifier of the payment to be anticipated",
      "deprecated": false
    },
    "anticipationDate": {
      "type": "string",
      "description": "Anticipation request date",
      "format": "date",
      "deprecated": false
    },
    "dueDate": {
      "type": "string",
      "description": "Request due date",
      "format": "date",
      "deprecated": false
    },
    "fee": {
      "type": "number",
      "description": "Anticipation fee",
      "deprecated": false
    },
    "anticipationDays": {
      "type": "integer",
      "description": "Number of days that were anticipated",
      "format": "int32",
      "deprecated": false
    },
    "netValue": {
      "type": "number",
      "description": "Net value discounted the anticipation fee",
      "deprecated": false
    },
    "totalValue": {
      "type": "number",
      "description": "Total amount of the payment to be anticipated",
      "deprecated": false
    },
    "value": {
      "type": "number",
      "description": "Anticipation value",
      "deprecated": false
    },
    "isDocumentationRequired": {
      "type": "boolean",
      "description": "Determines the obligation to send electronic invoices or service provision contracts when requesting anticipation payment",
      "deprecated": false
    }
  }
}