Payroll import
Payroll in the books from the payroll provider's own file: one entry per pay date, totals only, ready to match the bank.
How payroll gets into the books
1barn never calculates pay. The hours staff work go from the payroll report to your payroll provider, the provider works out the pay, taxes and withholding and pays everyone, and its report comes back to 1barn as a file. The import turns that file into entries in the books.
The import reads Patriot Software's Payroll Details report. It shows once 1barn has turned bills on for your business (see Bills and vendors). Other providers can come later by their own mapping.
It's totals only. Each pay date becomes one entry with the wages, the employer's taxes and what's owed to the government, never a line per person. No names come in, and the file isn't kept after it's read, so someone with Books sees what payroll cost, not what each person was paid. That stays in Patriot.
The mapping
Settings › Books › Payroll says which account each money column of Patriot's file posts to. It starts from the chart's payroll accounts (Wages, Payroll taxes and Payroll liabilities in 1barn's templates), so most books import with no setup at all:
- Earnings (Regular, Overtime, PTO): paid out as wages, to Wages.
- Withholdings (federal income tax, the state's tax, Medicare, Social Security): held for the government, to Payroll liabilities.
- Employer taxes (the employer's Medicare and Social Security, federal and state unemployment): the expense on Payroll taxes, and what's owed on Payroll liabilities.
Each row shows Patriot's column, where it Posts to and, for an employer tax, where it's Owed on. A pick "by role" follows whichever account holds that role in your chart; when no account holds it yet, the row says to pick one. Gross pay and net pay aren't mapped: gross is the earnings added up, and net pay comes out of the bank you pick. Net pay usually comes out of sets that bank, or Ask at each import. A state's columns are read by name, so another state's tax lands on Payroll liabilities until you map it elsewhere. Save mapping keeps it for every import after.
Getting the file from Patriot
- In Patriot, open the Payroll Details report.
- Pick the dates: the pay dates since your last import. A file that overlaps the last one is fine; pay dates already in the books are left out.
- Export it as CSV.
Every column must be one 1barn knows. A column it doesn't (a new deduction, say) stops the preview with its name, rather than leave money out of the totals. A file that isn't a CSV is turned away before it's sent.
Importing
Import payroll is on Books › Journal. Choose a file…, then pick the bank Net pay comes out of if the mapping doesn't say. The preview shows Patriot's company, then every pay date in the file with the entry it would post, debits and credits, and that it's balanced. Before any of it, 1barn checks every paycheck adds up: Regular, Overtime and PTO come to Gross Pay, and Gross Pay less the withholdings comes to Net Pay. A file that doesn't is refused with each row that's off, by row number and pay date, never by name.
Import N pay dates names the total and posts them. Each entry is dated its pay date (a locked month moves it to the first open day, as any posting).
What each pay date posts
- Wages, debited for gross pay.
- Payroll taxes, debited for the employer's four taxes.
- Payroll liabilities, credited for what's withheld plus the employer's taxes: what the business owes until it pays the tax deposits.
- The bank, credited once for the direct deposits' net pay, and once for each paper check, with its check number and no name.
Columns going to the same account are one line. The net lines are uncleared until the bank shows them: the direct deposit debit matches the first line by amount, and each paper check matches its line by number when it's cashed, the same as any check (see Bank feeds and reconciling). When the tax deposits come through the bank, categorize them to Payroll liabilities, or make a rule that does.
Pay dates already in the books
A pay date is imported once, never merged:
- A pay date already imported with the same figures is left out and shown as already in the books.
- A pay date already imported with different figures (Patriot corrected a paycheck, say) is refused, with the difference. Undo the earlier import first, then import the corrected file.
- A pay date the QuickBooks history already has wages on is refused too. Patriot posts to QuickBooks, so the payroll from before the switch comes with the history, and the import picks up from the first pay date after it.
Undoing an import
Settings › Books › Payroll lists every import, newest first: the file, its pay dates, gross and net, the entries it posted, and Undo. Undo shows the reversing entries first. Each pay date's entry is reversed on its own day (a locked month moves it to the first open day); nothing is deleted. Then the file can be imported again. It's refused while the bank has matched one of its lines (undo that match first) or a reconciliation holds one (unlock it first). A file previewed but never imported is listed quietly.
Who can do what
The owner and managers with the Books permission set the mapping, import and undo. Because the entries are totals with no names, Books is enough; what each person is paid stays with the Pay permission and with Patriot. Payroll entries never count toward a vendor's 1099 (see 1099s and W-9s). Every night the morning checks confirm Payroll imports = their entries.
Ask 1barn's payroll tools (the mapping, the imports, a preview, an import and its undo) work inside 1barn only, and an import or an undo shows what it will post before you confirm. Like every money tool, they stay out of Claude and ChatGPT.