---
title: "Reschedule receivable plan"
description: "Replace the installment schedule for an unpaid receivable plan. Use the same idempotencyKey when retrying the exact schedule change."
language: en
canonical_url: "https://exac.mx/docs/en/mcp/tools/reschedule_receivable_plan"
md_url: "https://exac.mx/docs/en/mcp/tools/reschedule_receivable_plan.md"
---

# Reschedule receivable plan

Replace the installment schedule for an unpaid receivable plan. Use the same idempotencyKey when retrying the exact schedule change.

Tool: `reschedule_receivable_plan`

## Purpose

Replace the unpaid installment schedule for a receivable plan.

### Use when

A customer payment schedule must be formally changed.

### Do not use when

You only need to record a payment or read a balance.

| Detail | Value |
| --- | --- |
| Permissions | receivables:manage |
| Side effects | Destructive |
| Idempotency | Idempotent |

## Input schema

```json
{
  "type": "object",
  "properties": {
    "idempotencyKey": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Unique retry key for this exact operation. Reuse it only when retrying the same request."
    },
    "input": {
      "type": "object",
      "properties": {
        "settlementTerms": {
          "type": "object",
          "properties": {
            "installmentCount": {
              "type": "integer",
              "minimum": 1,
              "maximum": 60
            },
            "firstDue": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "transaction_date"
                    }
                  },
                  "required": [
                    "kind"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "months_after_transaction"
                    },
                    "months": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 60
                    }
                  },
                  "required": [
                    "kind",
                    "months"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "fixed_date"
                    },
                    "date": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "kind",
                    "date"
                  ],
                  "additionalProperties": false
                }
              ]
            },
            "recurrence": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "anchor_day"
                    }
                  },
                  "required": [
                    "kind"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "day_of_month"
                    },
                    "day": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 31
                    }
                  },
                  "required": [
                    "kind",
                    "day"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "last_day"
                    }
                  },
                  "required": [
                    "kind"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "required": [
            "installmentCount",
            "firstDue",
            "recurrence"
          ],
          "additionalProperties": false
        },
        "reason": {
          "type": "string",
          "minLength": 3,
          "maxLength": 500
        },
        "documentRef": {
          "type": "string",
          "pattern": "^(cfdi|sales_receipt|quote):.+$"
        }
      },
      "required": [
        "settlementTerms",
        "reason",
        "documentRef"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "idempotencyKey",
    "input"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
```

## Output schema

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "planId": {
          "type": "string",
          "minLength": 1
        },
        "version": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "settlementTerms": {
          "type": "object",
          "properties": {
            "installmentCount": {
              "type": "integer",
              "minimum": 1,
              "maximum": 60
            },
            "firstDue": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "transaction_date"
                    }
                  },
                  "required": [
                    "kind"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "months_after_transaction"
                    },
                    "months": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 60
                    }
                  },
                  "required": [
                    "kind",
                    "months"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "fixed_date"
                    },
                    "date": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "kind",
                    "date"
                  ],
                  "additionalProperties": false
                }
              ]
            },
            "recurrence": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "anchor_day"
                    }
                  },
                  "required": [
                    "kind"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "day_of_month"
                    },
                    "day": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 31
                    }
                  },
                  "required": [
                    "kind",
                    "day"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "last_day"
                    }
                  },
                  "required": [
                    "kind"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "required": [
            "installmentCount",
            "firstDue",
            "recurrence"
          ],
          "additionalProperties": false
        },
        "paymentDueDate": {
          "type": "string"
        },
        "installments": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "sequence": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "dueDate": {
                "type": "string"
              },
              "amount": {
                "type": "number"
              }
            },
            "required": [
              "sequence",
              "dueDate",
              "amount"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "planId",
        "version",
        "settlementTerms",
        "paymentDueDate",
        "installments"
      ],
      "additionalProperties": false
    },
    "error": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "validation_error",
            "unauthenticated",
            "forbidden",
            "not_found",
            "method_not_allowed",
            "conflict",
            "idempotency_conflict",
            "operation_in_progress",
            "recovery_required",
            "rate_limited",
            "provider_unavailable",
            "internal"
          ]
        },
        "message": {
          "type": "string"
        },
        "details": {
          "type": "object",
          "properties": {
            "issues": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "path": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        }
                      ]
                    }
                  },
                  "message": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string"
                  }
                },
                "required": [
                  "path",
                  "message"
                ],
                "additionalProperties": false
              }
            },
            "retryable": {
              "type": "boolean"
            },
            "retryAfterSeconds": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            }
          },
          "additionalProperties": false
        }
      },
      "required": [
        "code",
        "message"
      ],
      "additionalProperties": false
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "oneOf": [
    {
      "required": [
        "data"
      ]
    },
    {
      "required": [
        "error"
      ]
    }
  ]
}
```

## Related tools

- [`get_accounts`](/docs/en/mcp/tools/get_accounts.md) — **Read accounts**: Search receivable/payable accounts, retrieve one account, or list its ledger movements. Use customerId for receivables and supplierId for payables.

- [`record_payment`](/docs/en/mcp/tools/record_payment.md) — **Record payment**: Record money received from a customer or paid to a supplier and allocate it to open balances. Use the same idempotencyKey when retrying the exact payment.

## Related workflow

[See the canonical workflows in the introduction](/docs/en.md)

## Equivalent REST operations

- [`PUT /v1/accounts/receivables/{customerId}/plans/{planId}`](/docs/en/api/accounts-payments/accounts/reschedule-receivable-plan.md)

Complete documentation: https://exac.mx/docs/en.md
Agent documentation index: https://exac.mx/docs/en/llms.txt
