Draft an invoice, finalize it, and share its hosted URL
Create the invoice through the API with line items, quantities, and unit prices. Billing calculates the totals, produces a PDF with your logo and colors, and hosts a page where the customer can view the invoice online.
Impact
In the sample, Coppersmith Health invoices a customer for onboarding at $2,500.00 and for 24 implementation hours at $185.00 each, a subtotal of $6,940.00. The finalize call returns the invoice number, the amount due, and the hosted URL, which the sample logs.
Prompt for a coding agent: Invoice the onboarding fee and 24 implementation hours, then share the hosted invoice link.
Select a file to view its contents