# ShippingMethodTaxLine - Cart Module Data Models Reference

This documentation provides a reference to the ShippingMethodTaxLine data model. It belongs to the Cart Module.

[Source code](https://github.com/medusajs/medusa/blob/87b5b454afdf7533a167fcb48e069f8c28e4b7e9/packages/modules/cart/src/models/shipping-method-tax-line.ts#L4)

- id: (PrimaryKeyModifier\&#60;IdProperty\&#62;) The ID of the shipping method tax line.
- code: (\`TextProperty\`) The code of the applied tax rate.
- rate: (\`FloatProperty\`) The rate of the applied tax rate.
- shipping\_method: (BelongsTo\&#60;\[ShippingMethod]\(../cart\_models.ShippingMethod/page.mdx)\&#62;) The associated shipping\\\_method.

  - id: (PrimaryKeyModifier\&#60;IdProperty\&#62;) The ID of the shipping method.

  - name: (\`TextProperty\`) The name of the shipping method

  - amount: (\`BigNumberProperty\`) The amount of the shipping method

  - is\_tax\_inclusive: (\`BooleanProperty\`) Whether the shipping method's amount is tax inclusive.

  - cart: (BelongsTo\&#60;\[Cart]\(../cart\_models.Cart/page.mdx)\&#62;) The associated cart.

    - id: (PrimaryKeyModifier\&#60;IdProperty\&#62;) The ID of the cart.

    - currency\_code: (\`TextProperty\`) The ISO 3 currency code of the cart, such as \`usd\`.

    - items: (HasMany\&#60;\[LineItem]\(../cart\_models.LineItem/page.mdx)\&#62;) The associated items.

    - credit\_lines: (HasMany\&#60;\[CreditLine]\(../cart\_models.CreditLine/page.mdx)\&#62;) The associated credit lines.

    - shipping\_methods: (HasMany\&#60;\[ShippingMethod]\(../cart\_models.ShippingMethod/page.mdx)\&#62;) The associated shipping\\\_methods.

    - region\_id: (\`TextProperty\`) The ID of the cart's region.

    - customer\_id: (\`TextProperty\`) The ID of the cart's customer.

    - sales\_channel\_id: (\`TextProperty\`) The ID of the cart's sales channel.

    - email: (\`TextProperty\`) The email of the cart's customer

    - locale: (\`TextProperty\`) The BCP 47 language tag code of the localeThe locale of the cart

    - metadata: (\`JSONProperty\`) Holds custom data in key-value pairs.

    - completed\_at: (\`DateTimeProperty\`) The date the cart was completed.

    - shipping\_address: (HasOneWithForeignKey\&#60;\[Address]\(../cart\_models.Address/page.mdx)\&#62;) The associated shipping\\\_address.

    - billing\_address: (HasOneWithForeignKey\&#60;\[Address]\(../cart\_models.Address/page.mdx)\&#62;) The associated billing\\\_address.

  - tax\_lines: (HasMany\&#60;\[ShippingMethodTaxLine]\(./page.mdx)\&#62;) The associated tax\\\_lines.

    - id: (PrimaryKeyModifier\&#60;IdProperty\&#62;) The ID of the shipping method tax line.

    - code: (\`TextProperty\`) The code of the applied tax rate.

    - rate: (\`FloatProperty\`) The rate of the applied tax rate.

    - shipping\_method: (BelongsTo\&#60;\[ShippingMethod]\(../cart\_models.ShippingMethod/page.mdx)\&#62;) The associated shipping\\\_method.

    - description: (\`TextProperty\`) The description of the shipping method tax line

    - provider\_id: (\`TextProperty\`) The ID of the provider used to calculate the tax lines.

    - tax\_rate\_id: (\`TextProperty\`) The ID of the applied tax rate.

    - metadata: (\`JSONProperty\`) Holds custom data in key-value pairs.

  - adjustments: (HasMany\&#60;\[ShippingMethodAdjustment]\(../cart\_models.ShippingMethodAdjustment/page.mdx)\&#62;) The associated adjustments.

    - id: (PrimaryKeyModifier\&#60;IdProperty\&#62;) The ID of the shipping method adjustment.

    - amount: (\`BigNumberProperty\`) The shipping method adjustment's amount

    - shipping\_method: (BelongsTo\&#60;\[ShippingMethod]\(../cart\_models.ShippingMethod/page.mdx)\&#62;) The associated shipping\\\_method.

    - description: (\`TextProperty\`) The description of the shipping method adjustment

    - code: (\`TextProperty\`) The code of promotion that applied the adjustment

    - provider\_id: (\`TextProperty\`) The ID of the external provider that the adjustment is related to.

    - metadata: (\`JSONProperty\`) Holds custom data in key-value pairs.

    - promotion\_id: (\`TextProperty\`) The ID of the promotion applied

  - description: (\`JSONProperty\`) The description of the shipping method

  - shipping\_option\_id: (\`TextProperty\`) The ID of the related shipping option.

  - data: (\`JSONProperty\`) The data of the shipping method, used by the associated fulfillment provider when processing the shipping method.

  - metadata: (\`JSONProperty\`) Holds custom data in key-value pairs.
- description: (\`TextProperty\`) The description of the shipping method tax line
- provider\_id: (\`TextProperty\`) The ID of the provider used to calculate the tax lines.
- tax\_rate\_id: (\`TextProperty\`) The ID of the applied tax rate.
- metadata: (\`JSONProperty\`) Holds custom data in key-value pairs.
