Uploading files

Implementation of the latest Diamant webservice to access and modify data in your accounting software. Here is an explanation of uploading files.

UploadDocument

Uploads a document for a transaction to the audit-proof Diamant repository. The transaction needs the same identifier as the parameter for this call.

Parameters

  • company (required): the value of the company in your Diamant accounting software.

  • identifier (required): the same unique value that was used to post a transaction (there it is called barcode).

  • attachmentId (required): Attachment id from GEBRA-Suite that should be uploaded.

Example

let result = app.businessFunction({
    functionName: "Diamant",
    methodName: "UploadDocument",
    company: "999",
    identifier: "DtHRRpTdzpkmd8Bc17H82vA",
    attachmentId: 4711
})

Last updated

Was this helpful?