Teamleader icon

Teamleader

Consume Teamleader API

Actions67

Invoices → Register payment

AI-generated

Overview

This node operation registers a payment for an invoice in the Teamleader system. It is useful for scenarios where you need to record payments made against invoices, such as tracking customer payments or updating invoice statuses after payment. For example, after receiving a payment from a customer, you can use this operation to log the payment amount, currency, and payment date to the corresponding invoice in Teamleader.

Use Case Examples

  1. Register a payment of 100 EUR made on 2025-12-31 for a specific invoice by providing the invoice ID, payment amount, currency, and payment date.
  2. Update the payment status of an invoice after receiving a partial or full payment from a customer.

Properties

Name Meaning
Payment Details of the payment to register, including amount and currency.
Payed at The date and time when the payment was made, formatted as an ISO 8601 string.
ID The ID of the invoice to register the payment for.

Output

JSON

  • id - The ID of the invoice for which the payment was registered.
  • amount - The amount of the payment registered.
  • currency - The currency of the payment registered.
  • paid_at - The date and time when the payment was made.

Dependencies

  • Teamleader API OAuth2 credentials

Troubleshooting

  • Ensure the invoice ID provided is valid and exists in the Teamleader system to avoid errors.
  • Verify that the payment amount and currency are correctly specified and supported by Teamleader.
  • Check the date format for the 'Payed at' field to match the required ISO 8601 format (e.g., 2016-03-03T16:44:33+00:00).
  • If the API returns no data, verify the OAuth2 credentials and API access permissions.

Links

Discussion