latestOpenAPI 3.0.12026-08-192092911.2 MB

916e669fc527

Invoices

Create a new flag for a invoice

Create a new flag for a invoice (required scope finance:write)

post/v1/finance/invoices/{invoiceId}/flags

Path parameters

invoiceIdinteger required

The invoice id

Headers

Customer-Idinteger required

The customer identifier

Request body

flagIdinteger required

The unique identifier of the flag to apply

ownerstring

User email or ID who owns the flag

commentsstring nullable

Additional context for the flag

Example request

{
  "flagId": 12345,
  "owner": "john.doe@example.com",
  "comments": "Requires special attention"
}

Response

Created

idinteger

Identifier of the newly created record