Receive e-invoices

Manage the reception of electronic invoices with the B2Brouter API

To manage the reception of electronic invoices, follow these steps:

  1. On the left menu, select Invoices
  2. From the dropdown, select List of received invoices:
  3. In PATH PARAMS, specify or select the required data.
  4. In the project field, enter the identifier of the project for which you want to manage the invoice.
  5. In format option, select the format in which you want to receive the response.
  6. In the QUERY PARAMS section, configure parameters to filter the data you want to receive in this query. For example:
    • In date_from and date_to specify a time interval.
    • Filter by the invoice's status in options such as received, error, etc.
  7. The code you need to make the call is generated in the CURL window (right side of the screen).
  8. In the RESPONSE window, you will find the response sent to your system.

Just as with issued invoices, you can obtain information in different ways:

Manage the status change of received invoices through the API

To manage the status change of received electronic invoices, follow these steps:

  1. On the left menu, select Invoices.
  2. From the dropdown, select Switch invoice state.
  3. In PATH PARAMS, specify or select the required data.
  4. In the format option, select the format in which you want to receive the response.
  5. In the id option, enter the identifier of the invoice you want to manage.
  6. In the BODY PARAMS section, manage the submission of the change in the status of the received invoice. For example:
    • In the state dropdown, select the desired status change for the invoice (see the list of all states).
    • In the commit dropdown, select how you want to send the notification.
    • In reason you can add a message as the reason for the status change, which will also be sent.