admin-payments

Mark Invoice Paid

Mark an issued invoice as paid — financial closure.

Sets payment.status = COMPLETED, invoice.status = PAID, records paid_at on both. Fires the customer "Payment Confirmed" email + admin "Payment Received" notification + Stripe Tax transaction + Temporal invoice-PDF regeneration. Does NOT touch project.status — the admin controls lifecycle separately via confirm-po and the Start Production / Mark Shipped / Mark Completed buttons.

Most commonly called 30-90 days AFTER confirm-po, when the customer's Net-30/60/90 payment arrives.

Requires payments:edit permission.

post/api/v1/admin/payments/{payment_id}/mark-invoice-paid

Path parameters

payment_idstring uuid required

Response

Successful Response

idstring uuid required
project_idstring uuid required
quote_idstring uuid required
user_idstring uuid required
methodstring required
statusstring required
amountstring required
total_with_taxstring nullable
deposit_amountstring nullable
currencystring required
stripe_payment_intent_idstring nullable
po_numberstring nullable
po_document_r2_keystring nullable
po_document_download_urlstring nullable
shipping_addressstring nullable
notesstring nullable
paid_atstring date-time nullable
created_atstring date-time required
updated_atstring date-time required
project_namestring required
customer_namestring required
customer_emailstring required
customer_billing_addressstring nullable
submitted_by_admin_idstring uuid nullable
submitted_by_labelstring nullable
payment_terms_net_daysinteger nullable
order_placed_at_overridestring date-time nullable
order_placed_atstring date-time nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.