Tax Associations

Delete tax association

Use when removing a tax association (e.g. entity no longer subject to that rate).

delete/taxes/associations/{id}

Path parameters

idstring required

Tax Config ID

Response

OK

auto_applyboolean

Whether this tax should be automatically applied

created_atstring date-time
created_bystring
currencystring

Currency

end_datestring date-time

EndDate is the optional date until which this association is active

entity_idstring

ID of the entity this tax rate applies to

entity_type'customer' | 'subscription' | 'invoice' | 'tenant'
environment_idstring

EnvironmentID is the ID of the environment this tax rate config belongs to

idstring

ID of the ent.

metadataobject

Metadata holds the value of the "metadata" field.

priorityinteger

Priority for tax resolution (lower number = higher priority)

start_datestring date-time

StartDate is the date from which this association is active

status'published' | 'deleted' | 'archived'
tax_rate_idstring

Reference to the TaxRate entity

tenant_idstring
updated_atstring date-time
updated_bystring

Changes

Changed in 6 of the 108 revisions of this API.182727

    • added the new not_implemented enum value to the code response property for the response status 400

      response-property-enum-value-added

    • added the new not_implemented enum value to the code response property for the response status 500

      response-property-enum-value-added

  • 7d57386313c7617See the full diff
    • the entity_type response's property type/format changed from / to string/ for status 200

      response-property-type-changed

    • the status response's property type/format changed from / to string/ for status 200

      response-property-type-changed

    • the tax_rate/scope response's property type/format changed from / to string/ for status 200

      response-property-type-changed

    • the tax_rate/status response's property type/format changed from / to string/ for status 200

      response-property-type-changed

    • the tax_rate/tax_rate_status response's property type/format changed from / to string/ for status 200

      response-property-type-changed

    • the tax_rate/tax_rate_type response's property type/format changed from / to string/ for status 200

      response-property-type-changed

    • added the new ACTIVE enum value to the tax_rate/tax_rate_status response property for the response status 200

      response-property-enum-value-added

    • added the new EXTERNAL enum value to the tax_rate/scope response property for the response status 200

      response-property-enum-value-added

    • added the new INACTIVE enum value to the tax_rate/tax_rate_status response property for the response status 200

      response-property-enum-value-added

    • added the new INTERNAL enum value to the tax_rate/scope response property for the response status 200

      response-property-enum-value-added

    • added the new ONETIME enum value to the tax_rate/scope response property for the response status 200

      response-property-enum-value-added

    • added the new archived enum value to the status response property for the response status 200

      response-property-enum-value-added

    • added the new archived enum value to the tax_rate/status response property for the response status 200

      response-property-enum-value-added

    • added the new customer enum value to the entity_type response property for the response status 200

      response-property-enum-value-added

    • added the new deleted enum value to the status response property for the response status 200

      response-property-enum-value-added

    • added the new deleted enum value to the tax_rate/status response property for the response status 200

      response-property-enum-value-added

    • added the new fixed enum value to the tax_rate/tax_rate_type response property for the response status 200

      response-property-enum-value-added

    • added the new invoice enum value to the entity_type response property for the response status 200

      response-property-enum-value-added

    • added the new percentage enum value to the tax_rate/tax_rate_type response property for the response status 200

      response-property-enum-value-added

    • added the new published enum value to the status response property for the response status 200

      response-property-enum-value-added

    • added the new published enum value to the tax_rate/status response property for the response status 200

      response-property-enum-value-added

    • added the new subscription enum value to the entity_type response property for the response status 200

      response-property-enum-value-added

    • added the new tenant enum value to the entity_type response property for the response status 200

      response-property-enum-value-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 4b1a811c41791217See the full diff
    • the created_at response's property type/format changed from string/date-time to string/ for status 200

      response-property-type-changed

    • the end_date response's property type/format changed from string/date-time to string/ for status 200

      response-property-type-changed

    • the entity_type response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • the start_date response's property type/format changed from string/date-time to string/ for status 200

      response-property-type-changed

    • the status response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • the tax_rate/created_at response's property type/format changed from string/date-time to string/ for status 200

      response-property-type-changed

    • the tax_rate/scope response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • the tax_rate/status response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • the tax_rate/tax_rate_status response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • the tax_rate/tax_rate_type response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • the tax_rate/updated_at response's property type/format changed from string/date-time to string/ for status 200

      response-property-type-changed

    • the updated_at response's property type/format changed from string/date-time to string/ for status 200

      response-property-type-changed

    • removed the ACTIVE enum value from the tax_rate/tax_rate_status response property for the response status 200

      response-property-enum-value-removed

    • removed the EXTERNAL enum value from the tax_rate/scope response property for the response status 200

      response-property-enum-value-removed

    • removed the INACTIVE enum value from the tax_rate/tax_rate_status response property for the response status 200

      response-property-enum-value-removed

    • removed the INTERNAL enum value from the tax_rate/scope response property for the response status 200

      response-property-enum-value-removed

    • removed the ONETIME enum value from the tax_rate/scope response property for the response status 200

      response-property-enum-value-removed

    • removed the archived enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • removed the archived enum value from the tax_rate/status response property for the response status 200

      response-property-enum-value-removed

    • removed the customer enum value from the entity_type response property for the response status 200

      response-property-enum-value-removed

    • removed the deleted enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • removed the deleted enum value from the tax_rate/status response property for the response status 200

      response-property-enum-value-removed

    • removed the fixed enum value from the tax_rate/tax_rate_type response property for the response status 200

      response-property-enum-value-removed

    • removed the invoice enum value from the entity_type response property for the response status 200

      response-property-enum-value-removed

    • removed the percentage enum value from the tax_rate/tax_rate_type response property for the response status 200

      response-property-enum-value-removed

    • removed the published enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • removed the published enum value from the tax_rate/status response property for the response status 200

      response-property-enum-value-removed

    • removed the subscription enum value from the entity_type response property for the response status 200

      response-property-enum-value-removed

    • removed the tenant enum value from the entity_type response property for the response status 200

      response-property-enum-value-removed

    This revision also has 121 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the optional property end_date to the response with the 200 status

      response-optional-property-added

    • added the optional property start_date to the response with the 200 status

      response-optional-property-added

    • removed the optional property details from the response with the 400 status

      response-optional-property-removed

    • removed the optional property details from the response with the 500 status

      response-optional-property-removed

    • added the new too_many_requests enum value to the code response property for the response status 400

      response-property-enum-value-added

    • added the new too_many_requests enum value to the code response property for the response status 500

      response-property-enum-value-added

    • removed the optional property error from the response with the 400 status

      response-optional-property-removed

    • removed the optional property error from the response with the 500 status

      response-optional-property-removed

    • removed the optional property success from the response with the 400 status

      response-optional-property-removed

    • removed the optional property success from the response with the 500 status

      response-optional-property-removed

    • added the optional property code to the response with the 400 status

      response-optional-property-added

    • added the optional property code to the response with the 500 status

      response-optional-property-added

    • added the optional property details to the response with the 400 status

      response-optional-property-added

    • added the optional property details to the response with the 500 status

      response-optional-property-added

    • added the optional property http_status_code to the response with the 400 status

      response-optional-property-added

    • added the optional property http_status_code to the response with the 500 status

      response-optional-property-added

    • added the optional property message to the response with the 400 status

      response-optional-property-added

    • added the optional property message to the response with the 500 status

      response-optional-property-added

    This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog