many situation, user want to send invoice to customer by mail automatically when they create the billing document and save it. In then mail header, user want to show this invoice number.
in this case, you can config like this :
IMG-sales and distribution-basic function-output control-output determination-output determination using the condition technique-maintain output determination for billing document-maintain output types:
double click,choose the output type what you want and double click; then choose mail title and texts,maintain in it. it will be okay.
XVBRK-VBELN should be changed to XVBRK-XBLNR