Commerce · Components
InvoiceRecordScreen
InvoiceRecordScreen composes the published generic record screen with commerce's stored-money projection and host-authorized credit-note action. The host loads `data` server-side with `loadInvoiceRecordScreenData()`.Public export
typescript
import { InvoiceRecordScreen } from '@happyvertical/smrt-commerce/svelte';- Import path
@happyvertical/smrt-commerce/svelte- Props
- 4
- Props described
- 4 of 4
- Bindable state
- 0
- Callback events
- 1
- Verified release
- 0.57.40
Props
NameTypeRequiredDescription
screenOmit<RecordScreenProps, 'lineItemStoredTotals' | 'extraActions' | 'children'>YesGeneric record-screen wiring owned by the host application.dataInvoiceRecordScreenDataYesTenant-scoped persisted invoice facts from `loadInvoiceRecordScreenData`.canCreateCreditNotebooleanNoResult of the host's server-side authorization check.onCreateCreditNote() => voidNoHost-owned navigation or mutation after an authorized click.Bindable state
This component has no bindable public state.
Callback events
onCreateCreditNote() => void