Skip to main content
Version: v1.0

Brifle

Introduction

This documentation is intended for developers who want to interact directly with the Brifle system.

Brifle follows national German laws. In case of international deliveries you are responsible for compliance with the law.

Terminology

Account

An account is associated with a legal person or company. There are two main types of account: personal and business.

User

A user is required to authorise and log into the system. Each user has at least one account. Corporate accounts can have multiple users.

Tenant

A tenant is defined as a sender. Each personal account is associated with one private tenant, while each business account is associated with at least one public tenant. It is possible for an account to be associated with multiple tenants, which is useful for companies that have different departments, each of which may send different types of documents, such as HR and Sales.

Limitations

The maximum request size is currently 3MB.

Conventions

Dates

All dates are returned in UTC time zone in iso8601 format.

iso8601 format: yyyy-mm-ddThh:mm:ss.sZ.

Error Codes

CodeStatusMessage
40000400bad request
40100401unauthorized
40101401login Failed
40102401No access to tenant
40103401access not granted
40105401Not Access to Account
40300403forbidden
40400404not found
40401404receiver not found
40402404tenant not found
40403404account not found
40405404document not found
42200422unprocessable entity
42201422content type not supported
42202422document has wrong encoding
42203422invalid iban
50000500internal error

Authorization API

In order to operate with the system you need to authorize with the system. For authentication we use oauth2. The account owner needs to setup an api key and generate an api secret. As ventor you can add the x-vendor header to mark that the process was initiated by you.

Authentication

Security Scheme Type:

http

HTTP Authorization Scheme:

bearer