Skip to content

Tax presets

Open .md

API reference Team settings

The taxes you apply to invoices: one rate, or named parts that add up, plus YoPrint's Auto Tax. Rates are ×1000.

7 operations

  • POSTCreate a tax preset/v1/api/store/{team_slug}/setting/tax_typeCreates a tax preset and returns it.
  • GETList tax presets/v1/api/store/{team_slug}/setting/tax_typeReturns all the team's tax presets in one list, including deleted ones (trashed: true) and YoPrint's system presets, such as Auto Tax.
  • GETShow a tax preset/v1/api/store/{team_slug}/setting/tax_type/{hash_id}Returns one tax preset, deleted or not.
  • PUTUpdate a tax preset/v1/api/store/{team_slug}/setting/tax_type/{hash_id}Changes a tax preset and returns it.
  • PATCHUpdate a tax preset (same as PUT)/v1/api/store/{team_slug}/setting/tax_type/{hash_id}The same as PUT: changes a tax preset, with the same validation, and returns it.
  • DELETEDelete a tax preset/v1/api/store/{team_slug}/setting/tax_type/{hash_id}Deletes a tax preset.
  • PATCHRestore a tax preset/v1/api/store/{team_slug}/setting/tax_type/{id}/restoreBrings back a deleted tax preset.