1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/openapi/components/schemas/bank_transaction_rule.yaml
2024-03-07 21:48:19 +11:00

44 lines
1.4 KiB
YAML

BankTransactionRule:
properties:
id:
description: 'The bank transaction rules hashed id'
type: string
example: AS3df3A
user_id:
description: 'The user hashed id'
type: string
example: AS3df3A
name:
description: 'The name of the transaction'
type: string
example: 'Rule 1'
rules:
description: 'A mapped collection of the sub rules for the BankTransactionRule'
type: array
items:
$ref: '#/components/schemas/BTRules'
auto_convert:
description: 'Flags whether the rule converts the transaction automatically'
type: boolean
example: true
matches_on_all:
description: 'Flags whether all subrules are required for the match'
type: boolean
example: true
applies_to:
description: 'Flags whether the rule applies to a CREDIT or DEBIT'
type: string
example: CREDIT
client_id:
description: 'The client hashed id'
type: string
example: AS3df3A
vendor_id:
description: 'The vendor hashed id'
type: string
example: AS3df3A
category_id:
description: 'The category hashed id'
type: string
example: AS3df3A
type: object