AOP API/Documents & Invoices
/finance/documents/{id}/duplicateClone a document into a new draft with a fresh number, issue_date, and portal_token.
https://api.w3builders.com/v1/finance/documents/{id}/duplicatecurl -X POST https://api.w3builders.com/v1/finance/documents/123/duplicate \-H "Authorization: Bearer $TOKEN"
{"shape": "Same shape as GET /finance/documents/{id}"}
curl -X POST https://api.w3builders.com/v1/finance/documents/123/duplicate \-H "Authorization: Bearer $TOKEN"
{"shape": "Same shape as GET /finance/documents/{id}"}