-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
From the documentation:
How can we know the number, GROSS and NET value of an invoice?
All HTTP response consist of two parts. First is the header the second one is the body. In
case we asked for the Invoice the body will be the PDF. The header is always a
name=value pair. In all programming languages that support HTTP requests there is an
option to get the values in the header. In Invoice Agent we can put data in the header on
the following names, that always start with “szlahu_”:
- szlahu_szamlaszam: the number of the created invoice, URL encoded
- szlahu_nettovegosszeg: number type data, not URL encoded
- szlahu_bruttovegosszeg: number type data, not URL encoded
- szlahu_error: text of error message, I sentence, URL encoded
- szlahu_error_code: number type data, not URL encoded
If there are error codes in the header, than the other date (invoice number, gross and
net value) will not be present in the header. In case of XML response besides the header
the XML will include these information as well.
Right now these fields are ignored and cannot be accessed:
szlahu_szamlaszamszlahu_nettovegosszegszlahu_bruttovegosszeg
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels