Leadtime icon

Leadtime

Interact with Leadtime ERP API

Actions180

Invoice → Set Contact

AI-generated

Summary

Updates the contact associated with a specific invoice in the Leadtime system.

Inputs

  • invoiceId (required) — The UUID of the invoice to update.
  • contactId — The ID of the contact to assign to the invoice. Leave empty to clear the current contact.

Output shape

an array of one item containing the updated invoice details

The operation returns the complete updated invoice object, reflecting the new contact assignment.

Examples

Example 1: Assign a new contact to an existing invoice

Set Invoice ID to the target invoice UUID and provide the desired Contact ID.

Example 2: Clear the contact from an invoice

Set Invoice ID and leave Contact ID empty to remove the current contact association.

Links

Discussion