update_invoice
Updates an invoice by invoiceId. Wraps the updateInvoice RPC.
Description
Updates an invoice by invoiceId. Wraps the updateInvoice RPC.
Get invoiceId from list_invoices or read_invoice.
If invoiceId is unknown, pass invoiceClientName (current client name) to resolve it across all your accounts, or add accountId to search one account. More than one match returns the candidates to ask about.
If fieldMasks is omitted, masks are inferred from the provided invoice fields.
After updating, call read_invoice to verify the new values.Input parameters
| Name | Type | Required | Description |
|---|---|---|---|
accountId | string | No | |
fieldMasks | array | No | |
invoice | object | Yes | |
invoiceClientName | string | No | |
invoiceId | string | No |