|
1
|
{"slug":"/references/tax/interfaces/tax.TaxLineDTO","title":"TaxLineDTO","frontmatter":{"displayed_sidebar":"taxReference"},"toc":[],"blocks":[{"kind":"markdown","html":"The tax line details."},{"kind":"typeList","sectionTitle":"TaxLineDTO","types":[{"name":"rate_id","type":"`string`","description":"The associated rate's ID.\nWhen integrating with a third-party, you don't need to provide it.\nThis is mainly used for the built-in rates.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the tax provider used to calculate and retrieve the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record<string, unknown>`","description":"Additional data returned by the tax provider.\nUse this to store jurisdiction-level breakdown data\n(e.g. state, county, city rates) that is not captured in the aggregated rate.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} |