Customers

Get Customer Invoicing Settings

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

Retrieves 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

Response Body

OK

application/json
  1. response
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.

curl -X GET 'https://api.tillor.eu/orgs/string/customers/string/invoices'
{  "autoGenerateUtilityInvoicesDayOfMonth": 1,  "autoGenerateUtilityInvoicesMinimumAmount": 0,  "utilityBillMandateId": "string",  "peppolRecipientId": "string",  "excludeFromAutomatedReminders": true,  "excludeFromAutomatedRemindersUntil": "2019-08-24"}