Skip to content

Commit 4f79f7c

Browse files
Update tax-use-cases.md
update documentation
1 parent 354ac64 commit 4f79f7c

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/pages/starter-kit/checkout/tax-use-cases.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,9 @@ Here's an example payload showing how the custom attributes from tax classes app
204204
}
205205
}
206206
```
207-
## Propagate serialized custom attributes
207+
## Propagate custom attributes of tax classes
208208

209-
### Tax class custom attributes available in Quote
210-
211-
The `oope-tax-management` module introduces support for assigning serialized custom attributes to tax classes. These attributes are then automatically associated with shopping cart data during cart creation and product addition. This allows for tax-related metadata to be included early in the checkout process and carried forward into subsequent operations.
209+
The out-of-process tax module introduces support for assigning serialized custom attributes to tax classes. These attributes are then automatically associated with shopping cart data during cart creation and product addition. This allows for tax-related metadata to be included early in the checkout process and carried forward into subsequent operations.
212210

213211
### How it works
214212

@@ -220,15 +218,13 @@ The `oope-tax-management` module introduces support for assigning serialized cus
220218

221219
This ensures that both the `Quote` and each `Quote Item` contain tax-relevant custom data for further processing or integration.
222220

223-
---
224-
225221
### Quote to Order propagation
226222

227223
Once the customer places an order, all serialized custom attributes already present in the `Quote` and `Quote Item` entities are automatically propagated to the `Order` and `Order Item` entities, respectively.
228224

229-
> This behavior was implemented previously as part of the custom attributes module and does not require additional setup from the tax module.
225+
> This propagation is an existing behavior implemented previously as part of the custom attributes module and does not require additional setup from the tax module.
230226
231-
The purpose of this propagation is to ensure that tax class metadata—initially attached via customer and product associations—is consistently preserved throughout the entire checkout lifecycle. This allows external systems (such as tax calculation services or order analytics platforms) to access the tax class and its serialized custom attributes via:
227+
The purpose of this propagation is to ensure that tax class metadata—initially attached via customer and product associations—is consistently preserved throughout the entire checkout lifecycle. This allows external systems (such as tax calculation services) to access the tax class and its serialized custom attributes via:
232228

233229
- REST APIs
234230
- GraphQL queries

0 commit comments

Comments
 (0)