# PremInvoice Apply Payments by Subscriber and Plan Type PremInvoice Apply Payments by Subscriber and Plan Type Endpoint: POST /premium-invoice-apply-payment-sub-plan-type Version: v1 Security: apiKeyAuth, bearerAuth ## Header parameters: - `vbasoftware-database` (string, required) Target database ## Request fields (application/json): - `invoice_Key` (integer, required) - `subscriber_ID` (string,null) Required for: ApplyPaymentSubscriber ApplyPaymentSubscriberPayorID ApplyPaymentSubscriberPlanType ApplyPaymentSelfAdmin Not used for: ApplyPaymentHeaderAdjustment - `plan_Type` (string,null) Required for: ApplyPaymentSubscriberPlanType Not used for: ApplyPaymentSubscriber ApplyPaymentSubscriberPayorID ApplyPaymentHeaderAdjustment - `payor_ID` (string,null) Required for: ApplyPaymentSubscriberPayorID Not used for: ApplyPaymentSubscriber ApplyPaymentSubscriberPlanType ApplyPaymentHeaderAdjustment - `premPayment_Key` (integer, required) - `adjustment_Reason` (integer,null) Required for: ApplyPaymentHeaderAdjustment Not used for: ApplyPaymentSubscriber ApplyPaymentSubscriberPayorID ApplyPaymentSubscriberPlanType - `payment_Posted` (number, required) - `payment_Posted_Date` (string, required) - `user_ID` (string, required) - `premInvoiceSelfAdmins` (array,null) If using the ApplyPaymentSelfAdmin process, you pass in the PremInvoiceSelfAdmins to apply the payment to. For non-self-admin invoices leave this empty - `premInvoiceSelfAdmins.premInvoiceSelfAdmin_Key` (integer, required) - `premInvoiceSelfAdmins.age` (integer,null) - `premInvoiceSelfAdmins.benefit_Code` (string,null) - `premInvoiceSelfAdmins.dependents` (integer,null) - `premInvoiceSelfAdmins.dist_Volume` (number,null) - `premInvoiceSelfAdmins.division_ID` (string,null) - `premInvoiceSelfAdmins.entry_Date` (string) - `premInvoiceSelfAdmins.entry_User` (string,null) - `premInvoiceSelfAdmins.groupSelfAdmin_Age` (integer,null) - `premInvoiceSelfAdmins.groupSelfAdmin_Dependents` (integer,null) - `premInvoiceSelfAdmins.groupSelfAdmin_Dist_Volume` (number,null) - `premInvoiceSelfAdmins.groupSelfAdmin_Key` (integer,null) - `premInvoiceSelfAdmins.groupSelfAdmin_Members` (integer,null) - `premInvoiceSelfAdmins.groupSelfAdmin_Premium` (number,null) - `premInvoiceSelfAdmins.groupSelfAdmin_Sex` (string,null) - `premInvoiceSelfAdmins.groupSelfAdmin_Subscribers` (integer,null) - `premInvoiceSelfAdmins.groupSelfAdmin_Volume` (number,null) - `premInvoiceSelfAdmins.group_ID` (string,null) - `premInvoiceSelfAdmins.members` (integer,null) - `premInvoiceSelfAdmins.plan_ID` (string,null) - `premInvoiceSelfAdmins.premRate_Key` (integer,null) - `premInvoiceSelfAdmins.premium` (number,null) - `premInvoiceSelfAdmins.premium_Received` (number,null) - `premInvoiceSelfAdmins.sex` (string,null) - `premInvoiceSelfAdmins.subscribers` (integer,null) - `premInvoiceSelfAdmins.update_Date` (string) - `premInvoiceSelfAdmins.update_User` (string,null) - `premInvoiceSelfAdmins.volume` (number,null) ## Response 202 fields ## Response 401 fields