Expand description
Common practical finance primitive types from the focused crates.
Structs§
- Account
Holder Name - A non-empty account holder name.
- Account
Identifier Record - BAI2 account identifier record.
- Account
Number - A conservatively validated bank account number.
- AchCompany
Id - A conservatively validated ACH company identifier.
- AchEntry
- Lightweight ACH entry metadata composed from validated primitives.
- AchIndividual
Id - A conservatively validated ACH individual identifier.
- AchTrace
Number - A validated 15-digit ACH trace number.
- Amount
- A decimal-safe amount represented as integer minor units and a decimal scale.
- Applied
Amount - A receipt amount applied to open items.
- Balance
- An account balance.
- Balance
Due - Invoice balance due.
- Bank
Account - A bank account with a number, type, and holder name.
- Bic
- A validated SWIFT/BIC-style bank identifier code.
- Currency
Code - A validated uppercase 3-letter alphabetic currency code.
- Currency
Mismatch - A same-currency operation received different currencies.
- DueDate
- A due date in
YYYY-MM-DDshape. - Effective
Date - An effective date in
YYYY-MM-DDshape. - File
Header Record - BAI2 file header record.
- File
Trailer Record - BAI2 file trailer record.
- Funds
Type Code - A raw BAI2 funds type code.
- Iban
- A validated International Bank Account Number in compact uppercase form.
- Invoice
- A general invoice with same-currency line totals.
- Invoice
Line - A single invoice line.
- Invoice
Number - A non-empty invoice number.
- Journal
Entry - A balanced journal entry.
- Ledger
Entry - A journal entry placed into a ledger sequence.
- Masked
Account Number - A masked bank account number intended for display.
- Match
Score - A bounded deterministic match score from 0 to 10,000 basis points.
- Money
- A currency-safe money value.
- Normalized
Transaction - A normalized transaction detail value.
- Payment
- A payment value with reference, amount, method, direction, and status.
- Payment
Reference - A non-empty payment reference.
- Posted
Date - A posted date in
YYYY-MM-DDshape. - Posting
- A single account posting.
- RawRecord
- A parsed BAI2 record with raw fields preserved.
- Receipt
- A receipt with applied and unapplied amounts.
- Receipt
Number - A non-empty receipt number.
- Received
At - A received timestamp stored as non-empty caller-provided text.
- Reconciliation
Candidate - A deterministic reconciliation candidate.
- Reconciliation
Result - A deterministic reconciliation result.
- Routing
Number - A validated 9-digit ABA routing number.
- Subtotal
- Invoice subtotal.
- Total
- Invoice total.
- Transaction
- A generic financial transaction.
- Transaction
Date - A transaction date in
YYYY-MM-DDshape. - Transaction
Detail Record - BAI2 transaction detail record.
- Transaction
Id - A non-empty transaction identifier.
- Transaction
Type Code - A raw BAI2 transaction type code.
- Unapplied
Amount - A receipt amount not yet applied to open items.
Enums§
- Account
Type - Broad account type vocabulary.
- AchAccount
Type - Broad ACH account type vocabulary.
- AchAddenda
Indicator - ACH addenda indicator vocabulary.
- AchEntry
Direction - ACH entry direction vocabulary.
- AchError
- Errors returned by ACH primitives.
- AchStandard
Entry Class - Conservative ACH Standard Entry Class vocabulary.
- AchTransaction
Code - Conservative ACH transaction-code vocabulary.
- Amount
Error - Errors returned by amount helpers.
- Bai2
Error - Errors returned by BAI2 parsing and validation.
- BicError
- Errors returned while constructing BIC values.
- Currency
Code Error - Errors returned while constructing currency codes.
- Debit
Credit - Debit or credit side of a posting.
- Exception
Reason - Reconciliation exception reason vocabulary.
- Iban
Error - Errors returned while constructing IBAN values.
- Invoice
Status - Invoice lifecycle status.
- Match
Confidence - Human-readable confidence band for a deterministic match score.
- Match
Status - Match lifecycle status.
- Money
Error - Errors returned by money helpers.
- Payment
Direction - Payment direction.
- Payment
Method - Conservative payment method vocabulary.
- Payment
Status - Payment lifecycle status.
- Receipt
Status - Receipt lifecycle status.
- Record
Code - Supported BAI2 record codes.
- Routing
Number Error - Errors returned while constructing routing numbers.
- Transaction
Direction - Generic transaction direction vocabulary.
- Transaction
Status - Generic transaction status vocabulary.