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 Document Types
AI-generatedSummary
Retrieve a list of available document types from the B2Brouter API for the selected environment (Test or Live).
Inputs
- Environment (required) — Select the B2Brouter API environment to target, either Test (staging) or Live (production).
Output shape
a list of document type objects
The operation returns an array of document types, each containing at least 'name' and 'code' properties as defined by the B2Brouter API response data under 'document_types'.
Examples
Example 1: Get all document types in the test environment
Set Environment to 'Test (Staging)', Resource to 'Code List', and Operation to 'Get Document Types'. No further parameters are required.