Complete a subscription milestone
Marks some or all of a milestone complete so that it bills. IMMEDIATELY raises a standalone invoice and issues it now; NEXT_INVOICE adds it to the subscription’s next scheduled invoice.
Authorizations
API key for authentication
Path Parameters
^([a-zA-Z\d\-]+)$^([a-zA-Z\d\-]+)$Body
Input serializer for completing a milestone.
How much of the milestone to complete. May not take the completed total past the milestone's total_quantity.
x >= 1When the completion bills. IMMEDIATELY raises a standalone invoice for the milestone and issues it now. NEXT_INVOICE adds it to the subscription's next scheduled invoice, and is rejected when there is no invoice left to defer onto.
IMMEDIATELY- ImmediatelyNEXT_INVOICE- Next invoice
IMMEDIATELY, NEXT_INVOICE Issue date for the new invoice. Defaults to today; a future date leaves the invoice to be issued by the scheduled sweep. Only valid with bill_on: IMMEDIATELY.
Due date for the new invoice. Defaults to the order's payment terms, and may not precede issued_at. Only valid when bill_on is IMMEDIATELY.
The date the work was delivered. The new invoice's service period starts and ends on this day — it is a single date, not a range. Defaults to today, and may be backdated independently of issued_at. Only valid when bill_on is IMMEDIATELY.