EasyBill icon

EasyBill

Kommuniziert mit der EasyBill API für Kunden

Document Payment → Create Document Payment

AI-generated

Overview

This node operation creates a new document payment in the EasyBill system. It is useful for automating the recording of payments against documents such as invoices or bills. For example, a user can specify the payment amount, the document ID to which the payment applies, and whether the payment has already been made. Additional optional fields allow specifying details like if the payment is an overdue fee, payment provider, reference, payment date, and payment type.

Use Case Examples

  1. Creating a payment record for an invoice with a specified amount and marking it as paid.
  2. Adding a payment with additional notes and specifying the payment provider for tracking purposes.

Properties

Name Meaning
Amount The payment amount (integer). This is a required field specifying how much was paid.
Document ID The identifier of the document (integer) to which the payment applies. This is required to link the payment to the correct document.
Paid Boolean flag indicating whether the payment has already been made.
Additional Fields Optional additional information about the payment such as overdue fee status, notice, payment date, provider, reference, and type.

Output

JSON

  • amount - The amount of the payment created.
  • document_id - The ID of the document the payment is linked to.
  • paid - Indicates if the payment is marked as paid.
  • isOverdueFee - Indicates if the payment is an overdue fee.
  • notice - Additional notice or information about the payment.
  • paymentAt - The date and time when the payment was made.
  • provider - The payment provider used.
  • reference - Reference information for the payment.
  • type - The type/category of the payment.

Dependencies

  • EasyBill API with an API key credential for authentication

Troubleshooting

  • Ensure the 'Amount' and 'Document ID' fields are provided and valid integers, as they are required.
  • If the API returns authentication errors, verify that the EasyBill API credentials are correctly configured and active.
  • Check that optional fields like 'paymentAt' are formatted correctly as dateTime if provided.
  • If the payment creation fails, review the API response for specific error messages related to invalid fields or permissions.

Links

  • EasyBill API Documentation - Official API documentation for EasyBill, useful for understanding the request and response formats.

Discussion