DocsAPI ReferenceInvoice/bff/invoice/clone
postInvoiceAdmin BFF

/bff/invoice/clone

Duplicates an invoice as a fresh draft (status open, today's issue date, recomputed due date). When incrementMonth is true (default), any "M/YYYY" or "MM/YYYY" patterns in the line descriptions are advanced by one month, supporting recurring monthly billing.

InvoicepostBffInvoiceClone

Parameters

2 body

2 total
Body · 2
idstringRequired

External invoice ID of the source invoice.

incrementMonthboolean

Whether to auto-increment "M/YYYY" tokens in line descriptions. Defaults to true.

Default: true

Request

POST /bff/invoice/clone

post
curl -X POST "https://api.bizkithub.com/bff/invoice/clone" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "id": "aB3xKm9pQ2wLn4Yz",
  "incrementMonth": true
}'

Response

JSON payload

{
  "id": "example_id",
  "sequenceNumber": "example_sequenceNumber"
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key