Skip to main content
POST
/
api
/
v1
/
registrations
/
v2
/
{tax_registration_id}
/
archive
curl --request POST \
  --url 'https://transaction-tax.api.in.commenda.io/api/v1/registrations/v2/7c9e6679-7425-40de-944b-e07fc1f90ae7/archive' \
  --header 'Authorization: Bearer <your_token>'
{
  "message": "Registration archived successfully."
}
Archive a registration to completely exclude it from tax calculations and hide it from default list views. Archived registrations are preserved for historical records but no longer participate in tax processing.

Path parameters

tax_registration_id
string
required
The unique identifier (UUID) of the registration to archive.

What happens when you archive

  • Tax calculations stop — The registration is no longer considered when calculating taxes
  • Hidden from views — Excluded from list results unless you set include_archived: true
  • Data preserved — All historical data remains intact for reference

Archive vs. close vs. delete

ActionUse caseTax calculationsReversible
ArchiveCompletely disableStopped entirelyContact support
CloseStop on a specific dateActive within date rangeNo
DeleteRemove entirelyN/A — data removedNo
If you need to stop collecting tax starting from a specific date but preserve calculations for the historical period, use Close instead.
curl --request POST \
  --url 'https://transaction-tax.api.in.commenda.io/api/v1/registrations/v2/7c9e6679-7425-40de-944b-e07fc1f90ae7/archive' \
  --header 'Authorization: Bearer <your_token>'
{
  "message": "Registration archived successfully."
}

Viewing archived registrations

To include archived registrations in list results, set include_archived: true:
POST /registrations/v2/list
{
  "corporation_id": "your-corp-id",
  "include_archived": true
}
Archived registrations will have a non-null archived_at timestamp.