Create a draft

Prepares documents (credit notes, receipts, tax invoices, invoice-receipts) or customers against the provider and freezes them as a draft for the user to approve in Financy (proposal.approvalUrl). Nothing is issued until the user approves it there; an API key can never approve. A draft expires 24 hours after creation unless approved. All or nothing: when any item does not resolve or prepare, nothing is stored.

Drafts are available for Invoice4U, Morning, SUMIT and iCount. Priority and Isracard Business are read only: a draft answers 503 WRITES_DISABLED.

Send an Idempotency-Key to retry safely: the same key with the same body returns the first answer (refusals included) with Idempotent-Replayed: true; the same key with another body is 409 IDEMPOTENCY_KEY_REUSED.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^intg_[0-9A-HJKMNP-TV-Z]{26}$

The integration's id (intg_ and 26 characters), from GET /integrations/.

Body Params

Credit notes against existing documents.

string
enum
required
Allowed:
string
length between 1 and 120

Your own reference (1–120 characters), filterable in GET /integrations/proposals.

items
array of objects
required
length between 1 and 50

1 to 50 items; more than 50 answers 422 PROPOSAL_TOO_LARGE.

items*
Headers
string
length between 1 and 255

Any unique string up to 255 characters, scoped to your API client and user.

Responses

401

Missing or invalid access token (answered by the API gateway, without the error envelope).

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