aeat.application.review._actions module

Application services for manual review annotations.

update_ledger_review() and update_invoice_review() return updated WorkflowState instances by appending WorkflowEvent history to the relevant LedgerReviewRecord or InvoiceReviewRecord.

update_ledger_review(state, transaction_id, *, fields=None, skipped=None, split=None, clear_split=False, action, reason='')[source]

Return a WorkflowState with workflow attention history for one transaction.

Return type:

WorkflowState

Parameters:
update_invoice_review(state, invoice_id, *, fields, action, reason='')[source]

Return the updated WorkflowState with review metadata for one invoice applied.

Return type:

WorkflowState

Parameters: