clients_sync_invoices
Resync all unsent invoices with a client's current profile data, including older invoices, ensuring tax details are up to date before they are sent to ANAF.
Instructions
Resync all unsent invoices with the client's current profile data (name, CUI, tax details). Unlike the automatic propagation on client update (current month only), this also rewrites older invoices, as long as they were not uploaded to ANAF and are not cancelled. Cached XML/PDF files are invalidated so they regenerate with the new data. Returns the number of invoices updated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Client UUID whose unsent invoices should be resynced | |
| companyId | No | Company UUID override (uses active company if not set) |