Interfaces
PaymentTransactionSuggestion
A document the transaction probably pays. Polymorphic: ‘targetType’ selects the variant.
interface
PaymentTransactionSuggestionFields
targetType
The kind of document.
rank
Int!
The position, 1 for the best candidate.
score
Decimal!
How well the document matches: the sum of the points of the matched rules. From 0.3 a document is suggested; the automatic assignment takes a document from 0.5 when no other one comes within 0.25.
openAmount
Decimal!
The open amount of the document.
currencyCode
String!
The currency of the open amount (ISO 4217).
matchedRules
[String!]!
The keys of the rules that matched, for example OrderNumber, InvoiceNumber, Amount, CustomerNumber or Name. The list of keys can grow; a client that does not know a key shows it as it is.
Possible types
Was this page helpful?