Evenbead docs

Company

6 operations. All areas

GET/v1/company/profile

The company profile on documents and customer emails: names, address, contact details, tax numbers, logo, brand colour, payment instructions, terms (ADR-0083)

  • Operation getCompanyProfile
  • Scope: read
  • Read
Responses
  • 200 The profile (object)
  • Errors 400, 401, 403, 429, 500 (Error: error.type, message)

POST/v1/company/profile

Change the company profile (only the fields sent; null or "" clears one). People with the admin scope; agents and connected AI apps are refused. Audited (the EIN by its last four digits). dry_run previews the result.

  • Operation updateCompanyProfile
  • Scope: admin
  • Write: sets a value, no Idempotency-Key needed
Request body
  • legal_name string | null The registered legal name (e.g. Brightline Carpentry LLC)
  • dba string | null Doing business as: the trade name customers know; leads on documents when set
  • address_line1 string | null Street address
  • address_line2 string | null Suite, unit or building
  • city string | null City
  • region string | null State, province or region (e.g. TN)
  • postal_code string | null ZIP or postal code
  • country string Two-letter country code (default US; printed only when not US)
  • phone string | null Phone for customers (digits, spaces, + - ( ) / x)
  • email string | null Email for customers (billing questions)
  • website string | null Website (https:// is added when missing)
  • ein string | null Employer Identification Number, 9 digits (12-3456789). Shown in full only to people who administer the company; printed on documents only with show_ein
  • show_ein boolean Print the EIN on documents (default false)
  • sales_tax_id string | null Sales tax permit or registration number, printed on documents when set
  • brand_color string | null Brand colour as hex (#1f5f8b): titles, rules and headings on documents, the band and buttons of customer emails. Must be readable on white (contrast at least 3:1)
  • payment_instructions string | null How to pay (bank transfer details, who checks are payable to, where to mail them): printed under HOW TO PAY on invoices with a balance due. Up to 12 lines
  • footer_text string | null Footer and terms printed at the end of every document (late fees, warranty, thank-you note). Up to 12 lines
  • dry_run boolean
Responses
  • 200 Saved (or, with dry_run, what would be saved) (object)
  • Errors 400, 401, 403, 409, 422, 429, 500 (Error: error.type, message)

GET/v1/company/profile/preview

A sample invoice (or estimate, receipt, credit memo) PDF with the company profile as it is now: check the logo, colour, address, payment instructions and terms before sending real documents. Nothing is posted or sent.

  • Operation previewCompanyDocument
  • Scope: read
  • Read
Parameters
  • kind query, "invoice" | "estimate" | "sales_receipt" | "credit_memo"
  • format query, "pdf" | "base64"
Responses
  • 200 The PDF (or with format=base64, JSON) (PdfFile)
  • Errors 400, 401, 403, 429, 500 (Error: error.type, message)