1. Invoices
Saaslogic
  • Authentication
  • Introduction
  • Enum Reference
  • Products
    • Resources
      • Create Product Resource
    • Coupons
      • Withdraw Coupon
      • Publish Coupon
      • Create Coupon
      • Update Coupon
      • Get Coupon
      • Get Coupons
    • Configurations
      • Update Product Configurations
    • Create Product
    • Get Product
    • List all products
    • Update Product
  • Authentication
    • saaslogic token
      • Get the saaslogic access token
    • login Url
      • Gives the login URL
    • logout Url
      • Gives the logout URL
  • Countries
    • Get list of countries
  • Plans
    • Create Plan
    • Update Plan
    • Publish Plan
    • Get Plan
    • Get Plans
    • Withdraw Plan
    • Cancel Plan Change Order
    • List all plans for a product
  • Subscriptions
    • Get Subscriptions
    • Change subscription plan
    • Cancel the subscription
    • Refund amount calculation
    • Manage Addon
    • Skip Subscription Invoices
    • List Skip Subscription Invoice Requests
    • Cancel Skip Subscription Invoice Request
    • Create a product subscription
    • Retrieve a subscription
    • Create Customer and Subscription
    • Subscription with details permissions, menus and features
    • The Saaslogic URL for creating subscription
  • Usage Reporting
    • Report the resource usages in subscription for invoicing
    • Retrieves the resource usages of a subscription in the current billing cycle
  • Customers
    • addresses
      • Create an address
      • List all addresses
      • Update an address
      • Retrieve an address
      • Delete an address
    • contacts
      • Create a contact
      • List all contacts
      • Update a contact
      • Retrieve a contact
      • Delete a contact
    • Create a customer
    • List all customers
    • Update a customer
    • Retrieve a customer
    • Delete a customer
  • Vendors
    • vendor addresses
      • Create a vendor address.
      • List all vendor addresses.
      • Update a vendor address.
      • Retrieve a vendor address..
      • Delete a vendor address.
    • vendor contacts
      • Create a vendor contact.
      • List all vendor contacts.
      • Update a vendor contact.
      • Retrieve a vendor contact.
      • Delete a vendor contact.
    • vendor bills
      • Create a vendor bill
      • Cancel a vendor bill.
    • vendor bills payout
      • Update payment details to vendor bills.
    • Create a vendor
    • Update a vendor.
    • Activate a vendor.
    • Deactivate a vendor
  • Invoices
    • subscriptions
      • Get the invoices
      • Get the invoices by subscription
    • payments
      • Get Payment Transactions
      • Get Payment Transaction by Reference ID
      • Mark the invoice payment status
    • Approve the invoice
      PUT
    • Get Invoices
      POST
    • Refund amount calculation
      POST
    • Invoice Refund
      POST
    • Submit Bulk Invoice Refund
      POST
    • Submit Bulk Invoice Cancel
      POST
    • Get the invoice details .
      GET
    • Cancel the invoice
      POST
    • Send invoice as pdf with payment link.
      POST
    • Create an on-demand invoice
      POST
  • States
    • Get list of states
  • Addons
    • Create Addon
    • Update Addon
    • Publish Addon
    • Get Addon
    • Withdraw Addon
    • List all addons for a product
  • Submerchant
    • Create a submerchant
  • UOM
    • Create UOM
    • Update UOM
    • List UOMs
    • Get UOM
  • HostedPages
    • Disable Hosted Page
    • Enable Hosted Page
  • Configurations
    • Update Configurations
  • Integrations
    • Get Integrations
    • Update SMTP Integration
    • Save SMTP integration
  • Billing Frequencies
    • Billing Frequency
  • Schemas
    • Invoice
      • InvoiceSubscriptionDTO
      • InvoiceInfo
      • InvoiceDetail
      • InvoiceProduct
      • InvoiceLineItemDTO
      • BulkInvoiceRefundResponse
      • BulkInvoiceRefundRequest
      • InvoicePayment
      • InvoiceAttributeDTO
      • InvoiceRequestDTO
      • InvoiceRequestProduct
      • InvoiceRequestLineItem
      • InvoiceRequestLineItemTax
      • InvoiceRequestDiscount
      • InvoicePaginatedResponse
      • InvoiceRefundCalculationRequest
      • InvoiceRefundCalculationResponse
    • Vendor
      • Vendor
      • VendorContact
      • VendorAddress
      • VendorBill
    • Subscriptions
      • Skip Invoice
        • SkipInvoiceRequest
        • SkipInvoiceItem
        • SkipInvoiceResponse
      • SubscritpionPaginatedResponse
      • ManageAddonRequest
      • Subscription
      • ResourceQuantities
      • ChangeSubscriptionRequest
      • SubscriptionDiscount
    • Pagination
      • PageRequest
      • SortCriteria
      • FilterCriteria
      • Pagination
      • InvoiceList
      • PageResponse
    • Plan
      • UpdatePlan
      • PlanSearchRequest
      • CreatePlan
    • UOM
      • UOM
    • Product
      • ProductResource
      • AddonChargeDTO
      • AddonResourceDTO
      • ProductAddonDTO
      • ProductFeature
      • Product
      • Coupon
      • ProductAttribute
      • CouponSearchRequest
    • Integrations
      • SmtpIntegrationRequest
    • Payments
      • PaymentTransaction
      • PaymentTransactionResponse
    • Billing Frequencies
      • BillingFrequency
    • Addon
      • UpdateAddonDto
      • AddonResponseDto
    • AccessTokenResponse
    • ProductAPIKey
    • Country
    • CustomerAddress
    • PaymentInfo
    • CustomerWithSubscription
    • State
    • Addon
    • SubscriptionRefundCalculationResponse
    • SubscriptionRefundCalculationRequest
    • ExternalCancelSubscriptionRequest
    • RefundBreakdownItem
    • Customer
    • Submerchant
    • HostedPageAccessRequest
    • CustomerContact
    • ProratedRefundDetails
    • IntegationInfo
    • InvoiceCancelRequest
    • InvoiceCancelResponse
  1. Invoices

Submit Bulk Invoice Cancel

Developing
POST
/invoices/cancel/bulk
Allows authorized merchants to cancel multiple invoices and apply individual refund amounts through a single API request. Each invoice is validated and processed individually, with its corresponding processing status and error details returned.

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Bodyapplication/json

🔴500ErrorResponse
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/invoices/cancel/bulk' \
--header 'Authorization: Bearer {{bearerToken}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
    "reason": "Bulk cancel",
    "invoices": [
        {
            "invoiceId": "8e337709-2c21-4bdf-80b0-776c5fba9fbb",
            "refundAmount": 100,
            "isRefundRequired": true
        },
        {
            "invoiceId": "5a94bad4-d140-46b1-9da3-62e3a90612df"
        },
        {
            "invoiceId": "4065f1f2-2bf3-4752-a73e-3e4df72b3cf4",
            "isRefundRequired": true
        }
    ]
}'
Response Response Example
200 - Example 1
{
    "bulkCancelId": "BCN-6bb2c159-cbac-46e5-b1d9-4f92c7cadb7f",
    "status": "Accepted",
    "reason": "Bulk cancel",
    "totalCount": 1,
    "createdAt": "2026-11-19T07:50:40",
    "counts": {
        "Pending": 1
    },
    "items": [
        {
            "invoiceCancelId": "ICN-52024825-faef-4cdd-afb4-7fbfea253b59",
            "invoiceId": "8e337709-2c21-4bdf-80b0-776c5fba9fbb",
            "status": "Pending",
            "refundAmount": 100.0,
            "isRefundRequired": true,
            "updatedAt": "2026-11-19T07:50:41"
        }
    ]
}
Previous
Submit Bulk Invoice Refund
Next
Get the invoice details .
Built with