1 type: object
2 description: The line item tax line's details.
3 x-schemaName: OrderLineItemTaxLine
4 required:
5 - item
6 - item_id
7 - total
8 - subtotal
9 - id
10 - code
11 - rate
12 - created_at
13 - updated_at
14 properties:
15 item:
16 type: object
17 item_id:
18 type: string
19 title: item_id
20 description: The ID of the line item that the tax line belongs to.
21 total:
22 type: number
23 title: total
24 description: The item's total including taxes and promotions.
25 subtotal:
26 type: number
27 title: subtotal
28 description: The item's total excluding taxes, including promotions.
29 id:
30 type: string
31 title: id
32 description: The tax line's ID.
33 description:
34 type: string
35 title: description
36 description: The tax line's description.
37 tax_rate_id:
38 type: string
39 title: tax_rate_id
40 description: The ID of the applied tax rate.
41 code:
42 type: string
43 title: code
44 description: The code that the tax rate is identified by.
45 rate:
46 type: number
47 title: rate
48 description: The rate to charge.
49 provider_id:
50 type: string
51 title: provider_id
52 description: The ID of the tax provider used to calculate the tax lines.
53 created_at:
54 type: string
55 format: date-time
56 title: created_at
57 description: The date the tax line was created.
58 updated_at:
59 type: string
60 format: date-time
61 title: updated_at
62 description: The date the tax line was updated.
63 data:
64 type: object
65 description: The tax line's data.
66 metadata:
67 type: object
68 description: The tax line's metadata, can hold custom key-value pairs.