mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node interacts with the mittwald mStudio API to retrieve detailed information about a specific invoice related to a contract. It is useful in scenarios where you need to fetch and process invoice details programmatically within an n8n workflow, such as automating billing processes, generating reports, or integrating invoice data into other systems.

For example, you might use this node to automatically pull invoice details when a new contract is created or updated, enabling seamless financial tracking and record-keeping.

Properties

Name Meaning
Invoice Id The unique identifier of the invoice for which detailed information is requested. This is a required string input.

Output

The node outputs JSON data containing detailed information about the specified invoice. The exact structure depends on the mittwald mStudio API response but typically includes fields such as invoice number, date, amount, status, and line items.

If the API supports binary data (e.g., PDF versions of invoices), the node would also output this as binary data attached to the item, allowing further processing or saving within the workflow.

Dependencies

  • Requires access to the mittwald mStudio API.
  • Requires an API authentication token configured in n8n credentials to authorize requests.
  • The node uses the base URL https://api.mittwald.de for API calls.
  • The node expects JSON responses and sends requests with appropriate headers (Accept: application/json, Content-Type: application/json).

Troubleshooting

  • Missing or invalid Invoice Id: Ensure that the "Invoice Id" property is provided and correctly formatted; otherwise, the API call will fail.
  • Authentication errors: Verify that the API key or token credential is correctly set up and has sufficient permissions.
  • Network issues or API downtime: Check connectivity to https://api.mittwald.de and confirm the API service is operational.
  • Unexpected API responses: If the output JSON structure changes, update downstream nodes accordingly.

Links and References

Discussion