Acquire.Accounting._debitnote module¶
-
class
DebitNote(transaction=None, account=None, authorisation=None, is_provisional=False, receipt_by=None, receipt=None, refund=None, bucket=None)[source]¶ Bases:
objectThis class holds all of the information about a completed debit. This is combined with credit note of equal value to form a transaction record
Return the authorisation that was used successfully to withdraw value from the debited account
-
static
from_data(data)[source]¶ Return a DebitNote that has been extracted from the passed json-decoded dictionary
-
is_provisional()[source]¶ Return whether or not the debit was provisional. Provisional debits are listed as liabilities
-
needs_receipting()[source]¶ Return whether or not this DebitNote transaction needs receipting - if it does, then it must be receipted by the CreditNote before DebitNote.receipt_by(). If this does