Commerce · Components
InvoiceAllocationFields
Optional allocation fields; compose inside a caller-owned invoice form.Public export
typescript
import { InvoiceAllocationFields } from '@happyvertical/smrt-commerce/svelte';- Import path
@happyvertical/smrt-commerce/svelte- Props
- 9
- Props described
- 9 of 9
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.57.40
Props
NameTypeRequiredDescription
currencystringYesCurrency for allocation presentation.allocationsreadonly InvoiceAllocationDraft[]YesRetained source-allocation rows.sourcesreadonly InvoicePreparationSource[]NoAuthorized source projections only.mayReadSourcesbooleanNoHide sensitive source labels and balances when false.canEditbooleanNoPresentation capability; server authorizes every action.pendingbooleanNoDisable the structural add action while pending.fieldsPartial<InvoicePreparationFields>NoNative allocation field adapters.addIntentstringNoNative add-allocation intent, default addAllocation.idstringNoStable label identity.Bindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.