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"
}
)
clientToken = "e362c68e-4e74-48d7-9228-0bc5aa447b42"
}Content copied to clipboard