|
1
|
{ |
|
2
|
"TaxRateRule": { |
|
3
|
"filePath": "packages/modules/tax/src/models/tax-rate-rule.ts", |
|
4
|
"properties": { |
|
5
|
"id": "The ID of the tax rate rule.", |
|
6
|
"metadata": "Holds custom data in key-value pairs.", |
|
7
|
"created_by": "The ID of the user that created the tax rate rule", |
|
8
|
"tax_rate": "The associated tax rate.\n\n@expandable", |
|
9
|
"reference": "The name of the table this rule references.\n\n@example product_type", |
|
10
|
"reference_id": "The id of a record in the table that this rule references.\n\n@example ptyp_1" |
|
11
|
}, |
|
12
|
"deprecated": { |
|
13
|
"is_deprecated": false |
|
14
|
} |
|
15
|
}, |
|
16
|
"TaxProvider": { |
|
17
|
"filePath": "packages/modules/tax/src/models/tax-provider.ts", |
|
18
|
"properties": { |
|
19
|
"id": "The ID of the tax provider.", |
|
20
|
"is_enabled": "Whether the tax provider is enabled.", |
|
21
|
"regions": "The regions that use this provider to calculate taxes.\n\n@expandable" |
|
22
|
}, |
|
23
|
"deprecated": { |
|
24
|
"is_deprecated": false |
|
25
|
} |
|
26
|
}, |
|
27
|
"TaxRegion": { |
|
28
|
"filePath": "packages/modules/tax/src/models/tax-region.ts", |
|
29
|
"properties": { |
|
30
|
"id": "The ID of the tax region.", |
|
31
|
"country_code": "The country code of the tax region.\n\n@example us", |
|
32
|
"province_code": "The province code of the tax region", |
|
33
|
"metadata": "Holds custom data in key-value pairs.", |
|
34
|
"created_by": "The ID of the user that created the tax region", |
|
35
|
"provider": "The provider that calculates taxes in this region.\n\n@expandable", |
|
36
|
"parent": "The tax region's parent.\n\n@expandable", |
|
37
|
"children": "The tax region's children..\n\n@expandable", |
|
38
|
"tax_rates": "The associated tax rates.\n\n@expandable" |
|
39
|
}, |
|
40
|
"deprecated": { |
|
41
|
"is_deprecated": false |
|
42
|
} |
|
43
|
}, |
|
44
|
"TaxRate": { |
|
45
|
"filePath": "packages/modules/tax/src/models/tax-rate.ts", |
|
46
|
"properties": { |
|
47
|
"id": "The ID of the tax rate.", |
|
48
|
"rate": "The rate to charge.\n\n@example 10", |
|
49
|
"code": "The code the tax rate is identified by.", |
|
50
|
"name": "The name of the tax rate", |
|
51
|
"is_default": "Whether this tax rate is the default in the tax region.", |
|
52
|
"is_combinable": "Whether the tax rate should be combined with parent rates. Learn more in [this documentation](https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates).", |
|
53
|
"tax_region": "The associated tax region.\n\n@expandable", |
|
54
|
"rules": "The associated rules.\n\n@expandable", |
|
55
|
"metadata": "Holds custom data in key-value pairs.", |
|
56
|
"created_by": "The ID of the user that created the tax rate" |
|
57
|
}, |
|
58
|
"deprecated": { |
|
59
|
"is_deprecated": false |
|
60
|
} |
|
61
|
} |
|
62
|
} |