Get document creation rules for a given document kind

Returns field definitions that the UI must collect when creating a document of the given kind.
Uses the same FieldDefinition schema as action.fields on document actions.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
enum
required

Kind of fiscal document

string
enum

Kind of the source the document will be created from. When given together with sourceId and an eligible failed document holds a number for that source, the response includes the reservedNumberDecision field.

Allowed:
int64
≥ 1

Id of the source the document will be created from. See sourceKind.

string
enum

The chosen Bill-to recipient. Supply together with recipientId. The reserved-number field is offered only when the document would be fiscalized for this recipient, so without it the field is never offered (a manually entered recipient has no stored record to point at).

Allowed:
int64
≥ 1

The chosen Bill-to recipient. Supply together with recipientType.

boolean
Defaults to false

Whether the document will be a simplified invoice, which can change whether it is fiscalized.

Headers
int64
required
≥ 1

Property id

string

Desired language of exported PDF

Response

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json