removedInput schema / properties / basecurrency
Removed value: -{
- "description": "The base currency of the business",
- "type": "string"
-}
removedInput schema / properties / creditjournal
Removed value: -{
- "description": "ID of the account to credit",
- "type": "string"
-}
changedInput schema / properties / date / description
Previous value: -"Transaction date"New value: +"Transaction date, YYYY-MM-DD"
addedInput schema / properties / date / pattern
Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
removedInput schema / properties / debitjournal
Removed value: -{
- "description": "ID of the account to debit",
- "type": "string"
-}
removedInput schema / properties / exchangerate
Removed value: -{
- "description": "Exchange rate if transaction currency differs from base currency",
- "type": "number"
-}
changedInput schema / properties / id / description
Previous value: -"ID of the transaction, only required for updates"New value: +"ID of the transaction to update. Omit when sending items."
changedInput schema / properties / ignored / description
Previous value: -"Whether to ignore this transaction in reports"New value: +"Whether to exclude this transaction from the ledger"
addedInput schema / properties / items
Added value: +{
+ "description": "Several transactions to update in one call. Partial success: owned ids are written and the rest come back in `errors`. `deleted` true bins the transaction and the income/expense derived from it.",
+ "items": {
+ "properties": {
+ "date": {
+ "description": "Transaction date, YYYY-MM-DD",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "deleted": {
+ "type": "boolean"
+ },
+ "description": {
+ "description": "Description of the transaction",
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "ignored": {
+ "description": "Whether to exclude this transaction from the ledger",
+ "type": "boolean"
+ },
+ "notes": {
+ "description": "Additional notes about the transaction",
+ "type": "string"
+ },
+ "value": {
+ "description": "Transaction amount in the base currency",
+ "type": "number"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "minItems": 1,
+ "type": "array"
+}
removedInput schema / properties / transactioncurrency
Removed value: -{
- "description": "The currency of the transaction if different from base currency",
- "type": "string"
-}