Earlier the prebooking account and subaccount could only be set on a document level. If the new setting “Use prebooking account & subaccount from invoice lines” is activated in Supplier ledger preferences (AP101000) -window. With this setting prebooking account and subaccount can be inserted via each invoice line from the Purchase invoices (AP301000) -window.
Behavior is also supported from SupplierInvoice API endpoints; POST&PUT&GET. In the GET response accessed by parameter “expandLinePrebookAccounts” and response will expand these details when set to true.
From this implementation initially, this option is available for Swedish companies when the “Expense reclassification” is enabled (CS100000).