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
40001400csr invalid
40002400invalid document state
40003400already linked to account
40004400owner can not be removed
40005400team member already exists
40006400invalid login parameters
40007400invalid code
40100401unauthorized
40101401login failed
40102401no access to tenant
40103401access not granted
40104401csr rejected
40105401no access to account
40106401challenge started
40300403forbidden
40301403signature invalid
40302403already signed
40303403already rejected
40304403account creation not allowed
40305403invalid scope
40400404not found
40401404receiver not found
40402404tenant not found
40403404account not found
40404404certificate not found
40405404document not found
40406404request not found
40407404cost center not found
40408404postal address not found
40499404feature not enabled
42200422unprocessable entity
40901409email already in use
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