# Premium Payments ## Process Payment File - [POST /process-payment-file](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/adv.-billing/processpaymentfile.md): Import a defined Payment File in .csv format to then have payments created and, optionally, attached to invoices. ## Process or Check Invoice Tolerance - [POST /process-invoice-tolerance/{invoiceKey}](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/adv.-billing/processinvoicetolerance.md): Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off. ## Undo an Applied Premium Payment - [POST /undo-premium-payment/{premPaymentKey}](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/adv.-billing/undopremiumpayment.md): Based on the supplied PremPayment_Key, remove this payment from any invoice it is attached, and then recalc the received on each affected invoice. ## List Premium for Payment Application - [GET /list-apply-payment-category](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/adv.-billing/listpremapplypaymentcategory.md): List Invoice Detail that can have premimum applied based on payment information and applied payment category. ## Process Payment File - [POST /process-payment-file](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/premium-payments/processpaymentfile.md): Import a defined Payment File in .csv format to then have payments created and, optionally, attached to invoices. ## Process or Check Invoice Tolerance - [POST /process-invoice-tolerance/{invoiceKey}](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/premium-payments/processinvoicetolerance.md): Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off. ## Undo an Applied Premium Payment - [POST /undo-premium-payment/{premPaymentKey}](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/premium-payments/undopremiumpayment.md): Based on the supplied PremPayment_Key, remove this payment from any invoice it is attached, and then recalc the received on each affected invoice. ## Create PremPayment - [POST /premium-payments](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/premium-payments/createprempayment.md): Creates a new PremPayment ## List PremPayment - [GET /premium-payments](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/premium-payments/listprempayment.md): Lists all PremPayment ## Get PremPayment - [GET /premium-payments/{premPaymentKey}](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/premium-payments/getprempayment.md): Gets PremPayment ## Update PremPayment - [PUT /premium-payments/{premPaymentKey}](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/premium-payments/updateprempayment.md): Updates a specific PremPayment. ## Delete PremPayment - [DELETE /premium-payments/{premPaymentKey}](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/premium-payments/deleteprempayment.md): Deletes an PremPayment ## Create or Update Batch PremPayment - [PUT /premium-payments-batch](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/premium-payments/updatebatchprempayment.md): Create or Update multiple PremPayment at once. If the entity exists, it will be updated. If the entity does not exist, it will be created. ## List Premium for Payment Application - [GET /list-apply-payment-category](https://vbapi-docs.vbasoftware.com/openapi/vbasoftware.api/premium-payments/listpremapplypaymentcategory.md): List Invoice Detail that can have premimum applied based on payment information and applied payment category.