diff --git a/models/reporting/xero/schema.yaml b/models/reporting/xero/schema.yaml index d9fede2..a645fbc 100644 --- a/models/reporting/xero/schema.yaml +++ b/models/reporting/xero/schema.yaml @@ -833,7 +833,12 @@ models: description: | What kind of transaction is this record. - Can be one of: RECEIVE, RECEIVE-OVERPAYMENT, RECEIVE-PREPAYMENT, SPEND, SPEND-OVERPAYMENT, SPEND-PREPAYMENT, RECEIVE-TRANSFER, SPEND-TRANSFER + Can be one of: RECEIVE, RECEIVE-OVERPAYMENT, RECEIVE-PREPAYMENT, + SPEND, SPEND-OVERPAYMENT, SPEND-PREPAYMENT, RECEIVE-TRANSFER, + SPEND-TRANSFER + + The type will affect the sign of all amounts. Amounts we send are + negative, amounts we receive are positive. You can read more here: https://developer.xero.com/documentation/api/accounting/types#bank-transactions tests: diff --git a/models/staging/xero/schema.yml b/models/staging/xero/schema.yml index c93d4d5..df88db4 100644 --- a/models/staging/xero/schema.yml +++ b/models/staging/xero/schema.yml @@ -625,7 +625,12 @@ models: description: | What kind of transaction is this record. - Can be one of: RECEIVE, RECEIVE-OVERPAYMENT, RECEIVE-PREPAYMENT, SPEND, SPEND-OVERPAYMENT, SPEND-PREPAYMENT, RECEIVE-TRANSFER, SPEND-TRANSFER + Can be one of: RECEIVE, RECEIVE-OVERPAYMENT, RECEIVE-PREPAYMENT, + SPEND, SPEND-OVERPAYMENT, SPEND-PREPAYMENT, RECEIVE-TRANSFER, + SPEND-TRANSFER + + The type will affect the sign of all amounts. Amounts we send are + negative, amounts we receive are positive. You can read more here: https://developer.xero.com/documentation/api/accounting/types#bank-transactions tests: