Skip to main content

Documentation Index

Fetch the complete documentation index at: https://gobl-docs-payment-record-1778254323.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Record represents an individual payment transaction made via a specific means (cash, card, credit-transfer, etc.), with its own amount and optional currency. Records are nested inside other structures: as advances on an invoice’s PaymentDetails, or as the methods used to settle a bill.Payment. A single document may contain multiple records when a payment is split across means (for example, partly card and partly cash) or when several advances were collected before issuing the final invoice.

Schema ID

https://gobl.org/draft-0/pay/record

Properties

TitlePropertyTypeDescription
UUIDuuidstringUniversally Unique Identifier.
Datedatecal.DateWhen the payment was made.
Keykeycbc.KeyThe payment means used.
ReferencerefstringID or reference for the payment.
DescriptiondescriptionstringDescription about the payment.
Percentpercentnum.PercentagePercentage of the total amount payable that was paid. Note that multiple records with percentages may lead to rounding errors, especially when the total sums to 100%. We recommend only including one record with a percent value per document.
Amountamountnum.AmountHow much was paid.
Currencycurrencycurrency.CodeIf different from the parent document’s base currency.
Cardcardpay.CardDetails of the payment that was made via a credit or debit card.
Credit Transfercredit_transferpay.CreditTransferDetails about how the payment was made by credit (bank) transfer.
Direct Debitdirect_debitpay.DirectDebitDetails of the payment that was made via direct debit.
Onlineonlinearray of pay.OnlineDetails of the payment that was made via an online provider.
Extensionsexttax.ExtensionsTax extensions required by tax regimes or addons.
Metametacbc.MetaAdditional details useful for the parties involved.

Key Values

ValueDescription
anyAny method available, no preference.
cardPayment by card.
card+creditPayment by credit card.
card+debitPayment by debit card.
credit-transferSender initiated bank or wire transfer.
credit-transfer+sepaSender initiated bank or wire transfer via SEPA.
debit-transferReceiver initiated bank or wire transfer.
cashCash in hand.
chequeCheque from bank.
bank-draftBankers Draft or Bank Cheque.
direct-debitDirect debit from the customers bank account.
direct-debit+sepaDirect debit from the customers bank account via SEPA.
onlineOnline or web payment.
promissory-notePromissory note contract.
nettingIntercompany clearing or clearing between partners.
otherOther or mutually defined means of payment.

Validation Rules

FieldTestValidation Code / Message
key
  • Be or starts with one of [any, card, credit-transfer, credit-transfer+sepa, debit-transfer, cash, cheque, bank-draft, direct-debit, direct-debit+sepa, online, promissory-note, netting, other]
GOBL-PAY-RECORD-01
Key must be valid