Skip to content
View in the app

A better way to browse. Learn more.

Loyverse Town

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

¿Como puedo enviar el total de la cuenta por API mostrando un total y mostrar con cuanto esta pagando el cliente?

Featured Replies

Estoy usando el api https://developer.loyverse.com/docs/#tag/Receipts/paths/~1receipts/post. Para integrar mi sistema de toma de pedidos en linea con Loyverse, lamentablemente el sistema de cupones que uso no coincide con los tipos de cupones de loyverse y adicional necesito almacenar el monto de pago en efectivo del Cliente. Explico con un ejemplo:

4 x Orden de tacos => $400

Descuento del cupon externo: $100

Monto que se recibe en efectivo: $500

Total de la venta: $300

El problema es que Loyverse no me deja enviar el total del recibo como $300 que es lo que ingreso al negocio y registar que fue pagado con un billete de $500.

En la documentacion dice que puedo usar el campo total_money para enviar el total de la compra ya con descuentos, pero ignora ese dato cuando veo el recibo

 

image.thumb.png.23ea7e7095433252e522d1a6f4b519e3.png

image.png.b2f299b7160cb2dfcbf6182ccfbe22c5.png

 

Edited by Jorgeligg
Mas contexto y capturas de pantalla

  • 4 weeks later...

Hello @Jorgeligg

Thank you for your post!

I think you are looking at the "Get a single receipt" endpoint because the "Create a sales receipts" doesn't include the "total_money" parameter.

image.thumb.png.26b68e4d1838347f5e85012c49d998a5.png

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.