In Spain we are obliged to have the simplified invoice number printed on the ticket, we are now printing this using Square, however, I don’t seem to be able to access this field from the API. Any way to get it?
See the picture on this link https://freeimage.host/i/Lo2klf, its called Factura Simplificada.
I’m interested in this functionality but couldn’t find any relevant documentation. I’m not sure if this applies only to Spain, but each receipt should have a sequential ID. I noticed that each receipt includes a code I can’t identify, followed by a dash and then the sequential number, as shown in the examples below:
From my examples in my first message, one of the transactions was processed by Square and the other one was cash.
The sequential number we are looking for should be related to the transaction (cash or card, there should be a sequential id for each receipt).
Here are the ids:
Currently, that number on a receipt doesn’t correspond to an ID that will pull order or payment information from our APIs. You’ll have to use the order_id or a payment_id to get information from the APIs.