Actions68
- Account Actions
- Bank Account Actions
- Code List Actions
- Contact Actions
- Event Actions
- Invoice Actions
- Ledger Actions
- Order Actions
- Tax Report Actions
- Tax Report Setting Actions
- Transport Actions
- Web Hook Actions
Code List → Get Invoice States
AI-generatedSummary
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_statesendpoint (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.