Back to Medusa

ShippingTaxLineDTO

www/apps/resources/references/tax/interfaces/tax.ShippingTaxLineDTO/page.mdx

2.14.21.3 KB
Original Source

import { TypeList } from "docs-ui"

ShippingTaxLineDTO

The shipping tax line details.

<TypeList types={[{"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":"shipping_line_id","type":"string","description":"The associated shipping line's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"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":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="ShippingTaxLineDTO"/>