B2Brouter

Automate E-Invoicing with B2Brouter API

Code List → Get Invoice States

AI-generated

Summary

Fetch the list of invoice states available in B2Brouter, which represent different statuses that an invoice can have.

Inputs

  • Environment — Select the B2Brouter API environment to use (Test or Live). Defaults to Test (Staging).

Output shape

a list of invoice state objects, each containing a name and a state code

The invoice states are fetched from the /invoice_states endpoint (without the /code_lists/ prefix). The operation returns an array of invoice state items. No pagination or additional filtering options are available.

Examples

Example 1: Retrieve all invoice states in test environment

Set the resource to 'Code List', operation to 'Get Invoice States', and environment to 'Test (Staging)'. The output will be a list of invoice state entries with their names and state codes.

Links

Discussion