Skip to main content

Manually mark an invoice as a duplicate of another

POST 

/invoices/:code/mark-duplicate

Parks the invoice in DUPLICATE status, links it DUPLICATE_OF the named original, skips journal entry and PO advancement, and notifies the Buyer. Works regardless of the invoice_duplicate_guard flag. Requires the invoices.mark-duplicate write grant (Buyer, Accountant, Admin); the service further restricts to invoices the caller can access, and refuses the park once the invoice's workflow has progressed into accounting (READY_FOR_EXPORT_PREPARATION onward) or already ended (409).

Request​

Responses​

OK