Working with custom tags

Cost center functionality

Written By Zemtu

Last updated 16 days ago

It’s as simple as attaching custom tags to objects like vehicles, rate plans, coupon campaigns etc. On invoice item creation, the assigned custom tags are then propagated to the individual invoice items. When doing accounting, this makes it easy to keep track of individual vehicles, rate plans etc.

Step-by-step guide

  1. Create custom tags
    https://integdemo.zemtu.com/admin/main/customtag/

  1. Assign custom tags

    https://integdemo.zemtu.com/admin/billing/couponcampaign/

  2. Invoice item creation (automatic)
    On invoice item creation, the assigned custom tags are automatically propagated to the individual invoice items and frozen.

  3. Invoice export
    https://integdemo.zemtu.com/api/billing/v2/invoice/?include=tags
    The invoice exports (REST API or CSV) contain the frozen custom tags.

Custom tags inheritance table

Model

Referenced model

Coupon

← Coupon campaign

← Coupon subscription

Package payment

← Package

One-time payment

Rate plan

Reservation

← Vehicle

On invoice item creation, the custom tags from the models are written to the invoice item tags. If not overwritten in the object, the custom tags from the referenced objects are read.