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",
    "total": 82345
  }
}
'
{
  "id": "fil_01HQ3K4N7XYZABC"
}

Authorizations

Authorization
string
header
required

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

Headers

X-MultiTenantKey
string

Required when using a Platform API token. The tenant key identifying which business to operate on.

Path Parameters

filing_id
string
required

Filing identifier

Body

application/json
reason
string
required

Reason for the amendment

correctedAmounts
object

Derived totals for the filing. Read-only on responses — Cadana computes these values from the breakdown lines. You do not pass amounts when creating a filing; provide the breakdown array and the total falls out automatically.

Response

Amendment filing created

Response containing the ID of a newly created resource.

id
string
Example:

"fil_01HQ3K4N7XYZABC"