Update invoice settings

Changed on

Update the sender details, defaults and branding. Only the fields you send change, and null clears a field. See Invoice settings.

patch/v2/invoices/settings

Request

  • Base URL
    https://api.slash.com
  • URL
    https://api.slash.com/v2/invoices/settings
  • Auth
    API key in header X-API-Key

Request body

companyNamestring
emailstring email
defaultMemostring nullable
defaultPaymentTermsDaysinteger nullable
logoDocumentIdstring nullable

A document uploaded with purpose invoice_logo, with the st_ prefix. null removes the logo.

Example request

{
  "branding": {
    "backgroundColor": "#1F2937",
    "titleColor": "#FFFFFF"
  }
}

Response

The updated invoice settings.

companyNamestring required

Who invoices are from.

emailstring required

The reply-to address on invoice emails.

defaultMemostring

The memo the dashboard fills in on new invoices.

defaultPaymentTermsDaysinteger

How many days after issue the dashboard makes new invoices due.

logoDocumentIdstring

The logo, a document uploaded with purpose invoice_logo.

nextInvoiceNumberstring required

The number the next invoice gets when it doesn't name one.

Example response

{
  "branding": {
    "backgroundColor": "#1F2937",
    "titleColor": "#FFFFFF"
  },
  "nextInvoiceNumber": "INV-1043"
}

Changes