Wedof icon

Wedof

Facilitez-vous la vie avec Wedof !

Actions169

Facture → Créer Une Nouvelle Facture

AI-generated

Overview

This node operation allows users to create a new invoice (facture) in the Wedof system. It is useful for automating the generation of invoices with specific details such as invoice number, state, type, payment link, due date, description, and file link. This can be applied in scenarios where businesses need to programmatically manage their billing and invoicing processes within the Wedof platform.

Use Case Examples

  1. Automatically create an invoice when a service is completed, setting the invoice number, state as 'waitingPayment', and including a payment link.
  2. Generate credit notes or deposits as invoices with specific types and due dates for financial tracking.

Properties

Name Meaning
Numéro De La Facture The invoice number to uniquely identify the invoice.
État The state of the invoice, such as canceled, waiting for payment, or paid.
Type The type of invoice, such as deposit, credit note, or standard invoice.
Lien De Paiement Optional payment link URL associated with the invoice.
Date D'échéance Optional due date for the invoice payment.
Description Optional description text for the invoice.
Lien Du Fichier Optional file link associated with the invoice, such as a PDF document.

Output

JSON

  • id - Unique identifier of the created invoice.
  • externalId - The invoice number provided during creation.
  • state - The current state of the invoice.
  • type - The type of the invoice.
  • paymentLink - The payment link URL if provided.
  • dueDate - The due date of the invoice if provided.
  • description - The description of the invoice if provided.
  • file - The file link associated with the invoice if provided.

Dependencies

  • An API key credential for Wedof API authentication

Troubleshooting

  • Ensure all required fields like 'Numéro De La Facture', 'État', and 'Type' are provided to avoid validation errors.
  • Check API credentials and network connectivity if the request to create an invoice fails.
  • If optional fields like payment link or due date are provided, ensure they are in the correct format to prevent request rejection.

Discussion