Send an invoice with Corply Pay
send_invoiceCorply Pay is Corply's white-labelled payments product. Email a customer an itemized invoice they pay by card or US bank account (ACH) on a secure Corply Pay link, with a downloadable PDF. The total is the sum of the line items (quantity x unitAmountCents, integer cents) plus any taxes the founder states (taxes: name with rateBps on the item subtotal, e.g. 8.25% -> 825, or a fixed amountCents); Corply does not decide tax. The company is the merchant and the payer pays exactly the invoice total (never add a fee to it). Fees come out of the company's proceeds: when payments run on Stripe, Corply takes no fee and Stripe deducts its processing fee (the preview shows Stripe's estimate); otherwise Corply Pay deducts a 1% software fee. State the fee exactly as the preview's money facts say. Call once without previewSha256 to preview: nothing is created or emailed, and the result shows the exact recipient, subject, email text, amount, fees and net. In clients that render the Corply invoice card, the founder's Send button confirms and sends it: do not call the confirming step yourself after showing the card. Otherwise show that preview, get the founder's fresh plain-text confirmation, then call again with the same arguments plus the exact returned previewSha256 and sendConfirmed:true. A different request fails with AUTHORIZATION_CHANGED. Reuse the same idempotencyKey on retries; the confirmed call emails the payer only and returns payUrl, pdfUrl and emailDelivery (queued is not received). If it fails with CORPLY_PAY_NOT_READY or CORPLY_PAY_TERMS_REQUIRED, run set_up_corply_pay first. Never ask for, repeat or accept card numbers or bank account details in chat: the payer enters them only on the returned Corply Pay link. Card payments confirm right away; US bank (ACH) payments clear in about 4 business days. Prerequisite: authenticated active company access plus every prerequisite stated above. Canonicality: invokes the shared backend action; trust the returned actual_tool_output and context_engineering instead of adding a state-recovery call. Idempotency: obey the tool-specific retry key or guarantee; if none is stated, inspect refreshed state before retrying. Confirmation boundary: obtain fresh, explicit user confirmation before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | ||
| dueOn | No | YYYY-MM-DD. Defaults to 14 days from today. | |
| taxes | No | Optional taxes on the item subtotal, as the founder states them. Corply does not decide tax. | |
| title | No | ||
| companyId | No | ||
| lineItems | Yes | ||
| payerName | No | ||
| payerEmail | Yes | ||
| previewSha256 | No | The previewSha256 the preview call returned. Omit on the preview call. | |
| sendConfirmed | No | Only after the founder's fresh plain-text confirmation of the exact previewed recipient, email and amounts. Omit on the preview call. | |
| allowedMethods | No | ||
| idempotencyKey | Yes | ||
| _corply_context | No | ||
| payerOrganization | No |