Timesheet import
Import a timesheet
You already hold the work record — that is what self-billing means. Drop the file in and each row becomes an invoice line, matched to your register by the contractor’s CTR-000n reference and grouped into one draft invoice per contractor. Nothing is issued: every draft still goes through approve → issue → supplier acceptance.
Showing sample data — connect Supabase to persist imported drafts beyond this session.
Used only where the file has no date column — row dates set each invoice’s period when they are there.
Columns
contractor_ref — requiredMatches the register (CTR-0001)
description — requiredBecomes the line description
unit_price — requiredAlso read as
rate / pricequantity — optionalAlso
hours/units; defaults to 1date — optionalSets each invoice’s period span
unit_code — optionalUN/ECE Rec 20; defaults to C62
VAT is never taken from the file. Each line’s VAT comes from that supplier’s registration status, so an unregistered contractor’s lines stay category O whatever a spreadsheet says.