EasyBill icon

EasyBill

Kommuniziert mit der EasyBill API für Kunden

Discount → Create Position Discount

AI-generated

Overview

This node operation creates a position discount for a specific customer and position in the EasyBill system. It allows users to specify the discount value and type (amount, quantity, percent, or fixed price) to apply to a given position for a customer. This is useful for automating discount management in billing workflows, such as applying special pricing or promotional discounts to customer orders or invoices.

Use Case Examples

  1. Create a 10% discount on a specific product position for a customer.
  2. Apply a fixed price discount to a service position for a VIP customer.

Properties

Name Meaning
Customer ID The identifier of the customer for whom the discount is being created.
Discount Value The discount value to apply to the position.
Discount Type The type of discount to apply, such as amount, quantity, percent, or fixed price.
Position ID The identifier of the position to which the discount applies.
Options Additional options such as batching to control request throttling.

Output

JSON

  • position_id - The identifier of the position for which the discount was created.
  • customer_id - The identifier of the customer for whom the discount was created.
  • discount - The discount value applied to the position.
  • discount_type - The type of discount applied to the position.

Dependencies

  • EasyBill API with an API key credential

Troubleshooting

  • Ensure that the Customer ID and Position ID are valid and exist in the EasyBill system to avoid errors.
  • Verify that the discount value and type are correctly set according to the API requirements.
  • Check API authentication credentials if requests fail due to authorization errors.

Discussion