Actions27
- Public Administration Actions
- Public Actions
- Public Transactions Actions
- Get Indexes Account
- Post Indexes Account
- Get Indexes Categories
- Post Indexes Categories
- Get Indexes Customer
- Post Indexes Customer
- Get Invoices
- Patch Invoices
- Get Orders
- Post Orders
- Get Payments
- Patch Payments
- Get Indexes Status
- Post Indexes Status
- Get Indexes Tax Rate
- Post Indexes Tax Rate
- Get Indexes Vendor
- Post Indexes Vendor
Overview
This node allows updating (patching) invoices within the "Public Transactions" resource of an external API. It is useful when you need to modify specific fields or lines of an existing invoice without replacing the entire invoice data. For example, you might want to update line items or adjust certain invoice details dynamically based on workflow conditions.
Properties
| Name | Meaning |
|---|---|
| X Fields | An optional string mask specifying which fields to include in the response or operation. |
| Body | A JSON object representing the patch data for the invoice, typically including an array of lines with updated information. |
Output
The node outputs JSON data reflecting the result of the patch operation on the invoice. This typically includes the updated invoice details as returned by the API after applying the patch. The exact structure depends on the API's response schema but generally contains the modified invoice fields and line items.
No binary data output is indicated.
Dependencies
- Requires an API key or authentication token credential to access the external Dokka API.
- The base URL for the API must be configured in the node credentials.
- The node uses the Dokka API endpoint related to public transactions and invoices.
Troubleshooting
- Invalid JSON in Body: If the JSON provided in the "Body" property is malformed, the node will fail. Ensure valid JSON syntax.
- Authentication Errors: Missing or incorrect API credentials will cause authorization failures. Verify that the API key/token is correctly set up.
- Field Mask Issues: Using an invalid or unsupported value in "X Fields" may lead to incomplete or failed responses. Confirm the field mask values are supported by the API.
- API Endpoint Errors: If the invoice ID or other required identifiers are missing or incorrect in the body, the patch operation will fail. Double-check the payload content.
Links and References
- Dokka API Documentation (for Public Transactions and Invoices): [Insert actual URL if known]
- JSON Patch Standard: https://tools.ietf.org/html/rfc6902
