Documents


document.get

Without FOLDER_ID, the top-level folders are returned.

DATA
TagsDescription
FOLDER_ID Folder ID

RESPONSE
TagsDescription
FOLDERS List of folders
DOCUMENTS List of documents

document.create

Sending a document to the document inbox.

Attaching a file

With a file, a POST request of type multipart/form-data is required, consisting of two parts:

  • httpbody – XML or JSON data block
  • document – the file

Example

curl -u {e-mail address}:{API-Key} \
  -F 'httpbody={XML or JSON data}' \
  -F 'document=@{filename}' \
  https://my.fastbill.com/api/1.0/api.php

Allowed file types: pdf, png, jpg, gif, doc, docx, txt, htm, html · max. 8 MB


DATA
TagsDescription
TYPE

Document type:

contractContract
letterLetter
company_documentsBusiness document
account_statementBank statement
documentationDocumentation
TITLE Title
DATE Date (Format: YYYY-MM-DD)
NOTE Note

RESPONSE
TagsDescription
STATUS Result of the action
DOCUMENT_ID Document ID
support@fastbill.com
© 2021 FastBill GmbH