W3builders
AOP API

AOP API/Documents & Invoices

Duplicate Document

POST/finance/documents/{id}/duplicate
JWT bearer

Clone a document into a new draft with a fresh number, issue_date, and portal_token.

Endpoint

POSThttps://api.w3builders.com/v1/finance/documents/{id}/duplicate

Response parameters

Duplicate Document
curl -X POST https://api.w3builders.com/v1/finance/documents/123/duplicate \
-H "Authorization: Bearer $TOKEN"
{
"shape": "Same shape as GET /finance/documents/{id}"
}
Was this page helpful?