Hello,
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.
Regards
Albert
What’s the ID of the payment that you referenced in the image? 
Hello,
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:
Factura simplificada 12CDE333-822
Factura simplificada 12CDE333-823
Note that this is different from the receipt_number field: tmMC (for 822) and jRws (for 823).
Does anyone know which endpoint I could use to access this data, if it’s available?
Thanks in advance
What’s the invoice_id
for those invoices? 
1 Like
Hey Bryan,
Thanks for your reply.
I can’t see any invoice_id, I am getting these from Payments. And we actually don’t have any invoice created.
Were these processed by Square? If so what are the Square generated IDs. 
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:
id:
jRwssb0SLTBZqhDLYtYSiCD2uaB
tmMCODsi0B5NehJOF3TMItMRuaB
order_id:
gnWca10MWytTKhsKQOfyoNweV
QDIyDEeTocUF8slVSNpJg94eV
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. 