invoices_sync_client
Resync an invoice with its client's current profile data (name, tax info, buyer snapshot, VAT rules) before ANAF submission. Invalidates cached XML/PDF to regenerate corrected files.
Instructions
Resync a single invoice with its client's current profile data (receiver name, CUI/CNP, buyer snapshot, VAT rules). Only allowed while the invoice has not been uploaded to ANAF (or was rejected) and is not cancelled. Cached XML/PDF files are invalidated so they regenerate with the corrected data. Use clients_sync_invoices to resync all unsent invoices of a client at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Invoice UUID to resync with its client's current data | |
| companyId | No | Company UUID override (uses active company if not set) |