Actions76
- Faktury Actions
- Příjemky Actions
- Prodejky Actions
- Objednávky Actions
- Výdejky Actions
- Pokladní doklady Actions
- Nabídky Actions
- Výroba Actions
- Interní doklady Actions
- Poptávky Actions
- Převod Actions
- Banka Actions
- Zakázky Actions
- Pohyby Actions
- Účetní deník (PÚ) Actions
- Adresy Actions
- Zásoby Actions
- Prodejní ceny Actions
Overview
This node integrates with the Stormware Pohoda accounting system, enabling users to perform various operations such as exporting data, creating entities, retrieving company information, and printing reports. Specifically, for the "Prodejní ceny" (Selling Prices) resource with the "Create Entity" operation, the node allows creating new entries in the Pohoda system by sending structured XML requests.
Common scenarios where this node is beneficial include automating data synchronization between Pohoda and other systems, batch creation of records like selling prices or address book entries, and generating reports or exports directly from Pohoda within an n8n workflow.
For example, a user can automate the creation of new selling price entries based on external pricing data or generate export files of invoices filtered by date ranges.
Properties
Name | Meaning |
---|---|
XML Output | If enabled (true ), the node returns raw XML response data instead of parsed JSON. |
UTF8 Conversion | If enabled (true ), converts the response encoding from Windows-1250 to UTF-8. |
These properties control how the node processes and outputs the response from the Pohoda API when creating entities or performing other operations.
Output
The node outputs data in the following ways depending on the operation and settings:
- JSON Output: Parsed JSON object representing the response from Pohoda, typically containing the created entity details or requested data.
- XML Output: When enabled, the raw XML response string is returned under the
json.data
field. - Binary Data: For print operations, the node can output PDF files as binary data with appropriate metadata (
mimeType: application/pdf
, file extension.pdf
, and filename).
The output is paired with the input item index to maintain traceability in workflows.
Dependencies
- Requires an API authentication credential with access to the Pohoda system.
- Uses HTTP POST requests with XML payloads to communicate with Pohoda's API endpoint.
- Handles character encoding conversion from Windows-1250 to UTF-8 using an encoding library.
- Utilizes XML building and parsing libraries to construct requests and parse responses.
Troubleshooting
- Authentication Errors: Ensure that the provided API credentials are correct and have sufficient permissions.
- Encoding Issues: If response data appears garbled, verify the UTF8 Conversion property; disabling it may help if your environment expects Windows-1250 encoding.
- Unsupported Resource or Operation: The node throws errors if a resource or operation is not implemented. Confirm that "Prodejní ceny" with "Create Entity" is supported.
- API Response Errors: If Pohoda returns an error state, the node surfaces the error message. Check the message for details and adjust request parameters accordingly.
- Network Issues: Verify network connectivity to the Pohoda API base URL.
Links and References
- Stormware Pohoda Official Website
- Pohoda API Documentation (if available) (Note: link is illustrative)