Smaregi Staff Data and Receipt Roller Staff Data Mapping
After connecting Smaregi to Receipt Roller, Smaregi's staff master is automatically converted into Receipt Roller's staff data (StaffDto). This article summarizes the field-by-field correspondence and the quirks specific to Smaregi.
To sync, click "Sync with Smaregi" from the menu in the top-right of the Staff screen. For details, see Smaregi POS integration setup.
Field mapping table
Smaregi /pos/staffs |
Receipt Roller (StaffDto) |
Notes |
|---|---|---|
staffId | SmaregiStaffId | Smaregi's internal ID. Used as the match key on subsequent syncs. |
staffCode | EmployeeNumber | Stored as the employee number. |
staffName | LastName + FirstName + DisplayName | Split into last/first name at the first space (e.g. "Shohei Tanaka" → LastName=Tanaka / FirstName=Shohei). If there is no space, the entire string goes into LastName and FirstName is left blank. The original string is preserved as-is in DisplayName. |
email | Email | If blank, the existing value on the Receipt Roller side is kept. |
displayFlag | IsActive | "0" (hidden) is excluded from the sync. "1" maps to IsActive = true. |
Fields that are not imported
Because of how the Smaregi /pos/staffs endpoint is specified, there is no corresponding data for the following Receipt Roller fields. Register these separately on the Receipt Roller side — they are never overwritten on re-sync.
- Phone number (
Phone) - Date of birth (
DateOfBirth) - Hire date (
HireDate) - Employment type (
EmploymentType) — full-time, part-time, contract, etc. - Hourly rate (
HourlyRate) - Address / emergency contact
- Job title (
Position) — Smaregi returns aroleId, but resolving it to a job title requires a separate endpoint, which is not yet supported in the current version - Assigned stores (
AssignedStoreIds) — Smaregi's /pos/staffs does not return store assignments - Name reading / kana (
LastNameKana/FirstNameKana) — StaffDto has no corresponding field yet.staffNameKanais planned to be used once the field is added
Matching and new registrations
When staff are imported from Smaregi, matching against existing staff is done solely by an exact match on SmaregiStaffId. If there is no match, the staff member is registered as new. No automatic matching by name or employee number is performed.
Sync timing
- Smaregi → Receipt Roller: Triggered manually with the "Sync with Smaregi" button in the menu at the top-right of the Staff screen. All staff are fetched from
/pos/staffsand matched bySmaregiStaffIdto add or update records. - Behavior on re-sync: For existing staff (matched by the same
SmaregiStaffId),EmployeeNumber/LastName/FirstName/DisplayName/Email/IsActiveare overwritten. Fields added on the Receipt Roller side —HourlyRate/HireDate/EmploymentType/Position/AssignedStoreIds/ emergency contacts, etc. — are preserved. - Receipt Roller → Smaregi: Not supported in the current version. Staff registered on the Receipt Roller side are not automatically reflected back to Smaregi.
Resolving the staff attributed to a transaction
Keeping the staff master synced allows the staffId in transaction data (PosTransactionDto) to be automatically resolved to a Receipt Roller staff record. This means receipt displays and per-staff sales totals show the "name registered in Receipt Roller" rather than the "Smaregi internal ID."
If the staff master has not been synced, the staffName included in the transaction data (the name as displayed on the Smaregi side) is used as-is.
Points to note
- If a staff member is physically deleted on the Smaregi side, matching by that
SmaregiStaffIdstops working. On Smaregi, we recommend hiding staff viadisplayFlaginstead of deleting them. - Even if a staff member is set to
IsActive = false(treated as having left) on the Receipt Roller side, resolving the staff attribution of past transactions continues to work. Do not delete the records of staff who have left. - The automatic name-splitting is a simple process that splits into two at the first space. Compound surnames or names with three or more words may be split in unintended ways. You can correct this individually on the Receipt Roller side after syncing.
- If a single staff member is assigned to multiple stores, set multiple stores in
AssignedStoreIdson the Receipt Roller side after syncing.
Related guides
- StaffDto reference (for developers) — full field specification of the canonical model
- Smaregi Platform API: GET /pos/staffs (external — official reference)
- Smaregi transaction data mapping
- Smaregi customer data mapping
- Smaregi product data mapping
- Smaregi POS integration setup
-
Smaregi Transaction Data and Receipt Roller Transaction Data MappingA technical explanation of how transaction data fetched from the Smaregi Platform API is mapped into Receipt Roller's transaction data model. Covers the field mapping table, status code conversion, payment method normalization, resolving line items/customer/staff information, timezone handling, and idempotency.
-
Two-Way Member Information Sync with Smaregi/SquareLearn how ReceiptRoller's member information syncs bidirectionally with connected POS systems like Smaregi and Square. Covers which fields sync, sync timing, conflict priority rules, new customer matching, supported POS systems, and troubleshooting.
-
How Digital Receipts WorkAn explanation of how ReceiptRoller's digital receipts work, and how to set up POS integration with Square and Smaregi.
-
Smaregi x ReceiptRoller — Digital Receipts, Customer Management, and Sales Analysis in One AppLearn how ReceiptRoller Link connects with Smaregi checkouts to unify automatic digital receipt issuance, member management, sales analysis with AI advice, Apple/Google Wallet membership cards, SNS integration, and flyer distribution. Install "ReceiptRoller Link" from the Smaregi App Marketplace to get started today with no complicated API setup required.
-
Smaregi Product Data and Receipt Roller Product Data MappingExplains how Smaregi's product master is converted into Receipt Roller's product master (ProductDto), field by field. Covers the correspondence for product code, product name, category, price, and cost, along with quirks specific to Smaregi.