React
Web components
Next steps
- Set up the
EmbeddedProviderwith authentication and theming - Explore the FinOps API for programmatic invoice management
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Embed the invoicing component to let users create, manage, and send invoices directly within your application.
import { EmbeddedProvider, InvoicingWidget } from '@tesouro/embedded-components-react';
export default function InvoicingPage() {
return (
<EmbeddedProvider
userId={currentUser.id}
userEmail={currentUser.email}
widgetTokenRefreshUrl="/api/widget-token"
>
<InvoicingWidget />
</EmbeddedProvider>
);
}
<embedded-invoicing-widget
data-user-id="YOUR_USER_ID"
data-widget-token-refresh-url="/api/widget-token"
></embedded-invoicing-widget>
EmbeddedProvider with authentication and themingWas this page helpful?