Digitoo.ai
Queue

Example annotation schemas

You are free to define any annotation schema as long as it fits the structural parameters defined here.

We have couple of annotation schemas predefined for most common ERPs on the market. These are automatically assigned based on the Workspace you chose. You can however change these schemas to fit your specific needs.

Annotation schema hints:

  • messageKey can be omitted since this field is strictly for translations
  • message field can be added to override any translation
  • after field can be omitted since ordering is calculated during saving process

Annotation Schema Example 1: Pohoda - received invoices

[
  {
    "messageKey": "pohoda.received-invoices.pohoda_basic_invoice_data",
    "type": "subtitle",
    "sectionMessageKey": "pohoda_basic_invoice_data",
    "after": null
  },
  {
    "messageKey": "pohoda.received-invoices.document_type",
    "type": "field",
    "key": "document_type",
    "datatype": "register",
    "required": true,
    "after": "pohoda_basic_invoice_data",
    "hideRegisterValue": true
  },
  {
    "messageKey": "pohoda.received-invoices.accounting_sequence",
    "type": "field",
    "key": "accounting_sequence",
    "hidden": true,
    "datatype": "register",
    "after": "document_type"
  },
  {
    "messageKey": "pohoda.received-invoices.invoice_id",
    "type": "field",
    "key": "invoice_id",
    "datatype": "alphanumeric",
    "required": true,
    "after": "accounting_sequence"
  },
  {
    "messageKey": "pohoda.received-invoices.var_sym",
    "type": "field",
    "key": "var_sym",
    "datatype": "alphanumeric",
    "after": "invoice_id"
  },
  {
    "messageKey": "pohoda.received-invoices.matching_symbol",
    "type": "field",
    "key": "matching_symbol",
    "datatype": "alphanumeric",
    "after": "var_sym",
    "autofill": ["invoice_id"]
  },
  {
    "messageKey": "pohoda.received-invoices.order_id",
    "type": "field",
    "key": "order_id",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "matching_symbol"
  },
  {
    "messageKey": "pohoda.received-invoices.ref_invoice_id",
    "type": "field",
    "key": "ref_invoice_id",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "order_id"
  },
  {
    "messageKey": "pohoda.received-invoices.credit_date",
    "type": "field",
    "key": "credit_date",
    "datatype": "date",
    "hidden": true,
    "after": "ref_invoice_id"
  },
  {
    "type": "separator",
    "after": "credit_date",
    "separatorKey": "separator-1"
  },
  {
    "messageKey": "pohoda.received-invoices.issue_date",
    "type": "field",
    "key": "issue_date",
    "datatype": "date",
    "after": "separator-1"
  },
  {
    "messageKey": "pohoda.received-invoices.received_date",
    "type": "field",
    "key": "received_date",
    "datatype": "date",
    "after": "issue_date"
  },
  {
    "messageKey": "pohoda.received-invoices.accounting_date",
    "type": "field",
    "key": "accounting_date",
    "datatype": "date",
    "after": "received_date"
  },
  {
    "messageKey": "pohoda.received-invoices.due_date",
    "type": "field",
    "key": "due_date",
    "datatype": "date",
    "after": "accounting_date"
  },
  {
    "messageKey": "pohoda.received-invoices.taxable_supply_date",
    "type": "field",
    "key": "taxable_supply_date",
    "datatype": "date",
    "after": "due_date"
  },
  {
    "messageKey": "pohoda.received-invoices.pohoda_supplier_details",
    "type": "subtitle",
    "sectionMessageKey": "pohoda_supplier_details",
    "after": "taxable_supply_date"
  },
  {
    "messageKey": "pohoda.received-invoices.sender_name",
    "type": "field",
    "key": "sender_name",
    "datatype": "alphanumeric",
    "after": "pohoda_supplier_details"
  },
  {
    "messageKey": "pohoda.received-invoices.sender_address",
    "type": "field",
    "key": "sender_address",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "sender_name"
  },
  {
    "messageKey": "pohoda.received-invoices.sender_register_id",
    "type": "field",
    "key": "sender_register_id",
    "datatype": "alphanumeric",
    "after": "sender_address"
  },
  {
    "messageKey": "pohoda.received-invoices.sender_internal_id",
    "type": "field",
    "key": "sender_internal_id",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "sender_register_id"
  },
  {
    "messageKey": "pohoda.received-invoices.sender_tax_id",
    "type": "field",
    "key": "sender_tax_id",
    "datatype": "alphanumeric",
    "after": "sender_internal_id"
  },
  {
    "messageKey": "pohoda.received-invoices.sender_vat_id",
    "type": "field",
    "key": "sender_vat_id",
    "datatype": "alphanumeric",
    "after": "sender_tax_id"
  },
  {
    "messageKey": "pohoda.received-invoices.sender_street",
    "type": "field",
    "key": "sender_street",
    "datatype": "alphanumeric",
    "after": "sender_vat_id"
  },
  {
    "messageKey": "pohoda.received-invoices.sender_city",
    "type": "field",
    "key": "sender_city",
    "datatype": "alphanumeric",
    "after": "sender_street"
  },
  {
    "messageKey": "pohoda.received-invoices.sender_post_code",
    "type": "field",
    "key": "sender_post_code",
    "datatype": "alphanumeric",
    "after": "sender_city"
  },
  {
    "messageKey": "pohoda.received-invoices.sender_country",
    "type": "field",
    "key": "sender_country",
    "datatype": "alphanumeric",
    "after": "sender_post_code"
  },
  {
    "messageKey": "pohoda.received-invoices.pohoda_recipient_details",
    "type": "subtitle",
    "sectionMessageKey": "pohoda_recipient_details",
    "after": "sender_country"
  },
  {
    "messageKey": "pohoda.received-invoices.recipient_name",
    "type": "field",
    "key": "recipient_name",
    "datatype": "alphanumeric",
    "after": "pohoda_recipient_details"
  },
  {
    "messageKey": "pohoda.received-invoices.recipient_address",
    "type": "field",
    "key": "recipient_address",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "recipient_name"
  },
  {
    "messageKey": "pohoda.received-invoices.recipient_register_id",
    "type": "field",
    "key": "recipient_register_id",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "recipient_address"
  },
  {
    "messageKey": "pohoda.received-invoices.recipient_tax_id",
    "type": "field",
    "key": "recipient_tax_id",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "recipient_register_id"
  },
  {
    "messageKey": "pohoda.received-invoices.recipient_vat_id",
    "type": "field",
    "key": "recipient_vat_id",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "recipient_tax_id"
  },
  {
    "messageKey": "pohoda.received-invoices.recipient_street",
    "type": "field",
    "key": "recipient_street",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "recipient_vat_id"
  },
  {
    "messageKey": "pohoda.received-invoices.recipient_city",
    "type": "field",
    "key": "recipient_city",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "recipient_street"
  },
  {
    "messageKey": "pohoda.received-invoices.recipient_post_code",
    "type": "field",
    "key": "recipient_post_code",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "recipient_city"
  },
  {
    "messageKey": "pohoda.received-invoices.recipient_country",
    "type": "field",
    "key": "recipient_country",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "recipient_post_code"
  },
  {
    "messageKey": "pohoda.received-invoices.payment_details",
    "type": "subtitle",
    "sectionMessageKey": "payment_details",
    "after": "recipient_country"
  },
  {
    "messageKey": "pohoda.received-invoices.bank_account",
    "type": "field",
    "key": "bank_account",
    "multivalue": true,
    "datatype": "alphanumeric",
    "after": "payment_details"
  },
  {
    "messageKey": "pohoda.received-invoices.iban",
    "type": "field",
    "key": "iban",
    "multivalue": true,
    "datatype": "alphanumeric",
    "after": "bank_account"
  },
  {
    "messageKey": "pohoda.received-invoices.bic",
    "type": "field",
    "key": "bic",
    "multivalue": true,
    "datatype": "alphanumeric",
    "after": "iban"
  },
  {
    "messageKey": "pohoda.received-invoices.payment_type",
    "type": "field",
    "key": "payment_type",
    "datatype": "register",
    "hideRegisterValue": true,
    "after": "bic"
  },
  {
    "messageKey": "pohoda.received-invoices.spec_sym",
    "type": "field",
    "key": "spec_sym",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "payment_type"
  },
  {
    "messageKey": "pohoda.received-invoices.const_sym",
    "type": "field",
    "key": "const_sym",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "spec_sym"
  },
  {
    "type": "separator",
    "separatorKey": "separator-2",
    "after": "const_sym"
  },
  {
    "messageKey": "pohoda.received-invoices.description",
    "type": "field",
    "key": "description",
    "datatype": "alphanumeric",
    "after": "separator-2"
  },
  {
    "type": "separator",
    "separatorKey": "separator-3",
    "after": "description"
  },
  {
    "messageKey": "pohoda.received-invoices.currency",
    "type": "field",
    "key": "currency",
    "datatype": "alphanumeric",
    "after": "separator-3"
  },
  {
    "messageKey": "pohoda.received-invoices.exchange_rate",
    "type": "field",
    "key": "exchange_rate",
    "datatype": "numeric",
    "after": "currency"
  },
  {
    "type": "separator",
    "separatorKey": "separator-4",
    "after": "exchange_rate"
  },
  {
    "messageKey": "pohoda.received-invoices.tax_detail",
    "type": "field",
    "key": "tax_detail",
    "subfields": [
      {
        "key": "rate",
        "datatype": "numeric",
        "after": null,
        "messageKey": "pohoda.received-invoices.tax_detail.rate"
      },
      {
        "key": "base",
        "datatype": "numeric",
        "after": "rate",
        "messageKey": "pohoda.received-invoices.tax_detail.base"
      },
      {
        "key": "tax",
        "datatype": "numeric",
        "after": "base",
        "messageKey": "pohoda.received-invoices.tax_detail.tax"
      }
    ],
    "after": "separator-4"
  },
  {
    "type": "separator",
    "separatorKey": "separator-5",
    "after": "tax_detail"
  },
  {
    "messageKey": "pohoda.received-invoices.total_base",
    "type": "field",
    "key": "total_base",
    "datatype": "numeric",
    "after": "separator-5"
  },
  {
    "messageKey": "pohoda.received-invoices.total_tax",
    "type": "field",
    "key": "total_tax",
    "datatype": "numeric",
    "after": "total_base"
  },
  {
    "messageKey": "pohoda.received-invoices.total_incl_tax",
    "type": "field",
    "key": "total_incl_tax",
    "datatype": "numeric",
    "after": "total_tax"
  },
  {
    "messageKey": "pohoda.received-invoices.total_paid",
    "type": "field",
    "key": "total_paid",
    "datatype": "numeric",
    "after": "total_incl_tax"
  },
  {
    "messageKey": "pohoda.received-invoices.total_due",
    "type": "field",
    "key": "total_due",
    "datatype": "numeric",
    "after": "total_paid"
  },
  {
    "messageKey": "pohoda.received-invoices.total_rounding",
    "type": "field",
    "key": "total_rounding",
    "datatype": "numeric",
    "after": "total_due"
  },
  {
    "type": "separator",
    "separatorKey": "separator-6",
    "after": "total_rounding"
  },
  {
    "messageKey": "pohoda.received-invoices.line_items",
    "type": "field",
    "key": "line_items",
    "subfields": [
      {
        "key": "order",
        "datatype": "alphanumeric",
        "hidden": true,
        "after": null,
        "messageKey": "pohoda.received-invoices.line_items.order"
      },
      {
        "key": "code",
        "datatype": "alphanumeric",
        "after": "order",
        "messageKey": "pohoda.received-invoices.line_items.code"
      },
      {
        "key": "description",
        "datatype": "alphanumeric",
        "after": "code",
        "messageKey": "pohoda.received-invoices.line_items.description"
      },
      {
        "key": "quantity",
        "datatype": "numeric",
        "after": "description",
        "messageKey": "pohoda.received-invoices.line_items.quantity"
      },
      {
        "key": "unit_base",
        "datatype": "numeric",
        "after": "quantity",
        "messageKey": "pohoda.received-invoices.line_items.unit_base"
      },
      {
        "key": "total_base",
        "datatype": "numeric",
        "after": "unit_base",
        "messageKey": "pohoda.received-invoices.line_items.total_base"
      },
      {
        "key": "tax_rate",
        "datatype": "numeric",
        "after": "total_base",
        "messageKey": "pohoda.received-invoices.line_items.tax_rate"
      },
      {
        "key": "total_tax",
        "datatype": "numeric",
        "after": "tax_rate",
        "messageKey": "pohoda.received-invoices.line_items.total_tax"
      },
      {
        "key": "total_incl_tax",
        "datatype": "numeric",
        "hidden": true,
        "after": "total_tax",
        "messageKey": "pohoda.received-invoices.line_items.total_incl_tax"
      },
      {
        "key": "vat_code",
        "datatype": "register",
        "hidden": true,
        "after": "total_incl_tax",
        "messageKey": "pohoda.received-invoices.line_items.vat_code"
      },
      {
        "key": "assignment",
        "datatype": "register",
        "after": "vat_code",
        "messageKey": "pohoda.received-invoices.line_items.assignment"
      },
      {
        "key": "cost_center",
        "datatype": "register",
        "after": "assignment",
        "messageKey": "pohoda.received-invoices.line_items.cost_center"
      },
      {
        "key": "activity",
        "datatype": "register",
        "after": "cost_center",
        "messageKey": "pohoda.received-invoices.line_items.activity"
      },
      {
        "key": "contract",
        "datatype": "register",
        "after": "activity",
        "messageKey": "pohoda.received-invoices.line_items.contract"
      }
    ],
    "after": "separator-6"
  },
  {
    "messageKey": "pohoda.received-invoices.pohoda_header_registers",
    "type": "subtitle",
    "sectionMessageKey": "pohoda_header_registers",
    "after": "line_items"
  },
  {
    "messageKey": "pohoda.received-invoices.vat_code",
    "type": "field",
    "key": "vat_code",
    "datatype": "register",
    "after": "pohoda_header_registers"
  },
  {
    "messageKey": "pohoda.received-invoices.assignment",
    "type": "field",
    "key": "assignment",
    "datatype": "register",
    "after": "vat_code"
  },
  {
    "messageKey": "pohoda.received-invoices.cost_center",
    "type": "field",
    "key": "cost_center",
    "datatype": "register",
    "after": "assignment"
  },
  {
    "messageKey": "pohoda.received-invoices.activity",
    "type": "field",
    "key": "activity",
    "datatype": "register",
    "after": "cost_center"
  },
  {
    "messageKey": "pohoda.received-invoices.contract",
    "type": "field",
    "key": "contract",
    "datatype": "register",
    "after": "activity"
  },
  {
    "type": "separator",
    "separatorKey": "separator-7",
    "after": "contract"
  },
  {
    "messageKey": "pohoda.received-invoices.note",
    "type": "field",
    "key": "note",
    "datatype": "alphanumeric",
    "after": "separator-7"
  },
  {
    "type": "separator",
    "separatorKey": "separator-8",
    "after": "note"
  }
]
json

Annotation Schema Example 2: Flexibee - received invoices

[
  {
    "messageKey": "flexibee.received-invoices.document_type",
    "type": "field",
    "key": "document_type",
    "required": true,
    "datatype": "register",
    "after": null
  },
  {
    "messageKey": "flexibee.received-invoices.accounting_sequence",
    "type": "field",
    "key": "accounting_sequence",
    "required": true,
    "datatype": "register",
    "after": "document_type"
  },
  {
    "messageKey": "flexibee.received-invoices.invoice_id",
    "type": "field",
    "key": "invoice_id",
    "datatype": "alphanumeric",
    "required": true,
    "after": "accounting_sequence"
  },
  {
    "messageKey": "flexibee.received-invoices.var_sym",
    "type": "field",
    "key": "var_sym",
    "datatype": "alphanumeric",
    "after": "invoice_id"
  },
  {
    "messageKey": "flexibee.received-invoices.const_sym",
    "type": "field",
    "key": "const_sym",
    "datatype": "alphanumeric",
    "hidden": true,
    "after": "var_sym"
  },
  {
    "messageKey": "flexibee.received-invoices.order_id",
    "type": "field",
    "key": "order_id",
    "datatype": "alphanumeric",
    "after": "const_sym"
  },
  {
    "messageKey": "flexibee.received-invoices.ref_invoice_id",
    "type": "field",
    "key": "ref_invoice_id",
    "datatype": "alphanumeric",
    "after": "order_id"
  },
  {
    "type": "separator",
    "after": "ref_invoice_id",
    "separatorKey": "separator-1"
  },
  {
    "messageKey": "flexibee.received-invoices.received_date",
    "type": "field",
    "key": "received_date",
    "datatype": "date",
    "after": "separator-1"
  },
  {
    "messageKey": "flexibee.received-invoices.taxable_supply_date",
    "type": "field",
    "key": "taxable_supply_date",
    "datatype": "date",
    "after": "received_date"
  },
  {
    "messageKey": "flexibee.received-invoices.date_received",
    "type": "field",
    "key": "date_received",
    "datatype": "date",
    "after": "taxable_supply_date"
  },
  {
    "messageKey": "flexibee.received-invoices.accounting_date",
    "type": "field",
    "key": "accounting_date",
    "datatype": "date",
    "after": "date_received"
  },
  {
    "messageKey": "flexibee.received-invoices.issue_date",
    "type": "field",
    "key": "issue_date",
    "datatype": "date",
    "after": "accounting_date"
  },
  {
    "messageKey": "flexibee.received-invoices.due_date",
    "type": "field",
    "key": "due_date",
    "datatype": "date",
    "after": "issue_date"
  },
  {
    "type": "separator",
    "after": "due_date",
    "separatorKey": "separator-2"
  },
  {
    "messageKey": "flexibee.received-invoices.supplier_details",
    "type": "subtitle",
    "message": "Supplier details",
    "sectionMessageKey": "supplier_details",
    "after": "separator-2"
  },
  {
    "messageKey": "flexibee.received-invoices.sender_name",
    "type": "field",
    "key": "sender_name",
    "datatype": "alphanumeric",
    "after": "supplier_details"
  },
  {
    "messageKey": "flexibee.received-invoices.sender_street",
    "type": "field",
    "key": "sender_street",
    "datatype": "alphanumeric",
    "after": "sender_name"
  },
  {
    "messageKey": "flexibee.received-invoices.sender_city",
    "type": "field",
    "key": "sender_city",
    "datatype": "alphanumeric",
    "after": "sender_street"
  },
  {
    "messageKey": "flexibee.received-invoices.sender_post_code",
    "type": "field",
    "key": "sender_post_code",
    "datatype": "alphanumeric",
    "after": "sender_city"
  },
  {
    "messageKey": "flexibee.received-invoices.sender_country",
    "type": "field",
    "key": "sender_country",
    "datatype": "register",
    "required": true,
    "after": "sender_post_code"
  },
  {
    "messageKey": "flexibee.received-invoices.sender_register_id",
    "type": "field",
    "key": "sender_register_id",
    "datatype": "alphanumeric",
    "after": "sender_country"
  },
  {
    "messageKey": "flexibee.received-invoices.sender_tax_id",
    "type": "field",
    "key": "sender_tax_id",
    "datatype": "alphanumeric",
    "after": "sender_register_id"
  },
  {
    "messageKey": "flexibee.received-invoices.sender_vat_id",
    "datatype": "alphanumeric",
    "type": "field",
    "key": "sender_vat_id",
    "hidden": true,
    "after": "sender_tax_id"
  },
  {
    "messageKey": "flexibee.received-invoices.recipient_details",
    "type": "subtitle",
    "message": "Recipient details",
    "sectionMessageKey": "recipient_details",
    "after": "sender_vat_id",
    "hidden": true
  },
  {
    "messageKey": "flexibee.received-invoices.recipient_name",
    "type": "field",
    "key": "recipient_name",
    "datatype": "alphanumeric",
    "after": "recipient_details",
    "hidden": true
  },
  {
    "messageKey": "flexibee.received-invoices.recipient_street",
    "type": "field",
    "key": "recipient_street",
    "datatype": "alphanumeric",
    "after": "recipient_name",
    "hidden": true
  },
  {
    "messageKey": "flexibee.received-invoices.recipient_city",
    "type": "field",
    "key": "recipient_city",
    "datatype": "alphanumeric",
    "after": "recipient_street",
    "hidden": true
  },
  {
    "messageKey": "flexibee.received-invoices.recipient_post_code",
    "type": "field",
    "key": "recipient_post_code",
    "datatype": "alphanumeric",
    "after": "recipient_city",
    "hidden": true
  },
  {
    "messageKey": "flexibee.received-invoices.recipient_country",
    "type": "field",
    "key": "recipient_country",
    "datatype": "register",
    "hidden": true,
    "after": "recipient_post_code"
  },
  {
    "messageKey": "flexibee.received-invoices.recipient_register_id",
    "type": "field",
    "key": "recipient_register_id",
    "datatype": "alphanumeric",
    "after": "recipient_country",
    "hidden": true
  },
  {
    "messageKey": "flexibee.received-invoices.recipient_tax_id",
    "type": "field",
    "key": "recipient_tax_id",
    "datatype": "alphanumeric",
    "after": "recipient_register_id",
    "hidden": true
  },
  {
    "messageKey": "flexibee.received-invoices.recipient_vat_id",
    "datatype": "alphanumeric",
    "type": "field",
    "key": "recipient_vat_id",
    "hidden": true,
    "after": "recipient_tax_id"
  },
  {
    "type": "separator",
    "after": "recipient_vat_id",
    "separatorKey": "separator-3"
  },
  {
    "messageKey": "flexibee.received-invoices.payment_details",
    "type": "subtitle",
    "message": "Payment details",
    "sectionMessageKey": "payment_details",
    "after": "separator-3"
  },
  {
    "messageKey": "flexibee.received-invoices.bank_account",
    "multivalue": true,
    "type": "field",
    "key": "bank_account",
    "datatype": "alphanumeric",
    "after": "payment_details"
  },
  {
    "messageKey": "flexibee.received-invoices.iban",
    "multivalue": true,
    "type": "field",
    "key": "iban",
    "datatype": "alphanumeric",
    "after": "bank_account"
  },
  {
    "messageKey": "flexibee.received-invoices.bic",
    "multivalue": true,
    "type": "field",
    "key": "bic",
    "datatype": "alphanumeric",
    "after": "iban"
  },
  {
    "messageKey": "flexibee.received-invoices.payment_type",
    "type": "field",
    "key": "payment_type",
    "datatype": "register",
    "after": "bic"
  },
  {
    "type": "separator",
    "after": "payment_type",
    "separatorKey": "separator-4"
  },
  {
    "messageKey": "flexibee.received-invoices.currency",
    "type": "field",
    "key": "currency",
    "datatype": "alphanumeric",
    "after": "separator-4"
  },
  {
    "messageKey": "flexibee.received-invoices.exchange_rate",
    "type": "field",
    "key": "exchange_rate",
    "datatype": "numeric",
    "after": "currency"
  },
  {
    "type": "separator",
    "after": "exchange_rate",
    "separatorKey": "separator-5"
  },
  {
    "messageKey": "flexibee.received-invoices.description",
    "type": "field",
    "key": "description",
    "datatype": "alphanumeric",
    "after": "separator-5"
  },
  {
    "type": "separator",
    "after": "description",
    "separatorKey": "separator-6"
  },
  {
    "messageKey": "flexibee.received-invoices.tax_detail",
    "type": "field",
    "key": "tax_detail",
    "after": "separator-6",
    "subfields": [
      {
        "key": "rate",
        "datatype": "numeric",
        "after": null,
        "messageKey": "flexibee.received-invoices.tax_detail.rate"
      },
      {
        "key": "base",
        "datatype": "numeric",
        "after": "rate",
        "messageKey": "flexibee.received-invoices.tax_detail.base"
      },
      {
        "key": "tax",
        "datatype": "numeric",
        "after": "base",
        "messageKey": "flexibee.received-invoices.tax_detail.tax"
      }
    ]
  },
  {
    "messageKey": "flexibee.received-invoices.total_base",
    "type": "field",
    "key": "total_base",
    "datatype": "numeric",
    "after": "tax_detail"
  },
  {
    "messageKey": "flexibee.received-invoices.total_tax",
    "type": "field",
    "key": "total_tax",
    "datatype": "numeric",
    "after": "total_base"
  },
  {
    "messageKey": "flexibee.received-invoices.total_incl_tax",
    "type": "field",
    "key": "total_incl_tax",
    "datatype": "numeric",
    "after": "total_tax"
  },
  {
    "messageKey": "flexibee.received-invoices.total_paid",
    "type": "field",
    "key": "total_paid",
    "datatype": "numeric",
    "after": "total_incl_tax"
  },
  {
    "messageKey": "flexibee.received-invoices.total_due",
    "type": "field",
    "key": "total_due",
    "datatype": "numeric",
    "after": "total_paid"
  },
  {
    "messageKey": "flexibee.received-invoices.total_rounding",
    "type": "field",
    "key": "total_rounding",
    "datatype": "numeric",
    "after": "total_due"
  },
  {
    "type": "separator",
    "after": "total_rounding",
    "separatorKey": "separator-7"
  },
  {
    "messageKey": "flexibee.received-invoices.line_items",
    "type": "field",
    "key": "line_items",
    "after": "separator-7",
    "subfields": [
      {
        "key": "code",
        "datatype": "alphanumeric",
        "after": null,
        "messageKey": "flexibee.received-invoices.line_items.code"
      },
      {
        "key": "pricing_code",
        "datatype": "register",
        "after": "code",
        "messageKey": "flexibee.received-invoices.line_items.pricing_code"
      },
      {
        "key": "description",
        "datatype": "alphanumeric",
        "after": "pricing_code",
        "messageKey": "flexibee.received-invoices.line_items.description"
      },
      {
        "key": "quantity",
        "datatype": "numeric",
        "after": "description",
        "messageKey": "flexibee.received-invoices.line_items.quantity"
      },
      {
        "key": "unit_base",
        "datatype": "numeric",
        "after": "quantity",
        "messageKey": "flexibee.received-invoices.line_items.unit_base"
      },
      {
        "key": "total_base",
        "datatype": "numeric",
        "after": "unit_base",
        "messageKey": "flexibee.received-invoices.line_items.total_base"
      },
      {
        "key": "tax_rate",
        "datatype": "numeric",
        "after": "total_base",
        "messageKey": "flexibee.received-invoices.line_items.tax_rate"
      },
      {
        "key": "total_tax",
        "datatype": "numeric",
        "after": "tax_rate",
        "messageKey": "flexibee.received-invoices.line_items.total_tax"
      },
      {
        "key": "total_incl_tax",
        "datatype": "numeric",
        "after": "total_tax",
        "messageKey": "flexibee.received-invoices.line_items.total_incl_tax"
      },
      {
        "key": "assignment",
        "datatype": "register",
        "after": "total_incl_tax",
        "messageKey": "flexibee.received-invoices.line_items.assignment"
      },
      {
        "key": "account_code",
        "datatype": "register",
        "after": "assignment",
        "messageKey": "flexibee.received-invoices.line_items.account_code"
      },
      {
        "key": "cost_center",
        "datatype": "register",
        "after": "account_code",
        "messageKey": "flexibee.received-invoices.line_items.cost_center"
      },
      {
        "key": "contract",
        "datatype": "register",
        "after": "cost_center",
        "messageKey": "flexibee.received-invoices.line_items.contract"
      },
      {
        "key": "activity",
        "datatype": "register",
        "after": "contract",
        "messageKey": "flexibee.received-invoices.line_items.activity"
      }
    ]
  },
  {
    "type": "separator",
    "after": "line_items",
    "separatorKey": "separator-8"
  },
  {
    "messageKey": "flexibee.received-invoices.header_registers",
    "type": "subtitle",
    "message": "Header registers",
    "sectionMessageKey": "header_registers",
    "after": "separator-8"
  },
  {
    "messageKey": "flexibee.received-invoices.assignment",
    "type": "field",
    "key": "assignment",
    "datatype": "register",
    "after": "header_registers"
  },
  {
    "messageKey": "flexibee.received-invoices.account_code",
    "type": "field",
    "key": "account_code",
    "datatype": "register",
    "after": "assignment"
  },
  {
    "messageKey": "flexibee.received-invoices.account_code_credit",
    "type": "field",
    "key": "account_code_credit",
    "datatype": "register",
    "after": "account_code"
  },
  {
    "messageKey": "flexibee.received-invoices.vat_code",
    "type": "field",
    "key": "vat_code",
    "datatype": "register",
    "after": "account_code_credit"
  },
  {
    "messageKey": "flexibee.received-invoices.report_code",
    "type": "field",
    "key": "report_code",
    "datatype": "register",
    "after": "vat_code"
  },
  {
    "messageKey": "flexibee.received-invoices.reverse_charge_type",
    "type": "field",
    "key": "reverse_charge_type",
    "datatype": "register",
    "after": "report_code"
  },
  {
    "messageKey": "flexibee.received-invoices.cost_center",
    "type": "field",
    "key": "cost_center",
    "datatype": "register",
    "after": "reverse_charge_type"
  },
  {
    "messageKey": "flexibee.received-invoices.contract",
    "type": "field",
    "key": "contract",
    "datatype": "register",
    "after": "cost_center"
  },
  {
    "messageKey": "flexibee.received-invoices.activity",
    "type": "field",
    "key": "activity",
    "datatype": "register",
    "after": "contract"
  },
  {
    "messageKey": "flexibee.received-invoices.label",
    "type": "field",
    "key": "label",
    "datatype": "register",
    "multivalue": true,
    "after": "activity"
  },
  {
    "type": "separator",
    "after": "label",
    "separatorKey": "separator-9"
  },
  {
    "messageKey": "flexibee.received-invoices.note",
    "type": "field",
    "key": "note",
    "datatype": "alphanumeric",
    "after": "separator-9"
  },
  {
    "messageKey": "flexibee.received-invoices.export_attachment",
    "type": "field",
    "key": "export_attachment",
    "datatype": "register",
    "defaultValue": "true",
    "hideRegisterValue": true,
    "after": "note"
  },
  {
    "type": "separator",
    "separatorKey": "separator-10",
    "after": "export_attachment"
  }
]
json