Customers

Update Customer Invoicing Settings

PATCH
/orgs/{organizationId}/customers/{id}/invoices

Updates the invoicing settings for a customer.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

id*string

Request Body

application/json
  1. 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|null
peppolRecipientId?string
excludeFromAutomatedReminders?boolean

When 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.

Response Body

OK

application/json
  1. response
curl -X PATCH 'https://api.tillor.eu/orgs/string/customers/string/invoices' \  -H 'Content-Type: application/json' \  -d '{  "autoGenerateUtilityInvoicesDayOfMonth": 1}'
null