Fatture in Cloud icon

Fatture in Cloud

Interact with Fatture in Cloud API

Overview

The node integrates with the "Fatture in Cloud" API to update product information within a specified company. It allows users to modify details of an existing product such as its name, code, pricing, description, category, stock status, and VAT configuration.

This node is beneficial in scenarios where businesses need to automate updates to their product catalog in Fatture in Cloud, for example:

  • Synchronizing product data from an external inventory system.
  • Updating pricing or stock availability based on sales or supply changes.
  • Adjusting VAT settings for products due to tax regulation changes.

Practical example: A retailer uses this node in an automation workflow to update the net price and stock status of products daily based on supplier data, ensuring accurate invoicing and inventory management.

Properties

Name Meaning
Company ID The unique identifier of the company under which the product exists and will be updated.
Product ID The unique identifier of the product to update.
Product Name The new or updated name of the product.
Product Code The code associated with the product (e.g., SKU or internal reference).
Net Price The net selling price of the product (excluding VAT).
Net Cost The net cost price of the product (excluding VAT).
Measure The unit of measure for the product (e.g., pieces, kilograms).
Description A textual description providing additional details about the product.
Category The category or classification to which the product belongs.
In Stock Boolean indicating whether the product is currently in stock (true) or not (false).
Default VAT Configuration object for the product's default VAT, including:
- Is Disabled: Whether VAT is disabled for this product.
- VAT Description: Textual description of the VAT type.
- VAT ID: Identifier for the VAT type.
- VAT Notes: Additional notes related to VAT.
- VAT Value: Percentage value of the VAT applied to the product.

Output

The node outputs JSON data representing the updated product information as returned by the Fatture in Cloud API. This typically includes confirmation of the update and the current state of the product fields after modification.

No binary data output is produced by this node.

Dependencies

  • Requires an active connection to the Fatture in Cloud API via an OAuth2-based API key credential configured in n8n.
  • The node depends on the ProductsModule internally to perform the update operation.
  • Proper permissions and valid company and product IDs are necessary to successfully update product data.

Troubleshooting

  • Common Issues:

    • Invalid or missing Company ID or Product ID can cause the update to fail.
    • Insufficient API permissions or expired authentication tokens may result in authorization errors.
    • Providing invalid data types or values outside expected ranges (e.g., negative prices) might cause validation errors.
  • Error Messages:

    • "Unknown resource": Indicates the selected resource is not recognized; ensure "Product" is chosen.
    • "Fatture in Cloud API Error: ...": General API error message that includes details such as HTTP status and error description. Check the provided IDs and data validity.
    • Validation errors returned from the API often include detailed messages about which fields failed and why; review these to correct input data.
  • Resolution Tips:

    • Verify all required fields are correctly set and valid.
    • Ensure the API credentials are up to date and have sufficient access rights.
    • Use the node’s "Continue On Fail" option to handle errors gracefully during batch operations.

Links and References

Discussion