kasseneck_api 1.1.9 copy "kasseneck_api: ^1.1.9" to clipboard
kasseneck_api: ^1.1.9 copied to clipboard

A Flutter package for interacting with the Kasseneck Cashregister API. By Kreiseck.

Kasseneck Flutter API #

A Flutter package providing a simple interface to the Austrian Kasseneck cash register system.
You will need a valid API Key and Cashregister Token to operate your Kasseneck cash register via this API.

Installation #

Add the following line to the dependencies section of your pubspec.yaml:

dependencies:
  kasseneck_api: ^1.0.0

Then run:

flutter pub get

Usage #

import 'package:kasseneck_api/kasseneck_api.dart';

void main() async {
  // Create an instance with your Kasseneck credentials
  final kasseneck = KasseneckApi(
    apiKey: 'YOUR_API_KEY',
    cashregisterToken: 'YOUR_CASHREGISTER_TOKEN',
  );

  // Example: Create a standard receipt
  try {
    final receipt = await kasseneck.createReceipt(
      receiptType: 'standard',
      paymentMethod: 'cash',
      items: [
        KasseneckItem(name: 'Trip', amount: 1, vat: 10, priceOne: 19.99),
      ],
      customerDetails: 'John Doe',
    );

    print('Receipt created: ${receipt?.receiptId}');
  } catch (error) {
    print('Error creating receipt: $error');
  }
}

Support

For questions or support inquiries, feel free to contact office@kreiseck.com.

Happy coding with the Kasseneck Flutter API!

0
likes
125
points
99
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for interacting with the Kasseneck Cashregister API. By Kreiseck.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

esc_pos_utils_plus, flutter, flutter_esc_pos_network, http, image, qr_flutter

More

Packages that depend on kasseneck_api