Labels Query in Data Summary

Labels Query

With the Labels query you can create your own category that will base the calculations on transactions having specific labels assigned if you’re using the Labeling service. In the Data Summary response, your query will become the category name with calculated metrics within.

Format description

The Labels Query contains:

The format requires label names as per our documentation.

Label names may contain spaces. Only :, &, | and ~ are allowed in the query as special characters.

“at least” in the descriptions means that the transactions can have any number of other labels that are not mentioned in the query and they will still be considered for the calculations.

The constructs in the table present examples that should either match or not with the required format:

Correct Incorrect
label:a label:a~
label:a&b&c label:a&b|c
label:a|b|c label:a|b&c
label:a~b label:a&b&c&d&e&f
label:a&b~c label:a~b&c
label:a&b~c|d label:a|b~c&d
label:a|b|c~d|e label:a~b|c|d|e|f|g
label:a&b&c&d&e label:(a|b)&c
label:a&b&c&d&e~f|g|h|i|j label:~a

Usage examples

Given transactions with the following labels:

  1. car
  2. e commerce
  3. leasing
  4. invoice
  5. car, e commerce
  6. car, leasing
  7. car, invoice
  8. e commerce, leasing
  9. e commerce, invoice
  10. leasing, invoice
  11. car, e commerce, leasing
  12. car, e commerce, invoice
  13. car, leasing, invoice
  14. e commerce, leasing, invoice
  15. car, e commerce, leasing, invoice

The following queries will cause Data Summary to process specific transactions:

Labels query Query explanation Included transactions
label:car Include transactions that have car label assigned 1, 5, 6, 7, 11, 12, 13, 15
label:car&leasing Include transactions that have both car and leasing labels assigned 6, 11, 13, 15
label:car|leasing Include transactions that have either car or leasing labels assigned 1, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15
label:car&leasing~invoice Include transactions that have both car and leasing labels assigned but don’t have invoice label 6, 11
label:car|leasing~invoice|e commerce Include transactions that have either car or leasing labels assigned but don’t have invoice or e commerce labels 1, 3, 6

Documentation

For technical documentation, refer to our unified documentation that offers comprehensive support for customers integrating with AIS services, our PDF parser, and Data Analysis solutions. Discover detailed guidance on seamless integration with Kontomatik services and explore their full range of capabilities.

Contact

Sales

Do you need help in explaining our products, costs, and cooperation?

Technical Support

Do you have technical questions about our services or API integration?