repackage properly

This commit is contained in:
ktims committed 2025-11-23 21:11:06 -08:00
1 parent f1c8895194
commit f973ead318
9 files changed
+246 -36

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
from dataclasses import dataclass
from datetime import date
from decimal import Decimal
from uuid import UUID
@dataclass
class Transaction:
"""Represents an Actual Budget transaction to be submitted.
See: https://actualbudget.org/docs/api/reference#transaction for field descriptions
"""
account: UUID
date: date
amount: Decimal # Note: decimal dollars, JS shim will convert to cents as described in the API
payee: str # imported_payee in API
notes: str
imported_id: str