Receive e-invoices
Manage the reception of electronic invoices with the B2Brouter API
To manage the reception of electronic invoices, follow these steps:
- On the left menu, select Invoices
- From the dropdown, select List of received invoices:
- In PATH PARAMS, specify or select the required data.
- In the project field, enter the identifier of the project for which you want to manage the invoice.
- In format option, select the format in which you want to receive the response.
- 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.
- The code you need to make the call is generated in the CURL window (right side of the screen).
- 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:
- Retrieve information for a list of invoices.
- Retrieve detailed information for a single invoice.
- Obtain the electronic invoice in different formats.
Manage the status change of received invoices through the API
To manage the status change of received electronic invoices, follow these steps:
- On the left menu, select Invoices.
- From the dropdown, select Switch invoice state.
- In PATH PARAMS, specify or select the required data.
- In the format option, select the format in which you want to receive the response.
- In the id option, enter the identifier of the invoice you want to manage.
- 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.
Updated about 12 hours ago