SolariumSolariumDocs
Browse The Docs

Docs/API Reference/Invoices

POST

Send An Invoice

Numbers it, books the A/R, and emails the PDF and view link. Sending again just emails it again.

Parameters

params.invoice_idString!required

The invoice

params.toString

Emails to send to, comma-separated (default: the customer's). A customer with no email keeps these

params.fx_rateString

Other currencies: the rate to book at, if not the Bank of Canada's

Request
mutation {
  runOp(organizationId: "a1b2c3d4-...", name: "send_invoice", apply: true,
        params: { invoice_id: "9f3c..." }) { success result }
}
Response
{
  "data": {
    "runOp": {
      "success": true,
      "result": {
        "summary": "Sent INV-00024 To [email protected]: CAD 1130.00, Booked To Milda K's A/R.",
        "data": { "number": "INV-00024", "status": "sent", "public_url": "https://mcp.trysolarium.com/i/...", "balance_due": "1130.00" }
      }
    }
  }
}