Tenant / Business units

businessUnitInvoicingSettingUpdate

Update the invoicing configuration of a business unit.

Arguments

businessUnitIdID!

ID of the business unit.

autoSendTimeString

Local time (HH:mm, in the timezone) of the daily automatic send.

billingRunTimeString

Local time (HH:mm, in the timezone) of the daily billing run.

Invoice cycle; required on the first save of a business unit and cannot be cleared.

MONTHLYWEEKLY
integrationIdID

ID of the invoicing integration; null removes it.

isAutoSendEnabledBoolean

Whether invoices are sent automatically once a day after their period ended; switching it on after today's send time starts tomorrow.

isEnabledBoolean

Whether invoicing is enabled.

isFreeLineFilterEnabledBoolean

Whether lines with a zero amount are left out of the invoices.

isSendToClientEnabledBoolean

Whether invoices are sent to the client after they are created in the invoicing system.

monthdayInt

Day of the month that starts a monthly cycle.

How draft invoices are released.

DRAFT_FIRST
timezoneString

Timezone of the invoice cycles.

weekdayInt

ISO day of the week (1 = Monday) that starts a weekly cycle.

Returns

autoSendTimeString!

Local time (HH:mm, in the timezone) of the daily automatic send.

billingRunTimeString!

Local time (HH:mm, in the timezone) of the daily billing run that bills inventory, fixed fees and minimums of closed periods.

Invoice cycle; null while nothing is saved, in which case every day is its own billing cycle.

MONTHLYWEEKLY
isAutoSendEnabledBoolean!

Whether invoices are sent automatically once a day after their period ended; invoices with charges that need attention are held.

isEnabledBoolean!

Whether invoicing is enabled.

isFreeLineFilterEnabledBoolean!

Whether lines with a zero amount are left out of the invoices.

isSendToClientEnabledBoolean!

Whether invoices are sent to the client after they are created in the invoicing system.

monthdayInt

Day of the month that starts a monthly cycle.

How draft invoices are released.

DRAFT_FIRST
timezoneString!

Timezone of the invoice cycles.

weekdayInt

ISO day of the week (1 = Monday) that starts a weekly cycle.

field[String!]
messageString!