Invoice Settings

GET https://:subdomain.cobot.me/api/invoice_settings

Returns the space's invoice settings.

Authentication required:
yes. If user is an admin we return additional fields `generate_invoices_days_early`, `next_default_invoice_date`, `default_invoice_day`, `invoice_text`
Required scope
read_invoice_settings

Example

GET https://co-up.cobot.me/api/invoice_settings

Response:

{
  "accounting_codes": true,
  "cost_centers": false,
  "default_currency": "EUR",
  "multiple_currencies": true,
  "multiple_tax_rates": false,
  "generate_invoices_days_early": 10,
  "default_invoice_day": 1,
  "next_default_invoice_date": "2018/10/01",
  "tax_id_name": "Tax ID",
  "invoice_text": "Thank you"
}

next_default_invoice_date returns the date that a new members's first invoice would go out on by default. This date is based on the default_invoice_day day. You can pass an after_date param to get an invoice date after the specified date (default is today).

back to index