v1

latestOpenAPI 3.1.12026-08-0684304578.8 KB
Accounting (Documents)

Create document

Creates an invoice, receipt, donation receipt, price quotation or any other income accounting document.

post/accounting/documents/create/

Headers

{"stackTrail":"paths:/accounting/documents/create/:post:parameters:0:schema","oasType":"schema","type":"unknown"}

Sets the content response language. Defaults to Hebrew (he).

Request body

VATIncludedboolean nullable

Is VAT included in the prices? Leave empty for false. Relevant for items only.

VATPerItemboolean nullable

Is VAT specified in each item Leave empty for false. Should only be used when creating document with multiple items, each with different VAT rate. When set to true, VATRate needs to be null, VATIncluded needs to be null or false.

VATRatenumber double nullable

Document VAT Rate Leave empty for company default. Relevant for items only.

OriginalDocumentIDinteger nullable

Original document identifier. This allows keeping a relationship between an original and a created document (such as credits for debit invoices)

Response

OK

Status'Success (0)' | 'BusinessError (1)' | 'TechnicalError (2)'
UserErrorMessagestring nullable

Error message, in a user readable format

TechnicalErrorDetailsstring nullable

Technical error details, let us know if you received this.