add readme & docstrings

This commit is contained in:
2025-04-24 16:30:25 -07:00
parent 336b732c60
commit b3cfb961d2
3 changed files with 114 additions and 1 deletions

View File

@@ -6,9 +6,14 @@ 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
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