entry for uploading documents

This API uploads document to the DOKKA cloud
if the upload document was successful then 200 < status code < 300.
if not, then an error will be raised.
the pre tests are in the fox request middleware which checks if all arguments are valid.
:return: response text, status code, headers

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

DOKKA company ID

string

Document creator

string

username1, username2, username3...

string

extra params (PO ID, dates, line items, vendor ID, e.t.c)

string
enum
Defaults to invoice

po/delivery_note/warehouse_entry/invoice/10/12/20

string

external document ID (PO ID, delivery note ID, warehouse entry ID, invoice number)

tags
array of strings

Tag or list of tags

tags
integer
Defaults to 1

Ignore duplicate files

integer
Defaults to 0

Is classified document

string
enum
Defaults to default
Allowed:
string

Sticky Note text

string
enum

Category ID

Allowed:
string

Transaction id needed to do back sync after uploading

Body Params
file
required

file

Headers
string
required

Dokka security token

Responses
200

OK

201

Duplicated document

400

General error

401

Not valid user

402

Document type not supported

403

Invalid parameters

405

Client not supported

406

Wrong Date format

407

Documents limit reached

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