v1

latestOpenAPI 3.1.02026-07-241210356.3 KB
Invoice+ - Misc

Get movements report

This endpoint allows you to request document movements report according to various formats, as specified above. Please, note, however, that this action does not return the requested resource. The export operation is asynchronous, and so upon successful response from this endpoint, and upon completion of the requested operation, expect a callback request to the specified url with the requested resource

post/delayed_jobs/create_new_job/MovementsJournal

Headers

api-keystring required

API Key

secret-keystring required

Secret Key

Request body

fromDatestring required

Date search. Ealiest date (YYYY-MM-DD)

toDatestring required

Date search. Latest date (YYYY-MM-DD)

appName'hashavshevet' | 'csv' | 'sap' | 'rivhit' | 'priority' | 'pdf'
exportUsersboolean

Whether to export customer records (app dependent)

typesstring[]

Array of document types to export. Empty value will export all relevant document types

Example request

{
  "exportUsers": true,
  "callback": {
    "url": "https://www.example.com",
    "method": "POST"
  }
}

Response

200

codestring
type_codeinteger

Example response

[
  {
    "code": "inv_proforma",
    "type_code": 300
  }
]