The PDF invoice generator can be configured in order to implement the seller's informational elements and graphic identity.
The configuration is done through a json-type structure providing a set of “key”:“values”.
fontbasefamily: allows changing the font family.fontbasesize: allows changing the font size.custx: offsets the reference point of the whole document from the left edge of the document (in cm)custy: offsets the reference point of the whole document from the top of the document (in cm)The reference point is the position of the left/top corner of the header image.
contentoffsetx: offsets the content (excluding header) from the left edge of the document (in cm)contentoffsety: offsets the content (excluding header) from the top of the document (in cm)The “inner” parameters are variations of these parameters for the “inner” pages (pages other than the first page). If they are not defined, the values above will be used.
innercontentoffsetx: offsets the content (excluding header) from the left edge of the document (in cm)innercontentoffsety: offsets the content (excluding header) from the top of the document (in cm)These parameters are only useful if a payment acknowledgement Stamp image is set (local_shop/billpaidstampimage).
paidstampx: horizontal placement from the edge of the sheet (in cm)paidstampy: vertical placement from the top of the sheet (in cm)paidstampw: stamp width (optional)paidstamph: stamp height (optional)watermarkx: horizontal placement from the edge of the sheet (in cm)watermarky: vertical placement from the top of the sheet (in cm)watermarkw: changes the watermark widthwatermarkh: changes the watermark height