createInvoiceUnit
This creates a new invoice unit with the provided definition.
Samples
// CreateInvoiceUnit
val resp = invoicingClient.createInvoiceUnit {
name = "Example Invoice Unit"
invoiceReceiver = "111111111111"
description = "Example Invoice Unit Description"
taxInheritanceDisabled = false
rule = InvoiceUnitRule {
linkedAccounts = listOf<String>(
"222222222222"
)
}
resourceTags = listOf<ResourceTag>(
ResourceTag {
key = "TagKey"
value = "TagValue"
}
)
}Content copied to clipboard