Specify that ApiException is a top-level type
Specify that an invoice can be a top-level type during invoice creation via the API