Upload A Document
Add a receipt, bill or invoice from a file: PDF, JPEG, PNG, HEIC or WebP, up to 15 MB. It's read like a receipt emailed to Solarium and lands in review as a draft. Previews by default. On the free plan it counts toward the year's receipts, and past them the file is kept and read when the business upgrades. A bank or card statement is sent with kind statement. It's kept as a PDF without being read as a receipt, and it doesn't count toward the free plan.
Parameters
organizationIdUUID!requiredOrganization ID
nameString!required"upload_document"
params.filenameStringThe file's name, like receipt.pdf. Needed unless you pass gmail_message_id
params.content_base64StringThe file's bytes, base64 encoded (or pass url)
params.gmail_message_idStringA message in the business's connected Gmail, instead of a file. Its attachments are added, or with none the email itself as a PDF. Refused when Gmail isn't connected or the message isn't there
params.urlStringA public https link to the file. Links to private networks are refused
params.noteStringAnything to remember about it, kept on the receipt
params.kindStringreceipt (the default) or statement
params.account_idUUIDFor a statement, the bank or card it's for
applyBooleantrue to add it