Skip to main content

Kravia

Kravia is an invoicing service that enables businesses to send invoices and manage payments across the Nordics (Norway, Sweden, and Finland). By integrating Kravia into your Dintero checkout, you can offer customers invoice-based payment terms while Kravia handles distribution, follow-up, and collection.

Payment Types

Payment TypeDescriptionUse Case
kravia.invoice_b2bBusiness-to-business invoicingOne-time invoices to companies
kravia.invoice_b2b_groupedB2B invoicing with automatic groupingMultiple purchases consolidated into a single invoice per billing period
kravia.invoice_b2cBusiness-to-consumer invoicingInvoices to individual customers

How It Works

  1. Customer selects invoice payment at checkout.
  2. Billing information is collected (name, address, email, phone).
  3. Identity verification via BankID (if required for the payment type).
  4. Invoice is registered with Kravia.
  5. Kravia distributes the invoice to the customer.
  6. Customer pays the invoice via their bank.
  7. Dintero settles the funds through normal settlement.

Configuration

Enable Kravia payment types in the session configuration when creating a checkout session. We advise setting configuration in the Payment Profile via backoffice. Configuration can also be set in the session api call. The example below enables all three payment types:

POST https://checkout.dintero.com/v1/sessions-profile
Authorization: Bearer <token>
Content-Type: application/json

{
"url": {
"return_url": "https://example.com/accept",
"callback_url": "https://example.com/callback",
"merchant_terms_url": "https://example.com/terms.html"
},
"order": {
"amount": 50000,
"currency": "NOK",
"vat_amount": 10000,
"items": [
{
"amount": 50000,
"quantity": 1,
"line_id": "1",
"description": "Consulting services",
"vat": 25,
"id": "item-1"
}
],
"merchant_reference": "order-123"
},
"configuration": {
"kravia": {
"type": "payment_type",
"invoice_b2b": {
"type": "payment_product_type",
"enabled": true,
"days_until_due": 14,
"require_identity_verification": true
},
"invoice_b2b_grouped": {
"type": "payment_product_type",
"enabled": true,
"days_until_due": 14,
"require_identity_verification": true,
"invoice_schedule": {
"interval": "monthly"
}
},
"invoice_b2c": {
"type": "payment_product_type",
"enabled": true,
"days_until_due": 14
}
}
}
}

Configuration Options

OptionApplies ToTypeDescription
days_until_dueAll typesInteger (0-365)Number of days until the invoice is due. Default: 14 days.
require_identity_verificationB2B, B2B GroupedBooleanWhether BankID verification is required before payment. Default: true. Not configurable for B2C (always required).
invoice_schedule.intervalB2B Grouped onlyStringBilling cycle for grouped invoices: "monthly" or "quarterly".
info

See related documentation for more information about creating payment sessions:

Identity Verification

Kravia uses BankID to verify customer identity before processing the invoice. Verification requirements vary by payment type:

Payment TypeVerificationConfigurable
kravia.invoice_b2cAlways requiredNo
kravia.invoice_b2bRequired by defaultYes — set require_identity_verification: false to disable
kravia.invoice_b2b_groupedRequired by defaultYes — set require_identity_verification: false to disable

Transaction Lifecycle

Kravia transactions are automatically captured upon successful registration. Unlike card payments, there is no separate authorization step.

StateDescription
CAPTUREDInvoice successfully registered with Kravia. This is the initial successful state.
ON_HOLDTransaction is temporarily held pending further review.
FAILEDInvoice registration failed.
PARTIALLY_REFUNDEDA partial refund has been issued. The remaining amount is still valid.
REFUNDEDThe full transaction amount has been refunded.
SETTLEDInvoice has been settled to the merchant.

Refunds and Cancellations

  • To cancel an invoice, issue a full refund while the transaction is in the CAPTURED state. This cancels the invoice in Kravia. If the customer has partially paid the invoice, the partial payment is refunded.
  • Partial refunds can be issued while the transaction is in the CAPTURED state.
  • Refunds are not supported for transactions in the SETTLED state.
info

The availability of refund actions depends on the current invoice state in Kravia.


Invoice Dates

Standard Invoices (B2B and B2C)

For non-grouped invoices:

  • Invoice issue date: The date of the transaction.
  • Invoice due date: Issue date + days_until_due (default: 14 days).

Grouped Invoices (B2B Grouped)

Grouped invoices consolidate multiple purchases from the same customer into a single invoice, issued on a scheduled billing cycle. Configure the cycle using invoice_schedule.interval.

Monthly Billing Cycle

Invoices are issued on the first business day of the following month.

Purchase DateInvoice Issue DateDue Date (14 days)
January 5thFebruary 1st (Mon)February 15th
January 20thFebruary 1st (Mon)February 15th
February 15thMarch 1st (Mon)*March 15th

*If the 1st falls on a weekend, the invoice is issued on the following Monday.

Quarterly Billing Cycle

Invoices are issued on the first business day of the following quarter.

Purchase DateInvoice Issue DateDue Date (14 days)
January 15thApril 1stApril 15th
February 20thApril 1stApril 15th
April 10thJuly 1stJuly 15th

Quarter boundaries:

  • Q1: January–March
  • Q2: April–June
  • Q3: July–September
  • Q4: October–December

Customer Grouping

For grouped invoices, purchases are consolidated per customer. Customers are identified by a combination of:

  • Business name
  • Organization number
  • Country

All purchases matching the same customer within a billing period are grouped into a single invoice.


Billing Address Requirements

Kravia requires a billing address with all payment types. The required fields differ between B2C and B2B:

FieldB2CB2B
first_nameRequiredRequired
last_nameRequiredRequired
address_lineRequiredRequired
postal_codeRequiredRequired
countryRequired (ISO 3166 alpha-2)Required (ISO 3166 alpha-2)
phone_numberRequiredRequired
emailRequiredRequired
business_nameOptionalRequired
organization_numberRequired
info

For Norway, the organization number is 9 digits. For Sweden, it is either 10 or 12 digits.