SAAM Documentation English
مرجع واجهة البرمجة
هذه المقالة غير مترجمة بعد، وتظهر بالإنجليزية.

Finance

Fixed costs, variable costs and payroll, newest 100 first. Fixed and variable costs are for Finance; payroll is for Finance and HR (and Hotel Admin for all three).

Fixed costs

GET https://api.saampms.com/zapier/v2/fixed

Each row is one dated charge a fixed cost produced, for example this month's rent.

Field Meaning
id The charge's id
name, category The fixed cost
amount, currency The charge, in its currency
base_amount, base_currency In the hotel's base currency
due_date When it is due
period_start The start of the period it covers
status Due, Paid or Waived
interval How often the cost repeats: Week, Month, Quarter, Half Year or Year

Variable costs

GET https://api.saampms.com/zapier/v2/variable

Field Meaning
id, name, type, category The cost
amount, currency, base_amount, base_currency As above
date The date of the cost
supplier The supplier, or null
quantity How many, when it was counted

Payroll

GET https://api.saampms.com/zapier/v2/payroll

Issued payroll only. All amounts are in the hotel's base currency (currency).

Field Meaning
id The payroll row's id
employee, employee_id Who it is for
start_date, end_date The period
salary, gross The salary, and the total before deductions
contracted_hours, actual_hours, hour_rate Hours, for hourly pay
overtime_hours, overtime_pay Overtime
tax The total tax
tax_list Each tax: name, logic and amount
social, medical, deductions What was taken off
bonus, commission What was added
salary_held Pay held back
payment_method, reference How it was paid