Actions180
- Account Actions
- Attendance Actions
- Contact Actions
- Employee Actions
- Employee Time Off Actions
- Insight Actions
- Invoice Actions
- Journal Actions
- Notification Actions
- Organization Actions
- Organization Member Actions
- Organization Member Journal Actions
- Overtime Actions
- Potential Invoice Actions
- Project Actions
- Project Document Actions
- Project Documentation Actions
- Project Journal Actions
- Project Upload Actions
- Sales Actions
- Administration Actions
- Product Catalog Actions
- Product Category Actions
- Project Settings Actions
- Role Actions
- Task Actions
- Task Comment Actions
- Task Pipeline Actions
- Task Pipeline Item Actions
- Task Product Actions
- Task Stack Actions
- Task Settings Actions
- Task Subtask Actions
- Task Blocking Actions
- Team Actions
- Time Booking Actions
- Timetable Actions
- Vacation Actions
- VAT Rate Actions
- Workspace Actions
Potential Invoice → Update
AI-generatedSummary
Updates a specific potential invoice's display dates and contact recipient in Leadtime.
Inputs
- potentialInvoiceId (required) — The unique ID of the potential invoice to update. Format: {type}::{projectId}::{dateFrom}::{dateTo}.
- billedFrom — Start date shown on the invoice (YYYY-MM-DD). Can differ from the service period.
- billedTo — End date shown on the invoice (YYYY-MM-DD). Can differ from the service period.
- contactId — Invoice recipient ID (UUID). Leave empty to clear the current contact.
Output shape
no body — success/failure only
The operation returns a success or error response; it does not return the updated record.
Examples
Example 1: Update the displayed date range of an existing invoice without changing the contact.
Set potentialInvoiceId to the target invoice and provide billedFrom/billedTo.
Example 2: Change the invoice recipient to a different contact.
Set potentialInvoiceId and the new contactId.