Skip to content

Custom DocType reference

Generated by make api-docs — do not edit by hand.

CRUD via Frappe REST: GET|POST /api/resource/<DocType>, GET|PUT|DELETE /api/resource/<DocType>/<name> (see ../frappe-rest.md). Child tables (istable) are only reachable embedded in their parent. The same shapes are modelled as components.schemas in the OpenAPI spec.

ATF FFL Record

app: ffl_core · module: FFL Core · roles: Purchase User, Stock User, System Manager

field type label reqd options
ffl_number Data FFL Number ✓
license_type Data License Type
licensee_name Data Licensee Name
licensee_dba Data Doing Business As
phone Data Phone
expiry_date Date Expiry Date
cfd_number Data CFD Number
street Data Street
street2 Data Street Address 2
city Data City
state Data State
zip Data ZIP
loaded_from Data Loaded From
loaded_at Datetime Loaded At
live_verified_at Datetime Live-Verified At

Agreement Template

app: ffl_core · module: FFL Core · roles: Sales Manager, Sales User, System Manager

The text of a waiver or agreement customers sign.

field type label reqd options
title Data Title ✓
scope Select Signed Per customer, Each firearm sold, Per document
valid_days Int Valid For (Days)
one_copy_per_gun Check One copy per gun
active Check Active
version Int Version
requirement Select Required Optional, Required by item, Required for every sale
show_on_counter_panel Check Show on Counter Panel
minors_need_guardian Check Minors Need a Parent or Guardian
body Text Editor Agreement Text ✓
description Small Text Staff Notes

CRM Customer Memory

app: ffl_core · module: FFL Core · roles: Sales Manager, System Manager

What a customer has told the store, kept for the next reply: one per person, written by ffl_core.crm.memory.

field type label reqd options
customer Link Customer Customer
contact Link Contact Contact
lead Link Lead CRM Lead
auto_update Check Update with AI
items Table Items CRM Customer Memory Item

CRM Customer Memory Item

app: ffl_core · module: FFL Core · child table

field type label reqd options
kind Select Kind ✓ want, budget, state, trade_in, preference, question
text Data Text
keywords Data Keywords
amount Currency Amount
said Select Said by Customer, Staff, Order
source_doctype Link Source type DocType
source_name Dynamic Link Source source_doctype
noted_on Date Noted on
locked Check Locked

CRM Deal Hold

app: ffl_core · module: FFL Core · roles: Sales Manager, Sales User, Stock Manager, System Manager

A gun held for a CRM deal: the counter, the website and GunBroker do not sell it to anyone else until the hold ends.

field type label reqd options
serial_no Link Serial No ✓ Serial No
item_code Link Item ✓ Item
deal Data Deal ✓
status Select Status ✓ Active, Released, Expired
held_by Link Held by User
held_at Datetime Held at
expires_at Datetime Held until ✓
extensions Int Extensions
ended_at Datetime Ended at
ended_by Link Ended by User
end_reason Select Why it ended , Released, Expired, Deal won, Deal lost, Deal deleted, Off the deal, Sold to the customer, Manager override, Gun left stock, Taken by another order
approved_by Link Approved by User
note Small Text Note
active_serial Data Active serial

CRM Mail Category

app: ffl_core · module: FFL Core · roles: Sales Manager, Sales User, System Manager

field type label reqd options
category_name Data Category ✓

CRM Mail Category Rule

app: ffl_core · module: FFL Core · child table

field type label reqd options
domain Data Domain ✓
category Link Category ✓ CRM Mail Category

CRM Want

app: ffl_core · module: FFL Core · roles: Sales Manager, Sales User, System Manager

A customer who wants a gun or product the store does not have in stock. A matching arrival gives the owner a CRM task.

field type label reqd options
contact Link Contact ✓ Contact
customer Link Customer Customer
deal Link Deal CRM Deal
status Select Status ✓ Open, Matched, Closed
want_owner Link Owner User
keywords Data Keywords
item Link Item Item
budget Currency Budget
notes Small Text Notes
source_doctype Link Source type DocType
source_name Dynamic Link Customer message source_doctype
memory_row Data Memory row
memory_synced Datetime Memory synced
matched_item Link Matched item Item
matched_serial Data Matched serial
matched_on Datetime Matched on
arrival_task Data Arrival task

Caliber

app: ffl_core · module: FFL Core · roles: Sales User, Stock User, System Manager

field type label reqd options
caliber_name Data Caliber Name ✓
abbreviation Data Abbreviation
metric_equivalent Data Metric / Equivalent
category Select Category Pistol, Rifle, Shotgun, Rimfire, Magnum, Other

Cash Drawer Close

app: ffl_core · module: FFL Core · roles: Accounts User, Sales Manager, System Manager

One close of the cash drawer per company per day: expected, counted and the difference.

field type label reqd options
company Link Company ✓ Company
business_date Date Day ✓
status Select Status Closed, Closing, Undone
is_counted Check Counted
is_cutoff Check First count
opening_amount Currency Opening
expected Currency Expected
counted Currency Counted
variance Currency Difference
carry_forward Currency Carried to the next day
reason Small Text Reason
counted_by Link Counted by User
counted_at Datetime Counted at
closed_at Datetime Closed at
days_covered Int Days covered
covers_from Date Covers days not counted since
variance_je Link Difference entry Journal Entry
cutoff_je Link First count entry Journal Entry
trueup_je Link Earlier days corrected entry Journal Entry
pos_closing_entries Small Text POS closings
active_key Data Active key

Cash Drawer Entry

app: ffl_core · module: FFL Core · roles: Accounts User, Sales Manager, System Manager

Cash that left the drawer other than through a sale. Each entry posts its own Journal Entry.

field type label reqd options
company Link Company ✓ Company
entry_type Select What for ✓ Deposit, From Bank, Expense, Payout, Payout Adjustment, Trade-in Payout, Goods Payout, Owner Draw
status Select Status Posted, Voided
posting_date Date Date
amount Currency Amount ✓
payment_method Select Paid by , Cash, Zelle, Check, ACH
reference Data Bank reference
withdrawer Data Taken by
expense_account Link Expense account Account
memo Small Text Memo
receipt Attach Receipt
acquisition Link Acquisition FFL Acquisition
serial Data Serial number
invoice Link Invoice POS Invoice
customer Link Customer Customer
purchase_receipt Link Purchase Receipt Purchase Receipt
debit_account Link Debit account Account
credit_account Link Credit account Account
journal_entry Link Journal Entry Journal Entry
payout_key Data Payout key
voided_by Link Undone by User
voided_on Datetime Undone on
net_before_undo Currency Net before undo

Cash Drawer Expense Account

app: ffl_core · module: FFL Core · child table

field type label reqd options
account Link Account ✓ Account

Cash Drawer Settings

app: ffl_core · module: FFL Core · single · roles: System Manager

Limits and lists for the daily cash count, bank deposits and cash expenses.

field type label reqd options
variance_threshold Currency Count difference that needs a reason
expense_cap Currency Biggest cash expense
expense_accounts Table Accounts a cash expense can go to Cash Drawer Expense Account
tracking_started Datetime Cash tracking started

Catalog Category

app: ffl_core · module: FFL Core · roles: Item Manager, Stock Manager, Stock User, System Manager

The catalog master's category tree, mirrored. Rename or move a category in the catalog workbench; the mirror follows within one tick.

field type label reqd options
slug Data Slug ✓
node_name Data Name
path Small Text Path
parent_slug Link Parent Catalog Category
active Check Active
menu Check In store menu
store_hint Data Store category slug (first link)
item_group Link Item Group Item Group
group_parent Data Group aligned under
woo_term_retail Int Retail store category id
level Int Level
position Int Position
seq Int Tree sequence

Connector Audit Log

app: ffl_core · module: FFL Core · roles: System Manager

One row per tool call made through a remote MCP connector (Claude, ChatGPT or another MCP client): who, which connector, which tool and arguments (secrets masked), and the outcome. Written before the call runs. Never deleted.

field type label reqd options
started_at Datetime Started At
user Data User
full_name Data Full Name
tool Data Tool
status Select Status Started, Success, Failed
surface Select Surface cpa, full, web_ro
client_name Data Connector
client_id Data OAuth Client
finished_at Datetime Finished At
arguments Code Arguments JSON
error Small Text Error

Create Order Draft

app: ffl_core · module: FFL Core · roles: Sales Manager, Sales User, Stock Manager, System Manager

field type label reqd options
title Data Title
customer Data Customer
total Currency Items Total
payload Long Text Payload (JSON)

Customer Agreement

app: ffl_core · module: FFL Core · roles: Sales Manager, Sales User, System Manager

One customer's copy of an agreement: requested, signed (on a tablet, by a link or on paper), void or expired.

field type label reqd options
customer Link Customer ✓ Customer
customer_name Data Customer Name
status Select Status Pending, Signed, Void, Expired
expires_on Date Expires On
template Link Agreement ✓ Agreement Template
template_version Int Agreement Version
serial_no Link Firearm (Serial No) Serial No
item_code Link Item Item
company Link Company Company
firearms Table Firearms Customer Agreement Firearm
signed_on Datetime Signed On
signed_via Select Signed Via , Tablet, Remote, Paper
signer_name Data Signed By
signer_relationship Select Signer Is , Self, Parent, Guardian
signature Attach Image Signature
signed_pdf Attach Signed Copy (PDF)
paper_signed_on Date Date on Paper
recorded_by Link Paper Copy Recorded By User
participant_is_minor Check Participant Under 18
minor_determined_by Select Age Taken From , Date of Birth, Self-declared, Paper
requested_by Link Requested By User
delivery_channel Select Sent As , QR, Email, Terminal
token_expires Datetime Link Expires
sign_token_hash Data Sign Token Hash
void_reason Small Text Void Reason
reference_doctype Link Reference Type DocType
reference_name Dynamic Link Reference reference_doctype
signing_terminal Link Signing Terminal Signing Terminal
signer_ip Data Signer IP
signer_user_agent Small Text Signer Device
body_snapshot Long Text Text

Customer Agreement Firearm

app: ffl_core · module: FFL Core · child table

field type label reqd options
serial_no Link Serial No ✓ Serial No
item_code Link Item Item
price Currency Price

Customer Alert

app: ffl_core · module: FFL Core · child table

field type label reqd options
message Small Text Message ✓
active Check Active
created_by Link Created By User
created_on Datetime Created On

Customer Alias

app: ffl_core · module: FFL Core · child table

field type label reqd options
alias_type Select Type ✓ Email, GunBroker ID
value Data Value ✓
merged_from Data Merged From
merged_on Datetime Merged On

Customer ID Document

app: ffl_core · module: FFL Core · child table

field type label reqd options
id_type Select ID Type ✓ Driver License, State ID, LEO, Military, Passport, CCW, Other
id_number Data ID Number
issuing_authority Data Issued By
issue_date Date Issue Date
expiry_date Date Expiry Date
attachment Attach Copy of ID

FFL Acquisition

app: ffl_core · module: FFL Core · submittable · roles: Sales Manager, Sales User, Stock Manager, Stock User, System Manager

field type label reqd options
acquisition_date Datetime Acquisition Date ✓
source_type Select Source Type ✓ Individual, FFL Dealer, Manufacturer, Importer, Estate, Pawn, Trade-in
company Link Company ✓ Company
receive_source Select Receive Source
transaction_type Select Acquisition Type
amended_from Link Amended From FFL Acquisition
source_name Data Source Name ✓
source_first_name Data Source First Name
source_middle_name Data Source Middle Name
source_last_name Data Source Last Name
source_suffix Data Source Suffix
source_address Small Text Source Address
source_ffl Data Source FFL Number
source_id_type Select ID Type , Driver License, State ID, Passport, Military ID, Other
source_id_number Data ID Number
source_customer Link Seller (Customer) Customer
transfer_for_customer Link Transfer For (Customer) Customer
source_id_document Attach ID Document
item Link Item ✓ Item
serial Data Serial
ledger_serial Data Ledger Serial
cost Currency Cost
fastbound_id Data FastBound ID
fastbound_synced_at Datetime Last Synced
pending_intake_payload Long Text Pending Intake Payload
notes Small Text Notes

FFL Disposition

app: ffl_core · module: FFL Core · submittable · roles: Stock Manager, Stock User, System Manager

field type label reqd options
disposition_date Datetime Disposition Date ✓
disposition_type Select Disposition Type ✓ Retail Sale, FFL Transfer, Return, Scrap, Gunsmithing, Dealer Transfer, NFA
company Link Company ✓ Company
customer Link Customer Customer
destination_ffl Link Destination FFL ATF FFL Record
amended_from Link Amended From FFL Disposition
destroyed_witness1 Data Witness 1
destroyed_witness2 Data Witness 2
item Link Item ✓ Item
serial Autocomplete Serial
ledger_serial Data Ledger Serial
sales_invoice Link Sales Invoice Sales Invoice
sales_order Link Sales Order Sales Order
form_4473_status Select 4473 Status N/A, Pending, Completed
nics_status Select NICS Status N/A, Proceed, Delayed, Denied, Cancelled
manual_override Check Manual Override (4473 bypass)
override_reason Small Text Override Reason
override_by Link Override By User
fastbound_id Data FastBound ID
fastbound_synced_at Datetime Last Synced
notes Small Text Notes

FFL Settings

app: ffl_core · module: FFL Core · single · roles: System Manager

field type label reqd options
own_ffl_license Data Our FFL Licence Number
alert_recipients Small Text Alert Recipients
receive_sources Small Text Receive Sources
pending_order_age_alert_days Int Pending Order overdue after (days)
counter_lock_minutes Int Lock Idle Screen After (minutes)
require_price_approval Check Require Manager Approval for Price Reductions
receipt_footer_note Small Text Receipt Footer Note
shipping_price_includes_tax Check Shipping Price Includes Sales Tax
peace_officer_exempt_tax_account Link Peace-Officer Exempt Tax Account Account
gunsmith_labor_item Link Gunsmith Labor Item Item
gunsmith_agreement_template Link Intake Authorization Agreement Template
paper_4473_mode Check Paper 4473 Mode
store_customer_id_numbers Check Store Customer ID Numbers
transfer_fee_item Link Transfer Fee Item Item
transfer_fee_amount Currency Default Transfer Fee
enforce_sale_agreements Check Require Agreements at Sale
used_item_agreement_template Link Used Item Agreement Agreement Template
serial_placeholders Small Text No-Serial Spellings
live_check_provider Select Provider ATF Form Scraper, Data Service, Manual Only
live_check_rate_limit_per_hour Int Rate Limit (req/hr)
live_check_cache_ttl_minutes Int Cache TTL (minutes)

Form 4473 Log

app: ffl_core · module: FFL Core · roles: Sales Manager, Sales User, System Manager

One row per completed ATF Form 4473 (FastBound, paper or manager override). Never deleted — survives the order being deleted or re-run with Redo 4473.

field type label reqd options
completed_on Datetime Completed On
source Select Source FastBound, Paper / override
nics_status Data NICS
pos_invoice Small Text POS Invoice(s)
customer Link Customer Customer
customer_name Data Customer Name
serials Small Text Firearms (serials)
form4473_id Data FastBound 4473 ID
fastbound_disposition_id Data FastBound Disposition ID
pdf_url Data FastBound Download URL
pdf_status Select PDF Copy Pending, Stored, Not Found, Failed, No PDF
pdf_file Attach Signed 4473 PDF (private copy)
pdf_attempts Int PDF Fetch Attempts
pdf_error Small Text Last PDF Fetch Error

Gunsmith Work Order

app: ffl_core · module: FFL Core · roles: Sales Manager, Sales User, Stock Manager, System Manager

A customer's gun left for gunsmithing: intake, authorization, deposit, the work, and pick-up.

field type label reqd options
scan_id Data Scan ID
customer Link Customer ✓ Customer
phone Data Phone Phone
email Data Email Email
address_line1 Data Street Address
city Data City
state Select State
zip Data ZIP
id_type Select ID Type , Driver License, State ID, Passport, Military ID, Other
id_number Data ID Number
id_document Attach ID Scan
manufacturer Data Manufacturer ✓
caliber Data Caliber / Gauge
model Data Model ✓
firearm_type Select Firearm Type , Pistol, Revolver, Rifle, Shotgun, Receiver, Other Firearm, Silencer, Short Barreled Rifle, Short Barreled Shotgun, Machine Gun, Destructive Device, Any Other Weapon
serial_number Data Serial Number ✓
log_in_bound_book Check Log in Bound Book
accessories Small Text Came In With
condition Small Text Condition
firearm_notes Small Text Notes
work_requested Small Text Work Requested ✓
estimated_cost Currency Estimate Company:company:default_currency
estimated_completion Date Ready By
lines Table Charges Gunsmith Work Order Line
scan_barcode Data Scan Barcode
final_cost Currency Total Before Tax Company:company:default_currency
gunsmith Link Gunsmith User
work_performed Text Work Performed
completed_on Date Date Completed
notified_on Datetime Date Notified
picked_up_on Datetime Date Picked Up
notified_via Select Customer Notified By , Phone, Email, Text
notified_by Link Notified By User
cancel_reason Small Text Cancel Reason
received_on Date Date Received ✓
received_by Link Received By User
company Link Company ✓ Company
status Select Status Received, In Progress, Ready, Picked Up, Cancelled
customer_name Data Customer Name
deposit_amount Currency Paid at Intake Company:company:default_currency
deposit_held Currency Deposit Held Company:company:default_currency
deposit_invoice Link Deposit Invoice POS Invoice
pickup_invoice Link Pick-up Invoice POS Invoice
intake_agreement Link Intake Authorization Customer Agreement
purchase_receipt Link Custody Receipt Purchase Receipt
item_code Link Item Item
serial_no Link Serial No Serial No
disposition Link Disposition FFL Disposition

Gunsmith Work Order Line

app: ffl_core · module: FFL Core · child table

field type label reqd options
item_code Link Item ✓ Item
description Small Text Description
qty Float Qty ✓
rate Currency Rate
amount Currency Amount

Inventory Count

app: ffl_core · module: FFL Core · roles: Stock Manager, Stock User, System Manager

One stocktake: staff scan what is on the shelf and the count is compared with what the system says. Nothing is adjusted until a Stock Manager finalizes it. Counts are started and changed from the Inventory Count page only.

field type label reqd options
company Link Company ✓ Company
status Select Status Open, Finalized, Cancelled
include_custody Check Include Customer-Custody Warehouses
notes Small Text Notes
warehouses Table MultiSelect Warehouses Inventory Count Warehouse
item_groups Table MultiSelect Item Groups Inventory Count Item Group
stock_reconciliation Link Stock Reconciliation Stock Reconciliation
finalized_by Link Finalized By User
finalized_at Datetime Finalized At
serial_report Code Firearm Difference Report JSON

Inventory Count Entry

app: ffl_core · module: FFL Core · roles: Stock Manager, Stock User, System Manager

One scan or manual entry inside an Inventory Count. Rows are only ever added or removed, never edited, so several people can scan into the same count at once.

field type label reqd options
inventory_count Link Inventory Count ✓ Inventory Count
kind Select Kind ✓ serial, qty, unknown
method Select Entered By scan, manual
item_code Link Item Item
serial_no Data Serial No
code Data Scanned Code
warehouse Link Warehouse Warehouse
qty_delta Float Quantity Change
serial_key Data Serial Key

Inventory Count Item Group

app: ffl_core · module: FFL Core · child table

field type label reqd options
item_group Link Item Group ✓ Item Group

Inventory Count Warehouse

app: ffl_core · module: FFL Core · child table

field type label reqd options
warehouse Link Warehouse ✓ Warehouse

Inventory Import

app: ffl_core · module: FFL Core · single · roles: System Manager

field type label reqd options
csv_file Attach CSV File
warehouse Link Warehouse Warehouse
posting_date Date Cut-over Date ✓
last_run Long Text Last Run

app: ffl_core · module: FFL Core · child table

field type label reqd options
image Attach Image Image ✓
is_primary Check Primary
sort_order Int Order
caption Data Caption

Lead Mail Settings

app: ffl_core · module: FFL Core · single · roles: Sales Manager, System Manager

Which incoming staff mail goes into CRM: the store's team addresses, and the domains whose mail never does. Turn CRM sync on per mailbox in its Email Account.

field type label reqd options
team_addresses Table Team addresses Team Mail Address
primary_team_address Data Reply-To for staff mail Email
blocked_sender_domains Small Text Blocked sender domains
own_domains Small Text Our own domains
category_rules Table Category rules CRM Mail Category Rule
spam_folder Data Spam folder
crm_pos_link Check Link deals to POS orders
crm_deal_holds Check Hold guns for deals
crm_daily_digest Check Daily reply list
crm_digest_recipients Small Text Send it to everyone at
crm_wants_from_memory Check Add wants from customer memory
crm_draft_on_arrival Check Draft replies as mail arrives

MCP Settings

app: ffl_core · module: FFL Core · single · roles: System Manager

Switch the MCP servers that AI assistants (Claude, ChatGPT and other MCP clients) connect to on or off. Every call made through them is recorded in Connector Audit Log.

field type label reqd options
enable_cpa Check Enable Read-only MCP Server
cpa_url Data Read-only MCP Server URL
cpa_claude_code Data Claude Code Command (Read-only)
enable_full Check Enable Full MCP Server
full_url Data Full MCP Server URL
full_claude_code Data Claude Code Command (Full)
enable_web_ro Check Enable Website MCP Server
web_ro_url Data Website MCP Server URL
web_ro_claude_code Data Claude Code Command (Website)

Marketing Automation

app: ffl_core · module: FFL Core · child table

field type label reqd options
key Data Automation ✓
mode Select Mode ✓ Off, Dry run, Live

Marketing Contact

app: ffl_core · module: FFL Core · roles: Marketing User, Sales Manager, Sales User, System Manager

Someone the store may email about products and offers, with their consent status.

field type label reqd options
email Data Email ✓ Email
first_name Data First name
last_name Data Last name
customer Link Customer Customer
status Select Status ✓ Not Subscribed, Subscribed, Unsubscribed, Bounced, Complained
source Data Source
consent_at Datetime Consent given
consent_channel Data Consent channel
status_changed_at Datetime Status changed
status_reason Data Status reason
legacy_hash Data Unsubscribe link key
legacy_hash_2 Data Unsubscribe link key 2

Marketing Event

app: ffl_core · module: FFL Core · roles: Marketing User, Sales Manager, Sales User, System Manager

What happened with a marketing contact: a consent, an unsubscribe, a request, a send. Written by the system only.

field type label reqd options
contact Link Contact ✓ Marketing Contact
kind Select Kind ✓ Subscribed, Unsubscribed, Bounced, Complained, Requested, Sent, Skipped, Opened, Clicked, Imported
occurred_at Datetime When ✓
mail Data Mail
campaign Data Campaign
dedupe_key Data Dedupe key
detail Small Text Detail

Marketing Request

app: ffl_core · module: FFL Core · roles: Marketing User, Sales Manager, Sales User, System Manager

Someone waiting to hear when a product is back in stock or a model is listed. Written by the system only.

field type label reqd options
contact Link Contact ✓ Marketing Contact
kind Select Kind ✓ Back in stock, Model alert
status Select Status ✓ Open, Notified, Closed
label Data Product or model
item Link Item Item
sku Data SKU
web_product_id Data Website product ID
model_key Data Model key
url Data URL URL
requested_at Datetime Requested
notified_at Datetime Notified

Marketing Settings

app: ffl_core · module: FFL Core · single · roles: System Manager

field type label reqd options
enabled Check Enabled
auto_subscribe_customers Check Subscribe store customers
email_account Link Email account Email Account
reply_to Data Reply-To Email
track_opens Check Track opens
track_clicks Check Track clicks
sns_topic_arn Data SNS topic ARN
automations Table Automations Marketing Automation

Membership

app: ffl_core · module: FFL Core · roles: Accounts Manager, Accounts User, Sales Manager, Sales User, System Manager

One customer's membership of a plan: its status, current period, renewal card and invoices.

field type label reqd options
customer Link Customer ✓ Customer
customer_name Data Customer Name
plan Link Plan ✓ Membership Plan
status Select Status Pending, Active, Past Due, Suspended, Cancelled, Expired
start_date Date Member Since
current_period_start Date Current Period Start
current_period_end Date Current Period End
company Link Company Company
auto_renew Check Auto-renew
saved_card Link Saved Card Saved Card
grace_until Date Grace Until
last_charge_status Small Text Last Charge
last_charge_attempt Date Last Renewal Attempt
renewal_reminder_for Date Renewal Reminder Sent For
cancel_at_period_end Check Ends at Period End
cancelled_on Date Cancelled On
cancelled_by Link Cancelled By User
cancel_reason Small Text Cancellation Reason
invoices Table Invoices Membership Invoice

Membership Invoice

app: ffl_core · module: FFL Core · child table

field type label reqd options
sales_invoice Link Sales Invoice Sales Invoice
period_start Date Period Start
period_end Date Period End
status Select Status Unpaid, Paid, Cancelled
credit_note Link Credit Note Sales Invoice

Membership Plan

app: ffl_core · module: FFL Core · roles: Accounts Manager, Accounts User, Sales Manager, Sales User, System Manager

A membership a customer can buy: what it costs, how often it bills, and its registration fee.

field type label reqd options
plan_name Data Plan Name ✓
active Check Active
billing_period Select Billing Period ✓ Monthly, Yearly
price Currency Price per Period ✓
item Link Billed Item Item
description Small Text Description
registration_item Link Registration Item Item
registration_fee Currency Registration Fee
auto_renew_default Check Auto-renew by Default
terms_template Link Membership Terms Agreement Template
grace_enabled Check Grace Period on Failed Renewal
grace_days Int Grace Days
benefits Table Benefits Membership Plan Benefit

Membership Plan Benefit

app: ffl_core · module: FFL Core · child table

field type label reqd options
applies_to Select Applies To ✓ Item, Item Group, Price List
item Link Item Item
item_group Link Item Group (with Sub-groups) Item Group
price_list Link Items Priced in Price List Price List
benefit_type Select Benefit ✓ Percent off, Amount off, Fixed price, Price-list price
value Float Percent, Amount or Price
uses_per_day Int Daily Limit per Member (0 = None)
days Data Only on Days
label Data Reason Shown on the Sale

Membership Settings

app: ffl_core · module: FFL Core · single · roles: Sales Manager, System Manager

Automatic membership renewals. Members, plans and the memberships that need attention are on the Memberships page.

field type label reqd options
auto_renew_enabled Check Charge renewals automatically
yearly_reminder_days Int Yearly renewal reminder (days before)

POS Extension

app: ffl_core · module: FFL Core · roles: System Manager

One row per extension app on this bench: what it is, whether it is installed on this site, and the store's on/off switch. Maintained by ffl_core.extensions.registry.sync; toggled from the Extensions page.

field type label reqd options
extension_id Data Extension ID ✓
title Data Title
version Data Version
enabled Check Enabled
installed_on_site Check Installed on this site
compatible Check Compatible with this core
incompatible_reason Small Text Why not compatible
latest_version Data Newer Version Offered
latest_requires_core Data It Requires Core
latest_sha256 Data Its SHA-256
latest_checked_at Datetime Last Checked For Updates
publisher Data Publisher
publisher_id Data Publisher ID
license_required Check Needs a licence (marketplace)
source Data Source
installed_at Datetime Installed at
installed_by Data Installed by
description Small Text Description
requires_core Data Requires core
homepage Data Homepage URL
support Data Support
permissions Code Permissions (declared) JSON
manifest Code Manifest snapshot JSON
job_state Select Job Idle, Installing, Staged, Upgrading, Uninstalling, Failed
job_started_at Datetime Job started at
job_message Small Text Job message
last_synced Datetime Last synced

Signing Terminal

app: ffl_core · module: FFL Core · roles: Sales Manager, Sales User, System Manager

A store tablet paired to sign agreements: the counter sends an agreement to it and the customer signs there.

field type label reqd options
terminal_name Data Tablet Name ✓
active Check Active
pos_profile Link Register POS Profile
paired_on Datetime Paired On
paired_by Link Paired By User
last_seen Datetime Last Seen
device_secret_hash Data Device Key (hash)

Storage Floor Plan

app: ffl_core · module: FFL Core · roles: Sales Manager, Sales User, Stock Manager, Stock User, System Manager

A drawing of one room or floor of the store: where each storage zone sits, plus walls, doors, counters and labels. Drawn on the Storage Locations page.

field type label reqd options
company Link Company ✓ Company
plan_name Data Plan ✓
width Float Width (ft)
height Float Depth (ft)
layout JSON Layout

Storage Location

app: ffl_core · module: FFL Core · roles: Sales Manager, Sales User, Stock Manager, Stock User, System Manager

One position in a Storage Zone: A1, Display Case 3, Rack 2. Its name is its barcode. Managed from the Storage Locations page.

field type label reqd options
company Link Company ✓ Company
zone Link Zone ✓ Storage Zone
label Data Label ✓
position Int Position
kind Select Kind Slots, Open
disabled Check Disabled

Storage Location Qty

app: ffl_core · module: FFL Core · roles: Sales Manager, Sales User, Stock Manager, Stock User, System Manager

How many units of a non-serialized item sit in a location. One row per (location, item), changed only through ffl_core.storage.move(). What is in the warehouse but in no location is the item's stock minus these rows.

field type label reqd options
location Link Location ✓ Storage Location
item_code Link Item ✓ Item
qty Float Quantity
company Link Company ✓ Company

Storage Move

app: ffl_core · module: FFL Core · roles: Sales Manager, Sales User, Stock Manager, Stock User, System Manager

The log of every location change: receive, move, sale, ship, return, count, adjust. Rows are only ever added.

field type label reqd options
serial_no Data Serial No
item_code Link Item Item
qty Float Quantity
company Link Company Company
from_location Link From Storage Location
to_location Link To Storage Location
kind Select Kind ✓ serial, qty
reason Select Reason ✓ receive, move, sale, ship, out, return, count, adjust, confirm
voucher_type Data Document Type
voucher_no Data Document
voucher_detail Data Document Row
note Small Text Note

Storage Zone

app: ffl_core · module: FFL Core · roles: Sales Manager, Sales User, Stock Manager, Stock User, System Manager

A named area of the store (a bank of numbered slots, a display case, a rack, a safe). Its positions are the Storage Locations. Managed from the Storage Locations page.

field type label reqd options
zone_name Data Zone ✓
kind Select Kind ✓ Slots, Open
slot_count Int Positions
company Link Company ✓ Company
slot_lines Int Sides
numbering Select Numbering Odd / even, In order
sort_order Int Sort Order
disabled Check Disabled

Team Mail Address

app: ffl_core · module: FFL Core · child table

field type label reqd options
address Data Address ✓ Email
address_type Select Type ✓ Group, Mailbox
collector Link Collected by Email Account
assignment Select New leads Pool, Round robin

Card Charge

app: ffl_integrations · module: FFL Integrations · child table

field type label reqd options
amount Currency Captured Amount
status Select Status IN_PROGRESS, CHARGED, DECLINED, CANCELED, VOIDED, REFUNDED
card_summary Data Card
unique_reference Data Gateway Reference
refunded_amount Currency Refunded Amount
attempt Int Attempt
processor Data Processor
card_reader Data Card Reader
device_serial_number Data Device Serial Number
instruction_id Data Instruction ID
response Code Gateway Response
save_card Check Save Card Requested
save_reference Data Saved Card Reference
saved_card Link Saved Card Saved Card

Card On File Settings

app: ffl_integrations · module: FFL Integrations · single · roles: System Manager

field type label reqd options
card_on_file_enabled Check Offer to Save Cards
card_on_file_template Link Card-on-File Authorization Agreement Template

Card Reader

app: ffl_integrations · module: FFL Integrations · child table

field type label reqd options
reader_name Data Reader Name ✓
serial_number Data Device Serial Number ✓
enabled Check Enabled

Card Terminal Payment

app: ffl_integrations · module: FFL Integrations · roles: Sales Manager, Sales User, System Manager

field type label reqd options
sales_invoice Link Sales Invoice Sales Invoice
gunbroker_order Link GunBroker Order GunBroker Order
amount Currency Amount
status Select Status IN_PROGRESS, CHARGED, DECLINED, CANCELED, VOIDED, REFUNDED
card_summary Data Card
approval_code Data Approval Code
unique_reference Data Gateway Reference
payment_entry Link Payment Entry Payment Entry
refunded_amount Currency Refunded
reversal_entry_type Link Reversal Entry Type DocType
reversal_entry Dynamic Link Void Entry reversal_entry_type
reversal_lock Small Text Unconfirmed Void / Refund
processor Data Processor
card_reader Data Card Reader
device_serial_number Data Device Serial Number
instruction_id Data Instruction ID
response Code Gateway Response
save_card Check Save Card Requested
save_reference Data Saved Card Reference
save_usage Data Saved Card Usage
saved_card Link Saved Card Saved Card

Data Service Settings

app: ffl_integrations · module: FFL Integrations · single · roles: System Manager

field type label reqd options
catalog_source Select Catalog source Data Service, Local
endpoint Data Endpoint
client_id Data Client ID
secret Password Secret
contract_version Data Catalog API contract
last_checked_at Datetime Checked at
last_error Small Text Last error
category_mirror Select Mode Off, Report only, Apply
category_mirror_run_at Datetime Last run
category_mirror_issues Int Could not link
category_tree_cursor Data Tree cursor
category_products_cursor Data Product changes cursor
category_products_baselined Check Product changes baselined
category_mirror_report Code Report JSON

Distributor

app: ffl_integrations · module: FFL Integrations · roles: Purchase Manager, Purchase User, Stock Manager, System Manager

field type label reqd options
code Data Code ✓
distributor_name Data Name
provider Data Provider ✓
supplier Link Supplier Supplier
enabled Check Enabled
dropship_enabled Check Drop-ship
stocking_enabled Check Stocking
poll_enabled Check Poll orders
priority Int Priority
notes Small Text Notes
override_dropship_defaults Check Use its own markup and stock settings
default_markup_pct Percent Default markup %
default_rounding Select Rounding .99, none, whole
markup_rules Table Markup rules (retired) Distributor Markup Rule
lead_days_min Int Lead time (business days, from)
safety_buffer Int Safety buffer
display_cap Int Display cap
lead_days_max Int Lead time (business days, to)
zero_stock_when_feed_stale Check Zero stock when the feed is stale
catalog_endpoint Data Endpoint
catalog_client_id Data Client ID
catalog_secret Password Secret
last_poll_run_at Datetime Last order poll

Distributor Invoice

app: ffl_integrations · module: FFL Integrations · roles: Purchase Manager, Purchase User, Stock Manager, System Manager

A distributor's invoice, pulled read-only from its API (every order on the account, not just the ones placed from this POS). Display only: nothing here posts to the books.

field type label reqd options
distributor Link Distributor ✓ Distributor
invoice_number Data Invoice Number ✓
invoice_date Date Invoice Date
account Data Account
po_number Data PO Number
order_ref Data Distributor Order Number
distributor_order Link Distributor Order Distributor Order
outside_pos Check Placed Outside POS
destination Select Destination , Store, Drop-ship, Unknown
destination_note Select Destination Note , Lookup failed, No answer on file
received Check Received
received_receipts Small Text Purchase Receipts
tracking_numbers Small Text Tracking Numbers
lines Table Lines Distributor Invoice Line
total Currency Invoice Total
freight Currency Freight
fees Currency Fees

Distributor Invoice Line

app: ffl_integrations · module: FFL Integrations · child table

field type label reqd options
sku Data SKU
description Data Description
qty Int Qty
unit_cost Currency Unit Cost
amount Currency Amount
tracking_number Data Tracking Number
serials Small Text Serials
item_code Link Item Item
received_qty Int Received Qty
upc Data UPC

Distributor Markup Rule

app: ffl_integrations · module: FFL Integrations · child table

field type label reqd options
rule_scope Select Scope ✓ Department, Brand
dept_pattern Data Department Pattern
brand Link Brand Brand
markup_pct Percent Markup %
markup_flat Currency Markup Flat
rounding Select Rounding .99, none, whole
note Data Note

Distributor Order

app: ffl_integrations · module: FFL Integrations · roles: Purchase Manager, Purchase User, Stock Manager, System Manager

field type label reqd options
naming_series Select Series DO-.YY..MM.-.####
distributor Link Distributor ✓ Distributor
order_type Select Order Type ✓ Stocking, Dropship Accessory, Dropship Firearm, Procure To Store
account Select Lane Account ✓ dealer, fulfillment
account_number Data Account
company Link Company Company
status Select Status Draft, Queued, Placed, Acknowledged, Hold, Partially Shipped, Complete, Cancelled, Error
web_ref Data Distributor Order No.
hold_status Data Hold Status
hold_reason Small Text Hold / Cancel Reason
lines Table Lines Distributor Order Line
shipping_service Data Shipping service code
shipping_service_label Data Shipping service
fill_or_kill Check Fill or Kill
delivery_options_set Check Delivery options chosen at the counter
delivery_signature Check Signature
delivery_adult_signature Check Adult signature
delivery_insurance Check Insurance
source_doctype Link Source DocType DocType
source_name Dynamic Link Source Name source_doctype
consumer_name Data Consumer / Store Name
contact_num Data Contact Number
ship_address_line1 Data Ship Line 1
ship_address_line2 Data Ship Line 2
ship_address_city Data Ship City
ship_address_state Data Ship State
ship_address_zip Data Ship ZIP
transfer_ffl_license Data Transfer FFL License
transfer_ffl_premise_street Data FFL Premise Street
transfer_ffl_premise_city Data FFL Premise City
transfer_ffl_premise_state Data FFL Premise State
transfer_ffl_premise_zip Data FFL Premise ZIP
transfer_ffl_record Link Transfer FFL Record ATF FFL Record
placed_at Datetime Placed At
last_poll_at Datetime Last Poll At
next_poll_at Datetime Next Poll At
receive_status Select Receive Status Not Received, Partial, Received
woo_notified_status Data Shop Notified Status
total_cost Currency Total Cost
freight_cost Currency Freight Cost
invoiced_freight Currency Invoiced Freight
error Small Text Error
notes_posted Small Text Tracking Notes Posted
raw_request Code Raw Request JSON
raw_response Code Raw Response JSON

Distributor Order Line

app: ffl_integrations · module: FFL Integrations · child table

field type label reqd options
sku Data SKU ✓
item_code Link Item Item
description Data Description
wish_qty Int Wish Qty
ack_qty Int Ack Qty
unit_cost Currency Unit Cost
case_note Data Case Price
invoiced_unit_cost Currency Invoiced Unit Cost
ship_method Select Ship Method Grnd, 2Day, 1Day, Ndas, Prio
item_status Data Item Status
invoiced_qty Int Invoiced Qty
received_qty Int Received Qty
substituted_qty Int Substituted Qty
line_status Select Line Status Pending, Acked, Shipped, Received, Killed
fulfillment Select Fulfillment local, to_store, fds, direct
invoices Small Text Invoices (CSV)
tracking_numbers Small Text Tracking Numbers (CSV)
serials Small Text Serials (CSV)

Dropship Brand Policy

app: ffl_integrations · module: FFL Integrations · roles: Item Manager, Purchase Manager, Stock Manager, System Manager

field type label reqd options
brand Link Brand ✓ Brand
distributor Link Distributor Distributor
policy Select Policy ✓ To Store, Direct OK
reason Data Reason shown to staff
notes Small Text Notes

FastBound Settings

app: ffl_integrations · module: FFL Integrations · single · roles: System Manager

field type label reqd options
enabled Check Enable FastBound
account_num Data Account number
api_key Password API key
base_url Data Base URL
default_audit_user Data Audit user
webhook_secret Password Webhook secret
last_import_at Datetime Last import
last_import_count Int Items imported
last_import_errors Long Text Import errors
last_import_result Long Text Last import result
acquire_types Small Text Acquisition types
dispose_types Small Text Disposition types
smart_lists_synced_at Datetime Lists synced at
lookup_ffl_on_push Check Look up FFL on push
request_timeout_seconds Int Request Timeout (s)

GunBroker Category Map

app: ffl_integrations · module: FFL Integrations · child table

field type label reqd options
firearm_type Select Firearm Type , Pistol, Revolver, Rifle, Shotgun, Receiver, Other Firearm, Silencer, Short Barreled Rifle, Short Barreled Shotgun, Machine Gun, Destructive Device, Any Other Weapon
item_group Link Item Group Item Group
is_cr_eligible Check C&R Eligible
is_antique Check Antique
category_id Int GunBroker Category ID ✓
category_name Data Category Name

GunBroker Fee Tier

app: ffl_integrations · module: FFL Integrations · child table

field type label reqd options
upper_bound Currency Upper Bound
rate Percent Fee Rate ✓

GunBroker Order

app: ffl_integrations · module: FFL Integrations · roles: Sales Manager, Sales User, Stock Manager, System Manager

field type label reqd options
gb_order_id Data GunBroker Order ID ✓
order_status Select Status ✓ Pending Fulfillment, Transferred, Cancelled
order_date Datetime Order Date
gb_status Int GunBroker Status Code
gb_status_label Data GunBroker Status
gb_last_modified Datetime GunBroker Last Modified
acknowledged_at Datetime Acknowledged At
buyer_user_id Data Buyer User ID
buyer_username Data Buyer Username
customer Link Customer Customer
customer_name Data Bill To Name
customer_email Data Bill To Email
customer_phone Data Bill To Phone
tax_exempt Check Tax Exempt
lines Table Lines GunBroker Order Line
serials Table Serials GunBroker Order Serial
ship_to_name Data Name
ship_to_line1 Data Address 1
ship_to_line2 Data Address 2
ship_to_city Data City
ship_to_state Data State
ship_to_zip Data ZIP
ffl_number Data FFL Number
atf_ffl_record Link ATF FFL Record ATF FFL Record
is_cr_transfer Check C&R (Type 03) Transfer
ships_direct Check Ships Direct to Buyer (antique)
ffl_received Check FFL Received
ffl_received_at Datetime FFL Received At
ffl_status Data FFL Status
effl_url Small Text eFFL URL
seller_packet_url Small Text Seller Packet URL
cr_contact_name Data Collector Name (as printed on license)
cr_license_expiry Date C&R License Expiration
cr_premise_street Data Licensed Premises — Address 1
cr_premise_street2 Data Address 2
cr_premise_city Data City
cr_premise_state Data State
cr_premise_zip Data ZIP
cr_verified_by Link Verified By User
cr_verified_at Datetime Verified At
payment_received Check Payment Received (GunBroker flag)
payment_received_at Datetime Payment Received At (GunBroker)
payment_methods Data Payment Methods Offered
payment_source Select Payment Source , Gateway (Immediate Checkout), Check or Money Order, Gateway (GB-set), Paid to Store, Unknown
payment_mode_used Data Mode of Payment Recorded
payment_reference_no Data Payment Reference / Cheque No
payment_amount Currency Amount Received
payment_received_on Date Deposited On
payment_entry Link Payment Entry Payment Entry
gb_overpayment_pe Link Overpayment Entry Payment Entry
payment_log_amount Currency Payment Log Amount
payment_log_transaction_id Data Payment Log Transaction ID
payment_log_date Datetime Payment Log Date
payment_log_cleared Check Payment Log Cleared
currency Data Currency
order_total Currency Order Total
item_subtotal Currency Item Subtotal
ship_cost Currency Shipping
ship_handling_cost Currency Handling
ship_insurance_cost Currency Insurance
sales_tax_total Currency Sales Tax Total (incl. service fee)
compliance_fee Currency Marketplace Service Fee
buyers_premium Currency Buyer's Premium
coupon_value Currency Coupon Value
lost_cash_discount Currency Lost Cash Discount
misc_charge Currency Misc Charge
misc_fee Currency Misc Fee
sales_invoice Link Sales Invoice Sales Invoice
fee_accrual_je Link Fee Accrual Journal Entry Journal Entry
ship_carrier Select Carrier , Unknown, FedEx, UPS, USPS
tracking_number Data Tracking Number
shipstation_order_id Data ShipStation Shipment ID
shipstation_status Data ShipStation Status
shipping_flag_pushed_at Datetime OrderShipped Flag Sent At
tracking_pushed_at Datetime Tracking Sent At
gb_ship_writeback_pending Check Ship Write-back Pending
cancel_date Datetime Cancelled At
refund_date Datetime Refunded At
returned_date Datetime Returned At
is_chargeback Check Chargeback
chargeback_handled_at Datetime Chargeback Handled At
refund_handled_at Datetime Refund Handled At
sync_error Small Text Last Sync Error
sync_fail_count Int Consecutive Sync Failures
raw_payload Long Text Raw GunBroker Payload

GunBroker Order Line

app: ffl_integrations · module: FFL Integrations · child table

field type label reqd options
item_code Link Item Item
title Data Listing Title
qty Int Qty
unit_price Currency Unit Price
sku Data SKU
gb_item_id Data GunBroker Item ID
serial_number Data Serial Number
subtotal Currency Line Subtotal
line_tax Currency Line Sales Tax
is_ffl_required Check FFL Required
fvf_amount Currency Final Value Fee
ffl_doc_fee_amount Currency FFL Document Fee
reservation_error Small Text Reservation Error

GunBroker Order Serial

app: ffl_integrations · module: FFL Integrations · child table

field type label reqd options
item_code Link Item Item
confirmed_serial Data Confirmed Serial
unit_index Int Unit #
gb_item_id Data GunBroker Item ID
is_model_unit Check Model Unit
assigned_by Link Assigned By User
assigned_at Datetime Assigned At
refunded_on_gb Check Refunded on GunBroker
reservation_error Small Text Reservation Error

GunBroker Settings

app: ffl_integrations · module: FFL Integrations · single · roles: System Manager

field type label reqd options
enabled Check Enable GunBroker
sandbox_mode Check Sandbox mode
username Data Seller username
password Password Seller password
last_listing_push_at Datetime Last listing push
last_listing_push_count Int Listings pushed
last_sweep_at Datetime Last sweep
last_orders_synced_at Datetime Orders synced up to (UTC)
last_order_sync_count Int Orders synced
last_sync_error Long Text Last error
postal_code Data Ship-from ZIP
country_code Data Country
listing_duration Select Duration (days, fixed price) 30, 60, 90
auto_relist Select Auto-relist (fixed price) 1 Do Not Relist, 4 Relist Fixed Price
inspection_period Select Inspection period 1 AS IS, 4 3 days, 12 30-day
is_ffl_required Check FFL required
will_ship_international Check Ships internationally
max_pictures Int Photos per listing
use_default_exclude_states Check Use account's excluded states
exclude_states Small Text Excluded states
default_listing_type Select Listing type offered Fixed Price, Auction
auction_duration Select Auction length (days) 1, 3, 5, 7, 10, 14
auction_auto_relist Select Auto-relist (auction) 2 Relist Until Sold, 1 Do Not Relist
who_pays_shipping Select Shipping paid by 2 Seller pays, 4 Buyer pays actual, 8 Buyer pays fixed
long_gun_ship_cost Currency Long gun rate (default)
handgun_ship_cost Currency Handgun rate (default)
accessory_ship_cost Currency Accessory / ammo rate (default)
pay_certified_check Check Certified check
pay_usps_money_order Check USPS money order
pay_money_order Check Money order
pay_personal_check Check Personal check
pay_cod Check COD
card_checkout_enabled Check Accept cards
pay_visa_mastercard Check Visa / MasterCard
pay_amex Check American Express
pay_discover Check Discover
category_map Table Category map GunBroker Category Map
title_banned_phrases Small Text Blocked title phrases
description_footer Text Editor Description footer
watermark_image Attach Image Logo
watermark_text Data Text under the logo
check_deposit_account Link Check deposit account Account
card_clearing_account Link Card clearing account Account
ffl_doc_fee Currency FFL doc fee (per item)
fee_tiers Table Final value fee tiers GunBroker Fee Tier
auto_sync_enabled Check Scheduled sync
auto_acknowledge Check Auto-acknowledge orders
stale_paid_days Int Paid-not-shipped alert (days)
end_strategy Select End listings via Delete Endpoint, Manual Only
orders_since_override Datetime Re-read orders since
request_timeout_seconds Int Request timeout (s)
probe_timeout_seconds Int Counter check budget (s)
page_size Int API page size
base_url_override Data Base URL override
webhook_username Data Webhook user name
webhook_password Password Webhook password
last_webhook_at Datetime Last webhook received
last_webhook_event Data Last webhook event
order_sync_nudge Data Order sync nudge

Lipseys Settings

app: ffl_integrations · module: FFL Integrations · single · roles: System Manager

field type label reqd options
ordering_enabled Check Allow live orders
customer_number Data Customer number
dealer_email Data Email Email
dealer_password Password Password
dropship_email Data Email Email
dropship_password Password Password
base_url Data API base URL
disable_email Check No confirmation email from Lipsey's
dropship_overnight Check Accessory drop-ship orders ship overnight
rate_dropship_firearm Currency Drop-ship firearm order
rate_dropship_accessory Currency Drop-ship accessory order
shipping_polled_through Date Shipping polled through (dealer)
dropship_shipping_polled_through Date Shipping polled through (drop-ship)
last_shipping_poll_at Datetime Last shipping poll
last_error Long Text Last error

Payroc Settings

app: ffl_integrations · module: FFL Integrations · single · roles: System Manager

field type label reqd options
enabled Check Enable Payroc Terminal Integration
require_card_reference Check Require Card Reference (manual terminal)
api_key Password Merchant API Key
default_currency Link Default Currency Currency
default_terminal Data Gateway Terminal Number
device_serial_number Data Device Serial Number
saved_card_terminal Data Saved-Card Terminal Number
payment_page_secret Password Payment Page Secret
sandbox_mode Check Sandbox Mode
card_readers Table Card Readers Card Reader
last_token_refreshed_at Datetime Last Token Refreshed At
last_charge_at Datetime Last Charge At
integration_id Data X-Integration-ID (ISV only)
base_url_override Data Base URL Override
request_timeout_seconds Int Request Timeout (seconds)

RSR Catalog Item

app: ffl_integrations · module: FFL Integrations · roles: Purchase User, Stock User, System Manager

field type label reqd options
rsr_stock_number Data RSR Stock # ✓
upc Data UPC
mfg_number Data Mfg Part #
department_number Data Department #
manufacturer Data Manufacturer
model Data Model
caliber Data Caliber
short_description Data Short Description
long_description Small Text Long Description
msrp Currency MSRP
dealer_price Currency Dealer Price
map_price Currency MAP
weight_lb Float Weight (lb)
quantity Int Quantity at RSR
status_flag Select Status , Allocated, Closeout, Deleted
discontinued Check Discontinued
ffl_required Check FFL Required
ships_ground_only Check Ships Ground Only
signature_required Check Adult Signature Required
dropship_blocked Check Blocked from Drop Ship
vendor_approval_required Check Vendor Approval Required
prop65 Check CA Prop 65
image_name Data Image Filename
image_url Data Image URL
image_url_hires Data Hi-Res Image URL
loaded_at Datetime Last Catalog Load
last_quantity_at Datetime Last Quantity Update

RSR Department

app: ffl_integrations · module: FFL Integrations · roles: Purchase User, Stock User, System Manager

field type label reqd options
department_number Data Department # ✓
department_name Data Department Name ✓
ffl_required Check FFL Required
default_item_group Link Default Item Group Item Group

RSR Settings

app: ffl_integrations · module: FFL Integrations · single · roles: System Manager

field type label reqd options
api_enabled Check Allow live orders
dealer_account Data Dealer account #
dealer_password Password Dealer API password
fulfillment_account Data Fulfillment account #
fulfillment_password Password Fulfillment API password
ftp_host Data FTP host
ftp_port Int FTP port
key_dealer Check Key dealer feed
ftp_username Data FTP username
ftp_password Password FTP password
ftps_skip_verify Check Skip TLS certificate check (not recommended)
api_base_url Data API base URL
pos_indicator Data POS indicator
order_email Data Order email Email
hold_escalate_days Int Flag a hold after (days)
store_free_freight Check Free freight on ship-to-store orders
free_freight_threshold Currency Store orders ship free above
rate_ground Currency Ground
rate_2day Currency 2Day (handguns)
fee_signature Currency Adult signature (firearm orders)
freight_variance_alert Currency Alert when invoiced freight differs by more than

RSR Ship Restriction

app: ffl_integrations · module: FFL Integrations · roles: Stock User, System Manager

Where RSR will not ship one product, as published in their ship-restrictions file. Shown on the fulfilment screen for staff to read; it never blocks a checkout by itself.

field type label reqd options
rsr_stock_number Data RSR Stock # ✓
entry_count Int Entry Count
load_batch Data Load Batch
entries Long Text Entries (JSON)

Saved Card

app: ffl_integrations · module: FFL Integrations · roles: Accounts Manager, Sales Manager, Sales User, System Manager

field type label reqd options
customer Link Customer ✓ Customer
card_summary Data Card
card_expiry Data Expiry (MMYY)
status Select Status Active, Removed
is_default Check Default Card
usage Select Usage UNSCHEDULED, RECURRING
authorization Link Signed Authorization ✓ Customer Agreement
source_doctype Link Saved From (Type) DocType
source_name Dynamic Link Saved From source_doctype
processor Data Processor ✓
initial_reference Data First Charge Reference
merchant_reference Data Merchant Reference
token Password Gateway Token ✓
removed_by Link Removed By User
removed_on Datetime Removed On
removed_reason Small Text Reason

ShipStation Settings

app: ffl_integrations · module: FFL Integrations · single · roles: System Manager

field type label reqd options
enabled Check Enabled
api_key Password API Key
sandbox_mode Check Sandbox Mode
store_id Data Store ID
ship_from_warehouse_id Data Ship-From Warehouse ID
default_parcel_weight_oz Float Default Parcel Weight (oz)
base_url_override Data Base URL Override
request_timeout_seconds Int Request Timeout (s)

Sports South Settings

app: ffl_integrations · module: FFL Integrations · single · roles: System Manager

field type label reqd options
ordering_enabled Check Allow live orders
sandbox_mode Check Sandbox mode
customer_number Data Account number
username Data API user name
password Password API password
base_url Data API base URL
auto_email_ffl Check Email the transfer FFL automatically
fulfillment_email Data Sports South fulfillment email Email
order_email_cc Data CC on FFL emails Email
sales_message Data Sales message on every order
ship_via_ground Data Ground ship code
ship_via_2day Data 2-Day Air ship code
accessory_ground_economy Check Accessory / ammunition orders ship Ground Economy
firearm_signature Check Signature
firearm_adult_signature Check Adult signature
firearm_insurance Check Insurance
other_signature Check Signature
other_adult_signature Check Adult signature
other_insurance Check Insurance
price_drift_alert_pct Percent Alert when the filled price exceeds the quote by
hold_escalate_days Int Flag a hold after (days)
store_ship_name Data Name
store_ship_attn Data Attention
store_ship_line1 Data Address line 1
store_ship_line2 Data Address line 2
store_ship_city Data City
store_ship_state Data State
store_ship_zip Data ZIP
store_ship_phone Data Phone
rate_handgun_2day Currency Handgun, 2-Day Air
rate_long_gun_ground Currency Long gun, Ground Premium
rate_accessory_ground Currency Accessory / ammunition, Ground Premium
rate_accessory_economy Currency Accessory / ammunition, Ground Economy
rate_2day_air Currency 2-Day Air (long gun / accessory)
rate_next_day Currency Next-Day Air
fee_signature Currency Signature
fee_adult_signature Currency Adult signature
fee_insurance_pct Percent Insurance, % of order
fee_insurance_min Currency Insurance minimum
store_free_handgun_qty Int Handguns ship free from (count)
store_free_handgun_amount Currency Handguns ship free from (value)
store_free_other_amount Currency Long guns / ammo / accessories ship free from
store_other_rate Currency Long guns / ammo / accessories below that
freight_variance_alert Currency Alert when invoiced freight differs by more than
credits_polled_through Date Credits polled through
last_credits_poll_at Datetime Last credit poll
last_error Long Text Last error

Woo Online Order

app: ffl_woo_sync · module: FFL Woo Sync · roles: System Manager

field type label reqd options
woo_order_id Data Woo Order ID ✓
order_status Select Fulfillment Status ✓ Pending Fulfillment, Transferred, Cancelled
woo_status Data WooCommerce Status
site Select Site retail
dropship_status Select Drop-ship Status , Pending Route, Ordered, Complete, Error
transferred_at Datetime Transferred At
paid_at Datetime Paid At
customer_name Data Customer Name
customer_phone Data Phone
customer_email Data Email Email
customer Link POS Customer Customer
lines Table Lines Woo Online Order Line
serials Table Firearm Serials Woo Online Order Serial
currency Data Currency
order_total Currency Order Total currency
total_tax Currency Total Tax currency
shipping_total Currency Shipping Total currency
discount_total Currency Discount Total currency
ffl_license Data FFL License Number
is_cr_transfer Check C&R (03) Transfer
woo_ffl_rev Int Woo FFL Revision
ffl_business_name Data FFL Business Name
ffl_phone Data FFL Phone
ffl_expiration Data FFL Expiration
ffl_premise_street Data Street
ffl_premise_city Data City
ffl_premise_state Data State
ffl_premise_zip Data ZIP
atf_ffl_record Link ATF FFL Record ATF FFL Record
ffl_raw Long Text FFL Raw Meta (fallback)
cr_contact_name Data Collector Name (as printed on license)
cr_license_expiry Date C&R License Expiration
cr_premise_street Data Licensed Premises — Address 1
cr_premise_street2 Data Address 2
cr_premise_city Data City
cr_premise_state Data State
cr_premise_zip Data ZIP
cr_verified_by Link Verified By User
cr_verified_at Datetime Verified At
ship_to_name Data Ship To Name
ship_to_line1 Data Address Line 1
ship_to_line2 Data Address Line 2
ship_to_city Data City
ship_to_state Data State
ship_to_zip Data ZIP
refunds Table Refunds Woo Online Order Refund

Woo Online Order Line

app: ffl_woo_sync · module: FFL Woo Sync · child table

field type label reqd options
item_code Link Item Code Item
serial Data Serial No
woo_line_id Data Woo Line ID
qty Int Qty
unit_price Currency Unit Price
subtotal Currency Subtotal
line_total Currency Line Total
line_tax Currency Line Tax
reservation_error Small Text Reservation Error
lane Data Lane
source_distributor Data Source Distributor
source_sku Data Source SKU
storage_location Link Taken From Location Storage Location
preorder_slots Int Pre-order Slots Taken
preorder_reserved Float Pre-order Units Put By

Woo Online Order Refund

app: ffl_woo_sync · module: FFL Woo Sync · child table

field type label reqd options
woo_refund_id Data Woo Refund ID ✓
refund_amount Currency Refund Amount
tax_refunded Currency Tax Refunded
shipping_refunded Currency Shipping Refunded
breakdown_status Select Breakdown , Fetched, Pending, Not in Woo, Rejected
returned_lines Small Text Returned Lines
reason Data Reason
recorded_on Datetime Recorded On

Woo Online Order Serial

app: ffl_woo_sync · module: FFL Woo Sync · child table

field type label reqd options
item_code Link Item Code Item
woo_line_id Data Woo Line ID
unit_index Int Unit #
confirmed_serial Data Confirmed Serial
stock_hold_serial Data Stock Hold Serial
reservation_error Small Text Reservation Error
fulfillment Select Fulfillment local, to_store, fds, direct, preorder

WooCommerce Settings

app: ffl_woo_sync · module: FFL Woo Sync · single · roles: System Manager

field type label reqd options
store_url Data Store URL ✓ URL
consumer_key Password Consumer key
consumer_secret Password Consumer secret
webhook_secret Password Webhook secret
outbound_webhook_secret Password Outbound status webhook secret
send_customer_events Check Send customer emails to the shop
auto_sync_enabled Check Enable sync
reconcile_frequency Select Reconcile frequency Every 2 Hours, Daily, Weekly, Disabled
request_timeout_seconds Int Request Timeout (s)
follow_category_tree Check Follow the catalog category tree
connect_status Small Text Connect
last_push_at Datetime Last push
last_push_count Int Items pushed
last_reconcile_at Datetime Last reconcile
last_order_audit_at Datetime Last order audit
last_sync_error Long Text Last error