Get Formats
AI-generatedSummary
Retrieve supported e-invoice formats either for all supported countries or for a specific country.
Inputs
- Scope (required) — Decides whether to get formats for all countries or only for a specific country.
- Country (required) — Specifies the country code to retrieve formats for (required only if Scope is 'Specific Country').
Output shape
a list of countries with their supported formats when Scope is 'All Countries', or the formats supported by the specified country when Scope is 'Specific Country'.
The output JSON object includes either a 'countries' array with total country count for all countries, or a JSON containing 'formats' for the selected country. If the API responds with an error, the node will throw or output an error item based on error handling settings.