Daybook DocsDaybook Docs
Browse

Claims spreadsheets

What a claims or aging report from your practice system needs, what Daybook reads when it is there, the rows it writes, and a sample sheet.

A claims spreadsheet is the claims or aging report your practice system exports, as a CSV file or an Excel workbook (.xlsx or .xlsm). In the Daybook app, open Integrations → Data imports, choose Claims and upload it. Daybook reads it into a preview that writes nothing. Accept writes the claims, each as submitted, with its follow-up step on the worklist. Nothing goes back to the practice system.

Download the sample sheet (CSV, 7 rows). The sample sheet, below, says what it holds.

What a file must have

A file needs a claim number, a service date, the patient's name, a payer and an amount. Everything else is read when it is there. A file without one of these five is answered with the columns it lacks, for you to match to the file's own headings.

ColumnAlso read asWhat it takes
claim numberClaim, Claim #, Claim ID, Patient Control Number, Account Number, PCN1 to 40 letters, digits and dashes. Use the number the practice system sent to the payer as the claim's own number, so remits land on the claim.
service dateDOS, Date of Service, Service Date FromThe first day of service. A service date to column is read too; without one, the service ends on the same day.
patient namePatient, Patient Name, Full Name; or two columns, First Name and Last NameOne column as Last, First or First Last, or the first and last name in two columns. A middle name or initial is read past, and so is a trailing Jr, Sr, II, III or IV. One word alone is refused: a claim needs a first and a last name.
payer name or payer idPayer, Insurance, Carrier; Payer CodeEither one. A payer on file is found by its id, then by its name in any case. A payer not on file is added when you accept (Payers, below).
billed or balanceCharge, Charges, Total Charge; Insurance Balance, Ins Balance, Payer Balance, BalanceDollars and cents. The balance is what the payer still owes, never the patient's share. With only one of the two, it stands in for the other, and the preview says which. A bare Balance is read only when no more specific heading is there. A negative balance is not read.

What Daybook reads when it is there

Every heading is matched in any case, with spaces and punctuation ignored. A column Daybook does not read is named in the preview by its heading and left out. No problem or note in the preview repeats a cell of your file.

ColumnAlso read asWhat it takes
diagnosis codesDiagnosis, Diagnosis Code, Dx, ICD, ICD10, Diag, Primary Diagnosis; or numbered columns such as Dx1 to Dx12ICD-10-CM. One cell may hold several, split on commas, semicolons, pipes and spaces, and E119 reads as E11.9. Numbered columns are read as one list in number order. At most 12 a claim, the first the principal.
modifiersModifier, Mod, Mods, Procedure Modifier, CPT Modifier; or numbered columns such as Modifier 1 to Modifier 4Two letters or digits each, at most four a line. A CPT cell may carry them after its code: 99213-25, 99213 25, 99213:25:59. A modifiers cell that holds anything wins over that suffix.
place of servicePOS, POS Code, Place of Service Code, Service PlaceThe two-digit CMS Place of Service code (11, 02). 2 reads as 02, and 11 - Office reads as 11.
remark codeRemark, Remark Codes, RARC, Remittance RemarkA remittance advice remark code such as N130 or MA130, the first in the cell that the code list holds.
denial codeDenial, Denial Reason Code, CARC, Reason Code, Claim Adjustment Reason CodeCO-197 or 197, kept when the code list holds it. In a cell of several codes the first is the claim's, and a remark code among them (CO-16, N290) is its remark code when the file has no remark code column or that cell is blank. A column headed Denial Reason is read as the denial code only when the file has no other denial code column and more than half of its filled cells are codes alone; otherwise it is the denial reason, below. A denial code from a spreadsheet is the practice system's word: the claim stays submitted and no denial step opens.
practicePractice Name, Facility, Billing Provider, Group NameThe practice, matched by name to a practice on file. Not Location, which is where the service was given.
rendering providerProvider, Provider Name, Doctor, Clinician, RenderingThe provider, matched by name to one provider of the practice. Last, First and First Last both read, and a leading Dr or a trailing credential such as MD or LCSW is read past.
member idSubscriber ID, Insured ID, Insurance ID, Policy NumberThe patient's id with the payer.
date of birthDOB, Patient DOB, Birth DateMM/DD/YYYY or YYYY-MM-DD.
billing NPIBilling Provider NPI, Group NPI, Practice NPIFinds the practice before any other way.
rendering NPIProvider NPI, NPIFinds the provider before any other way.
CPTHCPCS, Procedure Code, ProcedureOne service line a row. A claim keeps its lines when each of its rows has one.
unitsUnit, Qty, QuantityA whole number from 1 to 9,999. 1 when blank.
date billedBilled Date, Date Submitted, Last BilledWhen the claim was sent. Without it, the claim's age counts from the date of service.
payer claim numberICN, TCN, Claim Control NumberThe payer's own number for the claim.
group numberGroup No, Group IDThe plan's group number.
subscriber nameInsured First Name, Insured Last NameWhen the subscriber is someone else, the patient is their dependent on a claim status check.

Rows that share a claim number are one claim. Their billed amounts and balances add up, so a report with one row a charge line carries each line's own amounts. Diagnosis codes from those rows make one list in the order they first appear, and each line points at its own row's codes.

What the practice system reported

An export also says things about a claim in the practice system's own words and figures: its status there, why it was denied, the biller's note, what insurance paid. Daybook reads these fourteen columns into what the practice system reported on the claim. It is kept beside the claim and shown on it as the practice system's report, with the practice system the upload named and when the file was accepted.

ColumnAlso read asWhat it takes
reported statusStatus, Claim Status, Encounter Status, Billing Status, Current StatusThe practice system's own word for the claim, its spaces collapsed, at most 120 characters.
denial reasonDenial Reason, Denial Description, Denial Reason Description, Rejection Reason, Reason, Denial MessageThe practice system's denial words, at most 500 characters. When Denial Reason is read as the denial code, the next of these headings is read here. With none, a denial code cell that held a further denial code, or words, is kept here whole.
noteNotes, Comments, Comment, Follow Up Notes, Follow-Up Note, Billing Notes, Last Note, RemarksThe biller's note, its line breaks kept, at most 2,000 characters.
insurance paidIns Paid, Insurance Payments, Payer Paid, Primary Paid, Receipts, PaymentsDollars and cents, never below zero.
adjustmentsAdjustment, Write Off, Write-Off, Contractual Adjustment, AdjDollars and cents. -12.00, (12.00) and 12.00- read as below zero.
allowedAllowed Amount, Contract Amount, ExpectedDollars and cents, never below zero.
patient balancePt Balance, Patient Responsibility, Patient Due, Client BalanceWhat the practice system says the patient owes, in dollars and cents, never below zero.
secondary payerSecondary Insurance, Secondary Insurance Name, Secondary CarrierThe secondary insurance as the practice system names it, at most 120 characters.
secondary member idSecondary Policy Number, Secondary Insured IDRead as a member id is.
authorization numberAuth Number, Auth No, Auth #, Prior Auth, Prior Authorization, AuthorizationAt most 60 characters. A bare Auth is not read, since it may hold a yes or a no.
referring providerReferring Physician, Referring Doctor, ReferringA name, at most 120 characters. A cell that reads as an NPI is read as the referring NPI.
referring NPIReferring Provider NPI, Referring Physician NPITen digits.
service locationLocation, Place, Site, OfficeWhere the practice system says the service was given, at most 120 characters.
account numberChart Number, Chart #, Chart, Patient ID, Account #, MRN; Patient Account Number when another heading gave the claim numberThe practice system's chart or patient account number, at most 60 characters.

Rows that share a claim number report one claim. The money adds up across the rows, as billed and balance do, and every other field is the first row's that has one.

  • A value longer than its limit is cut at the limit, and the preview counts those values in one note, for example: "2 note values were longer than 2,000 characters and were cut to fit." The row is written.
  • Money that does not read, or reads below zero where the figure cannot be, is left blank and counted the same way. The row is written.
  • A blank cell is nothing. It is never kept as an empty value and clears nothing on file.

None of it is Daybook's own record of the claim. An 835 decides what was paid and what was denied. The reported money moves no balance and posts nothing, the reported status never moves the claim's status, and the reported denial reason opens no denial step and feeds no rule.

Five of the fourteen are held sealed: the denial reason, the note, the secondary member id, the authorization number and the account number. They are answered to a person who may see a patient's full identity, and left out for anyone else.

A later file

Each field a later file gives replaces the one on file, money included, and a cell it leaves blank keeps what is on file. So the fields on a claim may come from different files, and the practice system's name and the date are the last file's. The preview marks the claim changed with one sentence a field, such as "reported status: changed" or "note: added", never the words themselves, and the claim's timeline gets one line for the import. A file that says what is on file writes nothing. A claim's report is refreshed whatever wrote the claim, an 837 or a remittance included, and only the practice system's words and figures move.

Read again on a kept file only fills what is blank, and never replaces a value on file. So a file uploaded before Daybook read these columns is filled with no new upload, and reading an older file again puts back nothing a newer file wrote.

When a column is not there

  • No member id or date of birth. The row is written, and the preview counts those rows in its notes. Daybook sends no claim status check for that claim until both are on the patient, and Check status on the claim says what it lacks.
  • No billing NPI. The practice is found by the practice column, matched by name; then by the billing NPI given for the whole file; then by the practice in view; then by the firm's only practice. A name that matches no practice, or two, refuses its row. A claims file never adds a practice.
  • No rendering provider on file. When Daybook finds no provider by NPI or by name, and the practice has more than one, the claim is filed under its practice, and the preview counts those rows in its notes.
  • A cell that is there and does not read. A date of birth that is no date, for example, still refuses its row: the file says something and Daybook does not guess what. A diagnosis code, modifier or place of service that does not read is left out and counted, and its row is written.

The rows it writes

A claims spreadsheet of any size writes the rows that read. The preview says how many rows will be written and how many will not, and Accept is there when at least one row is new or changed. The refused rows are listed with their reasons in the problems file, which you download from the preview. Fix them and upload them as a file of their own, or, once what they lacked is on file, use Read again on the import: Daybook keeps every file it reads and matches its rows to what is on file now.

An 837 file and a roster are unchanged: one refused row stops Accept for the whole file. The same file uploaded twice is answered as already imported.

Payers

A payer the file names that is not on file is listed in the preview with the number of claims under it, and added when you accept. So a person sees two spellings of one payer before pressing Accept. A person who may not edit the firm's payers is told so, and cannot accept a file that adds one. A row with a payer id that no payer has, and no payer name, is refused.

You do not need to upload your payers first. A payers file is still the way to bring payer ids and phone numbers.

A claim already on file

A claim number already on file is not added again. While the claim is open and no remittance has posted to it, a later file's balance becomes the claim's balance, and the follow-up step waiting on the claim takes the same dollars. Once a remittance has posted, the file's balance is shown on its row and written nowhere: an 835's money is never replaced by a spreadsheet.

A claim from an earlier spreadsheet that has no diagnosis codes, or no place of service, gains them from a later file or from Read again. One with no denial code, no remittance on it and no payer's denial gains the file's denial code, and its remark code where it has none. That never marks the claim as denied by the payer: it stays submitted and no denial step opens. A code on file is never replaced, a blank cell clears nothing, a claim from an 837 gains none of these codes, and the service lines on file are not rewritten.

Exports that read as they come

Practice systems head their columns in their own words. These headings, and the ones in the tables above, read with no setup:

ColumnHeadings
claim numberClaim #, Claim ID; and when the file has no claim id, Encounter ID, Encounter #, Encounter Number, Visit ID, Visit #, Visit Number, Invoice #, Invoice Number, Charge ID, File ID
patient nameClient, Client Name
date of birthPatient Birth Date, Birthdate, Client DOB
member idPolicy #, Policy No, Subscriber #, Member #, Insured ID #, Insurance Member ID, Primary Policy Number, Primary Insurance ID
payer namePrimary Insurance, Primary Insurance Name, Primary Insurance Plan, Insurance Plan, Insurance Plan Name, Primary Payer, Primary Carrier, Carrier Name
payer idPayer ID #, Carrier Code, Insurance Code, CPID
service dateService Start Date, From DOS, Appointment Date, Date
billedTotal Charges, Charge Amount, Fee, Billed Charges
balanceIns Bal, Primary Insurance Balance, Insurance Responsibility, Carrier Balance, Unpaid Insurance
date billedFirst Billed Date, First Bill Date, Last Bill Date, Claim Date, Date Filed, Submitted
CPTService Code, Billing Code, Proc Code, CPT/HCPCS
unitsQty, Quantity

A claim id is read before an encounter, visit, invoice or charge id, since remits land on the number that was sent to the payer. A heading that could hold a name, such as a bare Member or Subscriber, is left for you to match. Financial Class, Scheduling Provider and Unit Charge are not read as a payer, a provider or a billed amount.

The shape of a report reads too:

  • Total and subtotal rows are left out, and the preview counts them. A row that opens or ends with Total, Totals, Grand Total or Subtotal, with no date of service and no claim number, is not a claim.
  • Aging columns such as 0-30, 31-60, 61-90, 91-120 and 120+, in a file with no balance column, are added up into each row's balance, and the preview says so.
  • A credit, a claim whose balance adds up to less than zero, is not read, and the preview counts those claims in one note.
  • A title block and a run date above the heading row, and a payer or provider named once on a group heading above its claims, are read by Claude when the headings alone do not read. Claude reads the layout; Daybook gives each group's payer or provider to the rows under it, and the preview counts those rows. Nothing is written until you accept.

Match a heading Daybook does not know once for your practice system, and that system's next file reads with no setup.

The sample sheet

The sample sheet is a made-up aging report: 5 claims on 7 rows, across the three practices of the sandbox sample files. Every patient, member id and claim in it is made up. It carries the columns above under Daybook's own headings, so it reads with no setup and no column left out:

  • a claim of two service lines, with the diagnosis codes E11.9, I10 in one cell and a 25 modifier in the modifiers column;
  • a 25 modifier carried on the CPT as 99213-25;
  • place of service 11, and 02 on one claim;
  • a denial code CO-197 with the remark code N130;
  • a practice and a rendering provider by name on every row, and no NPI column;
  • what the practice system reported: a claim status on every claim, three notes, insurance paid and a patient balance on the partly paid claim and the denied one, and two authorization numbers.

Upload 01-practices.csv and 02-providers.csv from the sandbox sample files first, to a sandbox, so its practices and providers are on file.

What the upload answers

The Data imports page uploads the file with POST /data-imports/claims and "format": "ar_csv", and draws the preview from the answer. These are the parts of the answer a claims spreadsheet fills.

  • mayAcceptboolean
    true when at least one row is new or changed, refused rows or not. Accept writes those rows and leaves the refused ones for the problems file.
  • refusalstring | null
    Why Accept is not offered, when mayAccept is false: no row to write, or a payer to add that the person may not add.
  • countsobject
    The file's rows by outcome.
    Properties
    • rowsinteger
    • newinteger
    • changedinteger
    • unchangedinteger
    • refusedinteger
      The rows that will not be written.
  • payersToAddobject[]
    The payers Accept will add, in the order the file first names them. An empty array when the file adds none.
    Properties
    • namestring
    • payerIdstring | null
      null when the file gives none.
    • claimsinteger
      The file's claims under that payer.
  • notesstring[]
    One sentence for each kind of thing the rows lack, counted, never naming a row, for example: "42 rows have no member id. A payer asks for it on a call, so add it on the patient."
  • rows[].readobject
    What a row read for its claim, on each row with a claim, in a file of up to 1,000 claims.
    Properties
    • diagnosisCodesstring[]
      ICD-10-CM, dotted, the principal first. Empty when the row gave none.
    • linesobject[]
      Each service line, in order: procedureCode, and modifiers, at most four.
    • placeOfServicestring | null
      The two-digit CMS code.
    • remarkCodestring | null
      The remark code the code list holds.
A row of the preview
{
  "row": 2,
  "key": "AR-26-0101",
  "outcome": "new",
  "problems": [],
  "read": {
    "diagnosisCodes": ["E11.9", "I10"],
    "lines": [
      {
        "procedureCode": "99214",
        "modifiers": ["25"]
      },
      {
        "procedureCode": "36415",
        "modifiers": []
      }
    ],
    "placeOfService": "11",
    "remarkCode": null
  }
}

Accept, POST /data-imports/{id}/accept, answers written, new, changed and unchanged as before, with refused, the rows left unwritten, and payersAdded. Its receipt says both, for example: "Added 37 claims. 3 rows with problems were not saved: fix them from the problems file and upload them again. Added 2 payers to the firm's payers."

What a claim answers

The claim's read, GET /claims/{id}, answers what the practice system reported as reported. It is null when no file gave any of it, else an object of sixteen keys, each null when no file gave it. Money is integer cents. The five sealed keys are answered to a person who may see a patient's full identity, and left out, keys and all, for anyone else.

  • reportedobject | null
    What the practice system reported about the claim. Shown beside the claim's own facts as the practice system's, never mixed into them and never edited.
    Properties
    • sourceSystemstring | null
      The practice system the upload named, or null when it named none.
    • reportedAtstring
      When the file that last wrote the report was accepted, RFC 3339.
    • statusstring | null
      The practice system's own word for the claim. Never the claim's status.
    • denialReasonstring | null
      The denial reason in the practice system's words. Sealed.
    • notestring | null
      The biller's note, its line breaks kept. Sealed.
    • insurancePaidCentsinteger | null
      What the practice system says insurance paid.
    • adjustmentsCentsinteger | null
      What the practice system says was adjusted. May be below zero.
    • allowedCentsinteger | null
      What the practice system says was allowed.
    • patientBalanceCentsinteger | null
      What the practice system says the patient owes.
    • secondaryPayerNamestring | null
      The secondary insurance as the practice system names it.
    • secondaryMemberIdstring | null
      The secondary member id. Sealed.
    • authorizationNumberstring | null
      An authorization number. Sealed.
    • referringProviderNpistring | null
      The referring provider's NPI, ten digits.
    • referringProviderNamestring | null
      The referring provider as the practice system names them.
    • serviceLocationstring | null
      Where the practice system says the service was given.
    • accountNumberstring | null
      The practice system's chart or patient account number. Sealed.
A claim's report
"reported": {
  "sourceSystem": "Example PM",
  "reportedAt": "2026-11-24T15:02:11Z",
  "status": "Denied",
  "denialReason": "No auth on file",
  "note": "Waiting on records",
  "insurancePaidCents": 0,
  "adjustmentsCents": -1500,
  "allowedCents": 9000,
  "patientBalanceCents": 2000,
  "secondaryPayerName": null,
  "secondaryMemberId": null,
  "authorizationNumber": "AU-0417",
  "referringProviderNpi": null,
  "referringProviderName": null,
  "serviceLocation": "Suite 2",
  "accountNumber": "CH-2209"
}
On this pageWhat a file must haveWhat Daybook reads when it is thereWhat the practice system reportedWhen a column is not thereThe rows it writesExports that read as they comeThe sample sheetWhat the upload answersWhat a claim answers