Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 913 Bytes

publish-invoice-request.md

File metadata and controls

25 lines (16 loc) · 913 Bytes

Publish Invoice Request

Describes a PublishInvoice request.

Structure

PublishInvoiceRequest

Fields

Name Type Tags Description
version number Required The version of the invoice to publish.
This must match the current version of the invoice; otherwise, the request is rejected.
idempotencyKey string | undefined Optional A unique string that identifies the PublishInvoice request. If you do not
provide idempotency_key (or provide an empty string as the value), the endpoint
treats each request as independent.

For more information, see Idempotency.
Constraints: Maximum Length: 128

Example (as JSON)

{
  "idempotency_key": "32da42d0-1997-41b0-826b-f09464fc2c2e",
  "version": 1
}