Creates a new accounting document with scans


post https://api.trivi.com/v2/accountingdocuments/scans

Request is list of Accounting Documents with scans:

[
  {
    "files":[
      "635219",
      "635220"
    ],
    "project":"",
    "cashRegisterId":"",
    "customerInstructions":"",
    "branch":"",
    "categoryId":""
  }
]

Please create one Accounting Document in one call.

Array of AccountingDocumentFromScanResponse
accountingDocumentId
integer   optional
Format int64
files
Array of Object   optional

Array of file IDs

branch
string   optional
project
string   optional
paymentTypes
integer   optional
cashRegisterId
integer   optional
Format int64
note
string   optional
categoryId
integer   optional

Enum AccountingDocumentCategory

Format int64