Commerce · Components
InvoiceTotals
Props for InvoiceTotals componentPublic export
typescript
import { InvoiceTotals } from '@happyvertical/smrt-commerce/svelte';- Import path
@happyvertical/smrt-commerce/svelte- Props
- 10
- Props described
- 10 of 10
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
subtotalnumberYesSubtotal in decimal dollarstaxRatenumberNoTax rate as percentage (e.g., 5 for 5%)taxAmountnumberNoTax amount in decimal dollars (calculated from rate if not provided)totalnumberYesTotal in decimal dollarsamountPaidnumberNoAmount already paid in decimal dollarscurrency'CAD' | 'USD'NoCurrency codeshowTaxbooleanNoShow tax breakdownshowPaidbooleanNoShow payment statustaxLabelstringNoTax labelsize'sm' | 'md' | 'lg'NoSize variantBindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.