DocumentLink
ResponseA many-to-many link from a document to one accounting object (core.document_link, D-02). 'entry' resolves to transactions.transaction (the whole journal entry, not a single line). Public API (wave 3, J2): record_type/record_id name the record in the public resources' words; target_type/target_id are the app's.
Returned in responses. Its enums are open: tolerate values not listed here, which later versions may add.
Attributes
6The kind of record a document is attached to: a purchase or sales invoice, a transaction, a bank statement line, a fixed asset, or an expense report (or one of its lines). New values may be added: treat a value you do not know as valid, not as an error.
Known values (open: expect new ones) purchase_invoice, sales_invoice, transaction, bank_line, fixed_asset, expense_report, expense_report_line, dividend_decision