Supplier and invoice headers first.
Vendor name, invoice number, dates, and currency give AP systems the keys they need to match records.
Totals and taxes next.
Subtotal, tax, discount, and total land in fixed fields so validation rules stay simple.
Line items as a list.
Description, quantity, unit price, and amount arrive as rows you can post into your ledger workflow.