How It Works
Each purchase creates its own transaction with statusAUTHORIZED. At the end of the billing period, Kravia consolidates all AUTHORIZED transactions for the same customer into a single invoice. When the shopper pays the consolidated invoice, the underlying transactions move to CAPTURED (or PARTIALLY_CAPTURED for partial payment). To cancel an unpaid purchase before billing, void the transaction — see Cancellations.
Configuration
Enableinvoice_b2b_grouped and set the billing interval:
| Option | Type | Default | Description |
|---|---|---|---|
enabled | Boolean | false | Enable grouped invoicing |
days_until_due | Integer (0-365) | 14 | Days until the consolidated invoice is due |
invoice_schedule.interval | String | "monthly" | "monthly" or "quarterly" |
require_identity_verification | Boolean | true | Require BankID verification |
Invoice Schedule
Invoices are issued on the first business day after the billing period ends. Monthly, first business day of following month:| Purchase Date | Invoice Issue Date | Due Date |
|---|---|---|
| January 5th | February 1st | February 15th |
| January 20th | February 1st | February 15th |
| February 15th | March 1st | March 15th |
| Purchase Date | Invoice Issue Date | Due Date |
|---|---|---|
| January 15th | April 1st | April 15th |
| February 20th | April 1st | April 15th |
| April 10th | July 1st | July 15th |
Customer Grouping
Purchases are consolidated per customer, identified by:business_nameorganization_numbercountry
customer_reference field on the billing address is a free-text reference for the merchant. For grouped invoices, it also controls grouping: purchases with different customer_reference values are invoiced separately, even within the same organization.
Billing Address
Grouped invoices use the same B2B billing address fields as standard B2B invoices, plus the optionalcustomer_reference for grouping.
Integration
Grouped invoices work with both integration approaches:- Customer Checkout: use
payment_product_type: "kravia.invoice_b2b_grouped"in your session configuration - Merchant Initiated: use
payment_product_type: "kravia.invoice_b2b_grouped"in the pay request
See Also
- Customer Checkout: configuration options, identity verification, and billing address details
- Merchant Initiated: create and pay invoices without customer interaction
- Invoice Delivery: control who delivers the invoice