CreateInvoice

Creates a new invoice for an order.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The invoice details including lines, amounts, and billing information.

string
^-?(?:0|[1-9]\d*)$

Gets or sets the invoice id.

string
^-?(?:0|[1-9]\d*)$

Gets or sets the parent id.

string | null

Gets or sets the invoice number.

string
^-?(?:0|[1-9]\d*)(?:\.\d+)?$

Gets or sets the amount.

date-time

Gets or sets the invoice date.

string
enum

Allowed values: Individual (0), Corporate (1).

Allowed:
string
enum

Allowed values: None (0), Order (10), Delivery (20), Return (30).

Allowed:
string
^-?(?:0|[1-9]\d*)$

Gets or sets the order id.

string
^-?(?:0|[1-9]\d*)$

Gets or sets the delivery id.

string
^-?(?:0|[1-9]\d*)$

Gets or sets the order process id.

string
enum

Allowed values: None (0), Merchant (10), Network (20), Platform (30), Buyer (40), User (50).

Allowed:
string
enum

Allowed values: None (0), Merchant (10), Network (20), Platform (30), Buyer (40), User (50).

Allowed:
string
enum

Allowed values: Pending (0), Approved (10), Valid (20), Rejected (-99).

Allowed:
string | null

Gets or sets the currency.

string | null

Gets or sets the document id.

string
^-?(?:0|[1-9]\d*)$

Gets or sets the issuer id.

string | null

Gets or sets the issuer billing info data.

string
^-?(?:0|[1-9]\d*)$

Gets or sets the recipient id.

string | null

Gets or sets the recipient billing info data.

lines
array of objects | null

Gets or sets the list of invoice lines.

lines
properties
array of objects | null

Gets or sets the list of invoice properties.

properties
logs
array of objects | null

Gets or sets the list of invoice logs.

logs
string | null

Gets or sets the environment identifier (e.g., Production, Staging).

string | null

Gets or sets the IP address of the calling application.

string | null

Gets or sets the user token for authentication context.

string | null

Gets or sets the session identifier of the current user session.

string
^-?(?:0|[1-9]\d*)$

Gets or sets the numeric user identifier.

string | null

Gets or sets the IP address of the requesting user.

string | null

Gets or sets the email address of the user performing the operation.

string | null

Gets or sets the thread identifier for request tracing and correlation.

string
enum

Allowed values: Draft (0), Active (1), Unknown (-999), Deleted (-99), Blocked (-12), Freezed (-11), Test (-9), Passive (-1).

Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Response
200

The newly created invoice.

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!