SolariumSolariumDocs
Browse The Docs

Docs/API Reference

Contacts

The customers and vendors on your transactions.

Contacts run through ops: previewOp shows what would happen and keeps nothing; runOp with apply: true does it. Your AI app calls the same ops by name over MCP.

A/R and A/P are kept per contact, so naming the customer on an entry is what puts it on their balance. create_contact adds one. Its id then goes on book_invoice, record_customer_payment or create_invoice, and recategorize_event attaches it to an entry that's already booked.

On invoices: a customer's invoices print their legal_name (blank: their name), an Attn: line for contact_name, their billing_address and every email they're sent to. update_contact changes any of these.

Duplicates: merge_contacts moves everything on one contact (invoices, entries, journal lines, receipts and the bank lines payments remember) onto the one you keep, then deletes the duplicate. delete_contact removes a contact nothing uses, and is refused while anything still points at it. QuickBooks isn't changed by either.

Endpoints