Skip to main content
POST
/
v1
/
statutory
/
filings
/
{filing_id}
/
amend
Amend a previously accepted filing
curl --request POST \
  --url https://api.cadanapay.com/v1/statutory/filings/{filing_id}/amend \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>",
  "correctedAmounts": {
    "currency": "MXN",
    "totalTax": 45000,
    "employerContributions": 20000,
    "employeeDeductions": 25000,
    "lineItems": [
      {
        "description": "ISR - Withholding per Artículo 96 table",
        "amount": 12500
      }
    ]
  }
}
'
{
  "id": "fil_01HQ3K4N7XYZABC"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

filing_id
string
required

Filing identifier

Body

application/json
reason
string
required

Reason for the amendment

correctedAmounts
object

Financial breakdown of the filing

Response

Amendment filing created

Response containing the ID of a newly created resource.

id
string
Example:

"fil_01HQ3K4N7XYZABC"