LineMatch
Defined in: src/matching/types.ts:92
Properties
Section titled “Properties”appliesTo?
Section titled “appliesTo?”
optionalappliesTo?:string[]
Defined in: src/matching/types.ts:100
For a markup or discount line matched by relation: the invoice lines it applies to.
confidence?
Section titled “confidence?”
optionalconfidence?:MatchConfidence
Defined in: src/matching/types.ts:97
invoiceLineId
Section titled “invoiceLineId”invoiceLineId:
string
Defined in: src/matching/types.ts:93
method?
Section titled “method?”
optionalmethod?:MatchMethod
Defined in: src/matching/types.ts:96
notes:
string[]
Defined in: src/matching/types.ts:105
Why the line was ignored or left unmatched, or what was observed while matching.
poLines
Section titled “poLines”poLines:
PoLineRef[]
Defined in: src/matching/types.ts:98
role:
LineRole
Defined in: src/matching/types.ts:94
similarity?
Section titled “similarity?”
optionalsimilarity?:string
Defined in: src/matching/types.ts:102
Description matches only: the similarity score (0..1).
status
Section titled “status”status:
LineStatus
Defined in: src/matching/types.ts:95
variances
Section titled “variances”variances:
object
Defined in: src/matching/types.ts:103
quantity?
Section titled “quantity?”
optionalquantity?:Variance
total?
Section titled “total?”
optionaltotal?:Variance
unitPrice?
Section titled “unitPrice?”
optionalunitPrice?:Variance
optionalvat?:VatVariance