Skip to content

Payment Types and Records

This page is a reference for the configuration and record objects that sit behind payments. The configuration objects are set up once and chosen on customers and invoices. The record objects are created automatically as payments are collected and allocated.

A payment type defines a way customers can pay, such as Direct Debit, credit card, bank transfer or cheque. Each type sets its own payment terms, fees, and whether it can be collected automatically in a payment run.

This section defines the basic properties of the payment type, including names, display settings, usage contexts, and identification codes. These settings determine how the payment type appears throughout the system and what it can be used for.

FieldDescription
Payment TypeName of the payment type
Payment Type (Display)Display name for the payment type shown to users
Payment Type (Short)Short abbreviation for the payment type
Payment Type Display ClassCSS class name for styling the payment type display
Payment Type Display PositionNumerical position for ordering payment types in displays
Payment Type AvailabilityAvailability of this payment type (Headline, Standard, or Historic)
Use ForContexts where this payment type can be used
Use For Payment Card ProvidersPayment card providers this payment type can be used with
Payment Type CodeCode identifier for the payment type, typically for accounting packages

This section configures billing-related settings for the payment type, including invoice display options, fees, thresholds, payment terms, and integration with automated payment collection systems.

FieldDescription
Display on InvoiceWhether this payment type should be shown on customer invoices
Manual Billing FeeAdditional fee charged for manual billing with this payment type
Payment ThresholdMinimum amount required for payments using this payment type
Final Bill Payment ThresholdMinimum amount required for payments using this payment type for Final Bill customers
Final Bill Shutdown ThresholdThreshold balance for automatically closing Final Bill accounts
Payment TermsNumber of days/months for payment terms with this payment type
Payment Terms TypeUnit type for payment terms (days/months)
Grace Period (Days)Default number of extra days after the due date before invoices using this payment type are treated as overdue for credit control. Can be overridden per customer using the customer Grace Period.
Include In Direct Debit RunWhether payments of this type should be included in direct debit collection runs
Include In Payment Card RunWhether payments of this type should be included in payment card collection runs
FieldDescription
Last ModifiedTimestamp of the most recent modification to this payment type
CreatedTimestamp when this payment type was created

An expected payment type classifies the payments you are expecting from customers, such as subscriptions, contract milestones, deposits, or settlement of overdue amounts. They make it easier to analyse where revenue is coming from. See Expected Payments for the payments themselves.

This section contains the basic information for defining an expected payment type, including its name and description. Expected payment types are used to categorise and track different kinds of payments that are anticipated from customers.

FieldDescription
Expected Payment TypeName of the expected payment type
Expected Payment Type (Display)Alternative display name for the expected payment type
Expected Payment Type DescriptionDetailed description of the expected payment type
FieldDescription
Last ModifiedTimestamp of the most recent modification to this expected payment type
CreatedTimestamp when this expected payment type was created

A payment part tracks how a single payment is split across invoices. If a customer pays one amount that settles several invoices, each invoice gets a payment part showing its share. See Payment Allocation.

FieldDescription
Payment Part IDThe unique identifier for this payment part record
Allocated AmountThe amount of the payment allocated to this invoice
Last ModifiedTimestamp of the most recent modification to this payment part
CreatedTimestamp when this payment part was created

A Direct Debit payment records each attempt to collect from a customer’s bank account: the amount, the collection date, whether it worked, and the provider’s status if it didn’t. Failed payments can be retried.

This section contains the core direct debit payment information including references, account details, amounts, and collection dates.

FieldDescription
Our ReferenceInternal reference number for this direct debit payment
Customer's ReferenceReference number provided by the customer for this direct debit payment
Direct Debit AccountThe direct debit account used for this payment
Direct Debit RunThe direct debit run this payment is part of
AmountThe amount to be collected via direct debit
Collection DateThe date when the direct debit collection is scheduled

This section tracks the payment status and important timestamps during the direct debit collection process.

FieldDescription
Payment StatusCurrent status of the direct debit payment
Requested DateDate when the direct debit payment was requested
Taken DateDate when the direct debit payment was successfully taken
Failed DateDate when the direct debit payment failed

This section contains information returned from the direct debit provider, including status updates and provider references.

FieldDescription
Provider StatusStatus code returned by the direct debit provider
Provider Status DetailDetailed status information from the direct debit provider
Provider ReferenceReference number assigned by the direct debit provider
Retry CountNumber of times collection has been attempted

This section stores diagnostic information for API communications with the direct debit provider, useful for troubleshooting.

FieldDescription
API RequestRaw API request sent to the direct debit provider
API ResponseRaw API response received from the direct debit provider
FieldDescription
Last ModifiedTimestamp of the most recent modification to this direct debit payment
CreatedTimestamp when this direct debit payment was created
CollectedTimestamp when this direct debit payment was most recently collected
CancelledTimestamp when this direct debit payment was most recently cancelled

A card payment records each attempt to charge a customer’s card, with the amount, outcome, authorisation code for successful charges, and decline reason if it failed. This detail is essential for sorting out payment issues.

This section contains the core payment card payment information including references, card details, amounts, and collection dates.

FieldDescription
Our ReferenceInternal reference number for this payment card payment
Customer's ReferenceReference number provided by the customer for this payment card payment
Payment CardThe payment card used for this payment
Payment Card RunThe payment card run this payment is part of
AmountThe amount to be collected via payment card

This section tracks the payment status and important timestamps during the payment card collection process.

FieldDescription
Payment StatusCurrent status of the payment card payment
Requested DateDate when the payment card payment was requested
Taken DateDate when the payment card payment was successfully taken

This section contains information returned from the payment card provider, including status updates, transaction IDs, and authorization codes.

FieldDescription
Provider StatusStatus code returned by the payment card provider
Provider Status DetailDetailed status information from the payment card provider
Provider Transaction IDTransaction ID assigned by the payment card provider
Provider KeyProvider key for payment card processing
Provider Authorisation CodeAuthorization code from the payment card provider
Provider Bank Authorisation CodeBank authorization code from the payment card provider
Provider Decline CodeDecline code if the payment was declined by the provider

This section stores diagnostic information for API communications with the payment card provider, useful for troubleshooting.

FieldDescription
API RequestRaw API request sent to the payment card provider
API ResponseRaw API response received from the payment card provider

System-generated information including modification timestamps and activity tracking for administrative purposes.

FieldDescription
Last ModifiedTimestamp of the most recent modification to this payment card payment
CreatedTimestamp when this payment card payment was created
CollectedTimestamp when this payment card payment was most recently collected
CancelledTimestamp when this payment card payment was most recently cancelled

The original Direct Debit format (the direct debit object) is still used for some long-standing customers. New mandates use the more capable Direct Debit account system instead, which connects to providers such as GoCardless and supports multiple accounts per customer.


Want clear visibility of every payment attempt and how it was allocated? see how SAFE Billing Platform tracks payments end to end