From f0f6382bbd42da9d676291f28ff3f1b5c52ba68b Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Mon, 1 Jul 2024 11:34:26 +0200 Subject: [PATCH] update docs --- models/reporting/xero/schema.yaml | 7 ++++++- models/staging/xero/schema.yml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) 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: