Magidoc

CustomerInvoiceReceiptAllocation
Object

One receipt's application against a customer invoice, read from the invoice's side.

The stored allocation lives on the receipt, so it carries the invoice's id and nothing of the payment that made it. This is that allocation with the receipt named alongside it — the number, the day the cash came in, and what it took off this invoice.

Fields

#

_id

ID !
Non-null

receiptId

ID !
Non-null

receiptDocumentNumber

The receipt's own number. Null on a payment stored before receipts were numbered, on an import that carries its source's identity instead, and where the receipt is outside the reader's companies.

paymentDate

Non-null

appliedAt

When this application was recorded. Null for legacy allocations without a timestamp; not the date cash arrived.

amount

Non-null

Usages

#

References

#