Documents


document.get


FILTER
TagsDescription
FOLDER_ID Folder ID

RESPONSE
TagsDescription
FOLDERS List of folders
DOCUMENTS List of documents

document.create

Sending a document to document inbox.

ATTENTION! - This action requires a POST-request of the type "multipart/form-data", if no data attachment is to be delivered. In this case the request body must contain the following parts:
  • document -> file, that is to be transfered
  • httpbody< -> XML- or JSON data block

Structure of POST-request in multipart format:

curl -v -X POST \
-u {e-mail address}:{API-Key} \
-H 'Content-Type: multipart/form-data, boundary=AaB03x' \
-d '{xml body}' \ https://my.fastbill.com/api/1.0/api.php

POST /api/1.0/api.php HTTP/1.0
Host: my.fastbill.com
Content-type: multipart/form-data, boundary=AaB03x
Content-Length: {size of content}

--AaB03x content-disposition: form-data; name="httpbody"
{XML- oder JSON-Daten}
--AaB03x
content-disposition: form-data; name="document"; filename{filename}"
Content-Type: {MIME Typ}
Content-Transfer-Encoding: binary
{file content}
--AaB03x--

DATA
TagsDescription
TYPE Document type
TITLE Title
DATE Date
NOTE Note

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