Copy PageCreate new planpost https://api.advancehq.com/v1/plansCreates a new plan. Payment link is created and invoice PDF is generated.Body ParamsRequest body for creating a new plan via the public API. All plans created via the public API are immediately set to open status.agency_feesarray of objects | nulldeprecatedDEPRECATED: Use per-policy agency fees instead. Kept for backward compatibility only.Agency FeesADD objectallowed_payment_methodsarray of objects | nullPayment methods to accept. Online checkout methods are 'checkout_ach' and 'checkout_credit_card'; offline methods are 'ach' (manual bank transfer) and 'check'. If you omit any checkout_* method, both online methods are enabled by default. To offer only one online method, pass just that value (e.g. ['checkout_credit_card']). Add 'ach' or 'check' to also accept manually-recorded offline payments.Allowed Payment MethodsAllowed:achcheckcheckout_achcheckout_credit_cardADD stringbilling_typestringenumDefaults to directdirectagencyAllowed:directagencycc_emailsarray of strings | nullAdditional email addresses to CC the invoice file.Cc EmailsADD stringcheck_mailing_addressobjectWhere checks for this plan are mailed. Defaults to the agency's check mailing address from Settings when left out; null prints no address.CheckMailingAddress objectcheck_payable_tostring | nullWho checks for this plan are payable to. Defaults to the agency's check payee from Settings.insured_idstring | nullID of the insured this plan bills. The recipient name and email are still sent on the plan itself.invoice_datedate-time | nullDate shown on the generated invoice (ISO 8601). Defaults to the plan's creation time when omitted. Distinct from created_at, which always records when the plan was written to the database — imports of past statements set an earlier invoice_date while created_at stays the import time.invoice_headerstring | nullDefaults to InvoiceHeader text shown at the top of the invoice. Defaults to 'Invoice'.invoice_memostring | nullFree-text notes displayed on the invoice, visible to the recipient.invoice_numberstring | nullpayment_duedate-time | nullPayment due date (ISO 8601). Reminders are scheduled from it, and an unpaid plan past it is listed as overdue.policiesarray of objects | nullList of insurance policies to include on this plan. Each policy requires at least a market_id.PoliciesADD objectproducer_idstring | nullID of the producer associated with this plan. Required for commission tracking.recipient_emailstring | nullEmail address of the invoice recipient, used for reminders and when the invoice is emailed. Required to create a plan.recipient_namestring | nullDisplay name of the person or company receiving the invoice. Required to create a plan.recipient_phone_numberstring | nullRecipient phone number (max 20 characters).reminder_daysarray of integers | nullList of days before (-) or after (+) payment due date to send reminders. Max 4 reminders.Reminder DaysADD integersend_invoicebooleanDefaults to falseEmail the invoice and its payment link to the recipient once the plan is created, copying cc_emails.truefalsesender_emailstring | nullEmail shown as the sender on the invoice.sender_namestring | nullName shown as the sender on the invoice. Required to create a plan.surplus_fees_linesarray of objects | nulldeprecatedDEPRECATED: Use per-policy surplus fee lines instead. Kept for backward compatibility only.Surplus Fees LinesADD objectsurplus_tax_linesarray of objects | nulldeprecatedDEPRECATED: Use per-policy surplus tax lines instead. Kept for backward compatibility only.Surplus Tax LinesADD objectsurplus_taxesobjectdeprecatedDEPRECATED: Use per-policy surplus taxes instead. Kept for backward compatibility only.AgencyFee objectuse_agency_brandingboolean | nullDefaults to falsetruefalseResponses 200Successful Response 400Bad Request - Invalid input parameters or malformed request body 401Unauthorized - Missing or invalid authentication credentials 403Forbidden - Insufficient permissions to access this resource 404Not Found - The requested resource does not exist 422Validation Error 429Too Many Requests - Rate limit exceeded 500Internal Server Error - An unexpected error occurredUpdated 4 months ago List all plansGet plans countDid this page help you?YesNo