# The anybill API

# Getting Started

For integrating anybill into a POS software system a few simple steps are required:

  1. Have a look at the legal requirements
    For information about legal requirements click here.

  2. Integrate authentication
    Each POS software provider receives a clientId assigned to him and credentials for every vendor. Have a look at the authentication documentation for more information.

  3. Integrate the Bill endpoint
    There are three options for sending bills digitally:

    anybill Vendor Scan of the QR Code in an app
    anybill Vendor Display of a QR Code on a customer display
    anybill Vendor With an enabled Bank card
    To transfer receipts with the first option via the QR-Code in the app the POST bill/user/{userId} endpoint has to be used. For the other options the POST bill endpoint which then returns the url for displaying as a QR-Code in the customer display or anybill will detect and match the transaction to an anybill enabled bank card.

  4. Create a Screen for showing the receipt with a QR Code on a customer display
    Note the Template for the Customer Display.

  5. Get Categories
    To categorize the bills there is the Category API with which the available categories can be loaded and then added to line items or bills.

  6. Integrate Store Management
    To automatically manage and sync all stores of an vendor the Store API can be used.

# Postman

A Postman collection can be found here. There are also Environments for Staging and Production

To acquire an access_token first set your credentials for the following collection variables:

  • username
  • password
  • client_id

After your credentials are set, send a request with the GetToken request. The acquired access token will automatically be set for all requests in the collection. Choose the environment and you are good to go.