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"
}Not yet implemented.
Creates an amendment filing linked to the original. The original filing’s
status remains accepted and gains an amended_by reference. The new
amendment filing starts in pending status.
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"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Filing identifier
Amendment filing created
Response containing the ID of a newly created resource.
"fil_01HQ3K4N7XYZABC"