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 "Prodejky" resource under the "Create Entity" operation, the node allows creating new sales receipt records in Pohoda by sending properly formatted XML requests.
Common scenarios where this node is beneficial include automating the creation of sales receipts from external systems, synchronizing sales data into Pohoda, or batch processing sales documents. For example, a business could use this node to automatically create sales receipts in Pohoda whenever a sale is completed in an e-commerce platform.
Properties
Name | Meaning |
---|---|
XML Output | If enabled, the node returns the raw XML response from Pohoda instead of parsed JSON. |
UTF8 Conversion | If enabled, converts the response encoding from Windows-1250 to UTF-8 for proper display. |
Additional relevant properties for the "Create Entity" operation on "Prodejky" are inherited from the generic entity creation parameters (not fully detailed here), but typically include fields describing the sales receipt details.
Output
The node outputs data in the json
field representing the response from Pohoda after the create request:
- If XML Output is enabled, the output contains the raw XML string returned by Pohoda.
- Otherwise, the XML response is parsed into a JSON object reflecting the structure of the Pohoda response.
- In case of print operations, the node can output binary PDF data representing generated reports.
- The output includes status information indicating success or failure of the operation.
Dependencies
- Requires an API authentication credential with Pohoda (username, password, base URL).
- Uses HTTP POST requests to Pohoda's XML API endpoint.
- Depends on libraries for XML building and parsing, and character encoding conversion.
- Requires n8n environment configured with the appropriate Pohoda API credentials.
Troubleshooting
- Authentication errors: Ensure the provided API credentials are correct and have sufficient permissions.
- Encoding issues: If response characters appear garbled, verify that UTF8 Conversion is enabled to convert from Windows-1250 encoding.
- Unsupported resource or operation: The node throws errors if attempting to create entities for unsupported resources other than address book entries.
- API errors: Pohoda responses with error states will cause the node to throw descriptive errors containing the message from Pohoda.
- Network issues: Verify network connectivity to the Pohoda API endpoint.
Links and References
- Stormware Pohoda API Documentation (official developer resources)
- n8n Documentation for general node usage and credential setup