GET https://:subdomain.cobot.me/api/invoice_settings
Returns the space's invoice settings.
Example
GET https://co-up.cobot.me/api/invoice_settings
Response:
{ "accounting_codes": true, "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" }
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).