Customers
Update Customer Invoicing Settings
PATCH
Updates the invoicing settings for a customer.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringapplication/json- body
autoGenerateUtilityInvoicesDayOfMonth*|Day of the month (1-31) on which utility invoices will be automatically generated and sent. If 31 is chosen and the month is shorter, invoices are sent on the last day.
autoGenerateUtilityInvoicesMinimumAmount?|Minimum outstanding utility amount required before an invoice is automatically generated. Leave empty to invoice any outstanding amount.
utilityBillMandateId?string|nullpeppolRecipientId?stringexcludeFromAutomatedReminders?booleanWhen true, automations do not send overdue-invoice reminders to this customer. Manual reminders still work.
excludeFromAutomatedRemindersUntil?|Last calendar day this customer stays out of automated reminders, in the organization timezone. Empty means the exclusion has no end date.
OK
application/json- response
curl -X PATCH 'https://api.tillor.eu/orgs/string/customers/string/invoices' \ -H 'Content-Type: application/json' \ -d '{ "autoGenerateUtilityInvoicesDayOfMonth": 1}'null