POS System
Sell in-stock products and synchronize stock for all users.
TOTAL POS SALES
0.00 CNYSALES TRANSACTIONS
0AVAILABLE STOCK / PROFIT
0Products in Stock
| Product | Price | Stock | Adjust Stock | Sale Qty |
|---|
Current Sale
Total0.00 CNY
Recent POS Sales
| Date | Sale No. | Customer | Gateway | Items | Total | Profit | Sold By | Receipt |
|---|
THIS WEEK SALES
THIS MONTH SALES
MONTH PROFIT
YEAR PROFIT
Weekly Sales Graph
Monthly Sales Pie Chart
Yearly Sales & Profit Histogram
Create POS Store
Add Store Product
My Work Home
PAID SALES THIS MONTH
0SALES VALUE THIS MONTH
¥0.00INVOICES CREATED THIS MONTH
0My Assigned Tasks
Personal CBM Calculator
TOTAL CBM
0.000 m³Monthly Performance
This Week Report
Weekly User Report
Air Cargo Database
Track air cargo parcels, arrival dates and shipping costs.
Bulk Actions0 selected
| Client | Status | Shipping Way | Phone | Tracking Numbers | Items | Weight | Expected Arrival | Received in China | Parcels | Shipping Cost (USD) | Actions |
|---|
Cargo Settings
Shared cargo branding and office addresses for all users.
Cargo Logo![Cargo logo]()
Cargo Request Quotations
Read-only contact and quotation requests submitted from the public tracking website.
| Date | Name | Phone | Message / Request | Status | Action |
|---|
Quotation Request
Add Air Cargo Record
$
📷![Parcel preview]()
Air Cargo Record
Finance Summary
AVAILABLE BALANCE
¥0.00
Payments received minus recorded expenses
TOTAL ORDERS FROM PAYMENT RECORDS
0
Unique invoice/order numbers received
TOTAL REVENUE (ALL TIME)
¥0.00
TOTAL PROFIT (ALL TIME)
¥0.00
TOTAL EXPENDITURE (ALL TIME)
¥0.00
Weekly Analysis — Graphical View
Monthly Revenue Performance
Monthly Profit & Expenses
Yearly Analysis — Histogram
Monthly Analysis
| MONTH | REVENUE | PROFIT | EXPENSES |
|---|
Weekly Analysis (Recent)
| WEEK START | REVENUE | PROFIT | EXPENSES |
|---|
Invoice Database
| Date | Invoice No | Customer | Phone | Total | Paid | Deliv | Purchase | Actions |
|---|
Packing List Database
| Date | Packing List No. | Invoice No. | Shipper | Buyer | Products | Total CBM | Actions |
|---|

PACKING LIST
SHIPPER
BUYER / CONSIGNEE
| Use | Photo | Description | Qty | L (cm) | W (cm) | H (cm) | CBM / Pc | Total CBM | |
|---|---|---|---|---|---|---|---|---|---|
| TOTAL CBM | 0.000 | ||||||||
Quotation Database
| Date | Quotation No | Customer | Phone | Total | Actions |
|---|
Delivery Records
| DATE | CLIENT | TRACKING NO | INV NO | PARCELS | COST | ACTIONS |
|---|
Shipping Record
Product Database
0 selected
| IMAGE | DESCRIPTION | CATEGORY | MODEL | QTY/CTN | CBM | KGS | PRICE (RMB) | ACTIONS |
|---|
Bulk Edit Selected
Only filled fields will be updated for all selected items.
Add Product
Bank Information
Company Profiles (Beneficiaries)
Automation API Connections
Send committed system data to external HTTPS automation services. API secrets are encrypted on the server.
Zapier / Pabbly Air Cargo Webhook Integration
Automatically send customer and cargo data when a new Air Cargo record is created or its status changes.
1. Create the receiving webhook
Zapier: create a Zap using Webhooks by Zapier → Catch Hook. Pabbly: create a workflow using Webhook by Pabbly → Capture Webhook Response. Copy the HTTPS webhook URL.
2. Add it below
Enter a connection name, paste the webhook URL, keep method POST, leave authentication blank unless your webhook requires it, and select:
Air Cargo: new record created
Air Cargo: status changed
Air Cargo: new record created
Air Cargo: status changed
3. Capture a sample
Save the connection and press Test. Then create a cargo record or change its status. Zapier/Pabbly will receive the fields shown below.
Webhook payload example
{
"event": "air_cargo.status.changed",
"sentAt": "2026-08-02T15:30:00Z",
"source": "yibai-manager",
"data": {
"cargoId": "AIR-12345",
"customerName": "Customer name",
"customerPhone": "+255700000000",
"oldStatus": "Pending",
"newStatus": "Arrived in China",
"record": { "id": "AIR-12345", "status": "Arrived in China" },
"changedBy": "admin"
}
}
How to send a customer message
In the next Zapier/Pabbly step, choose WhatsApp, SMS, email, or your messaging provider. Map data.customerPhone to the recipient and compose the message by inserting these captured fields:
Add a filter when you only want messages for selected statuses.
Your cargo [data.cargoId] status changed from [data.oldStatus] to [data.newStatus].Add a filter when you only want messages for selected statuses.
Air Cargo polling API for mobile applications
GET /api/mobile/v1/air-cargo
GET /api/mobile/v1/air-cargo/changes?after=CURSOR&limit=100
Use a mobile Bearer token. Save nextCursor and request again to read only record.created and status.changed events.
Leave blank while editing to keep the saved secret.
Mobile Apps API Documentation
Integration reference for current and future Yibai mobile applications. These APIs use the same shared database as the main web system.
Connection and security
Production base URL:
https://managment.e-buy.app/api/mobile/v1Current server:
/api/mobile/v1Send
Accept: application/json with every request. After login, send Authorization: Bearer YOUR_TOKEN on every protected request.Store the token in Android Keystore or iOS Keychain. Never place usernames, passwords, or tokens directly in application source code.
Tokens expire and can be revoked by logout. A response of
401 means the app must return to login.Recommended application startup flow
- Log in and securely save the returned Bearer token.
- Immediately call
GET /bootstrapbefore showing database screens. - Save every collection version locally.
- Call
GET /changeswhen the app opens, returns to the foreground, and every 5–10 seconds while active. - Save edits using
POST /sync. If the server returns409, apply the newer server data and retry the user’s edit.
1. Login
POST /login
{
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD",
"deviceName": "Yibai POS Android"
}
Returns: token, tokenType, expiresAt, abilities and user.
2. Initial data load
GET /bootstrap
{
"collections": {
"pos_stores": {"data": [], "version": 3},
"pos_products": {"data": [], "version": 18},
"pos_sales": {"data": [], "version": 42}
},
"serverTime": "2026-08-02T15:30:00Z"
}
3. Read only changes
GET /changes?versions=ENCODED_JSON
GET /changes?versions={"pos_stores":3,"pos_products":18,"pos_sales":42}
Authorization: Bearer YOUR_TOKEN
Accept: application/json
The response contains only collections with a newer server version.
4. Save app data
POST /sync
{
"table": "pos_sales",
"baseVersion": 42,
"data": [
{"id":"POS-1001","storeId":"STORE-1","total":150.00}
]
}
Important:
data is the complete collection, not only one new row. Use the version returned by bootstrap or changes.Available shared collections
POS app
pos_storespos_productspos_salesFinance app
invoicespayment_recordsexpendituresfixed_costsManager app
companiesproductsdelivery_recordspacking_listsAir Cargo app
air_cargoair_cargo_settingscargo_quote_requestsUser accounts are intentionally excluded from normal mobile data responses. Only authorized Super Administrators can manage users.
Other endpoints
GET /me — validate the token and read abilities
POST /logout — revoke the current token
GET /air-cargo — current Air Cargo records
GET /air-cargo/changes?after=CURSOR&limit=100 — Air Cargo event feed
System Backup & Restore
Create encrypted ZIP backups, restore lost or deleted data, and schedule automatic backups.
Restore safety
Restoring replaces the current shared database with the selected backup. The system automatically creates a pre-restore safety backup first. ZIP contents are encrypted and require the same Laravel APP_KEY.
Manual Backup
Includes all shared records, Air Cargo history, and automation connections.
Automatic Backup Schedule
Hosting requirement: run
php artisan schedule:run every minute using the hosting cron scheduler.Available Backups
Add Company Profile
PNG, JPG or WebP. This logo will appear on invoices and quotations.
Shipping Companies
| COMPANY NAME | CONTACT (CHINA) | PHONE | ADDRESS (CHINA) | ACTIONS |
|---|
Add Shipping Company
Add Bank Account
Payment Records
| DATE | CLIENT | GATEWAY | AMOUNT | INV NO | ACTIONS |
|---|
Payment Record
Payment Details
CLIENT NAME
-
PHONE NUMBER
-
PAYMENT GATEWAY
-
PAID AMOUNT
¥0.00
REMAINING AMOUNT
¥0.00
INVOICE NUMBER
-
DATE & TIME
-
ADDITIONAL INFO
-
RECEIPT IMAGE
No image uploaded
Invoice Purchase & Profit Tracking
Invoice: - | Client: -
| PRODUCT DESCRIPTION | Qty | Sale Price | Purchase Price | Profit |
|---|---|---|---|---|
| Total Profit (RMB): | ¥0.00 | |||
Expenditure Records
| TIME & DATE | PURPOSE | AMOUNT | ADDITIONAL INFO | ACTIONS |
|---|
Add Expenditure
Manage Users
| PIC | USERNAME | ROLE | STORE / LOCATION | ACTIONS |
|---|
Add Staff
1. Profile
2. Tasks
3. Access
STAFF TASKS
ASSIGNED TASKS
VIEW & FUNCTION PERMISSIONS
Staff Profile
-
-
JOB TITLE
-
JOB DESCRIPTION
-
TASK 1
-
TASK 2
-
TASK 3
-
TASK 4
-
TASK 5
-
TASK 6
-
TASK 7
-
TASK 8
-
Profit Tracking
| DATE | CUSTOMER | INVOICE NO | TOTAL PROFIT | ACTIONS |
|---|
Fixed Costs
| ITEM | PRICE BY MONTH | ACTIONS |
|---|
Add Fixed Cost
Not saved
PROFORMA INVOICE
Invoice No:
Date:
BENEFICIARY
E-mail:
Tel:
Web:
BUYER / CONSIGNEE
Consignee:
Address:
Contact:
Email:
SHIPPING INFO
Incoterms:
Payment Terms:
Leadtime:
| PHOTO | PRODUCT DESCRIPTION | QTY | UNIT PRICE | AMOUNT |
|---|
Subtotal (RMB):
0.00
Extra Cost:
TOTAL AMOUNT:
0.00
30% DEPOSIT:
0.00
REMARKS:
BANKING DETAILS:
Select a bank account...
BUYER
SELLER
