Custom multiple invoice number

will try let me see if i can do it

is working now i have a problem lol , how to show the tag choosen hehe
so now i have Comprobante Fiscal : [=F(’{TICKET TAG:VFNUMBER}’,‘00000000’)]
but if i tag CFNUMBER is choose how do i make and if there sorry for to many questions

Show your tag rule & actions

i will do a tutorial about COMPROBANTES FISCALES Numbers cus im sure is used for to many people of latin america n i didnt see anyone when i finished just the ticket part left me to show the tag when is choosen :grinning:

1 Like

same thing for 3 left custom invoice numbers called comprobantes

OK, so explain your question again?

i want to show in ticket printed i mean ticket template
the tag choosen if i choose credito fiscal automation command will give a number ex 0000005

if i choose consumidor final automation command will give a number 00000009
are diferent ticket tags so i want to show when every one is choosen

You would put {TICKET TAG:<TagName>} in the template to show a ticket tag.
Replacing <TagName> with your tag name.

Would a ticket only ever use one of the four?

YES LIKE THIS

Put them inline and wrap each with a [ ] square bracket.
Quair brackets should hide if the template tag is empty;
<J00>[VF: {VF TAG} ][CF: {CF TAG}]

1 Like

NCF:[=F(’{TICKET TAG:VFNUMBER}’,‘00000000’)][=F(’{TICKET TAG:CFNUMBER}’,‘00000000’)]
Is working , but i need something like this
NCF:[=F(’{TICKET TAG:VFNUMBER}’,‘00000000’)]NCFCF:[=F(’{TICKET TAG:CFNUMBER}’,‘00000000’)]
this dont work

why is not working the last line? whats is wrong there have been trying hehe

Might have got that wrong.
Take the four lines you have in the screenshot and put [] arround the whole line including the line formatting tag.

not working
[
VF:[=F(’[{TICKET TAG:VFNUMBER}’,‘00000000’)]
CF:[=F(’[{TICKET TAG:CFNUMBER}’,‘00000000’)]
GOB:[=F(’{TICKET TAG:GOBNUMBER}’,‘00000000’)]
RES:[=F(’{TICKET TAG:RESNUMBER}’,‘00000000’)]
]
not working this to
[VF:[=F(’[{TICKET TAG:VFNUMBER}’,‘00000000’)]
CF:[=F(’[{TICKET TAG:CFNUMBER}’,‘00000000’)]
GOB:[=F(’{TICKET TAG:GOBNUMBER}’,‘00000000’)]
RES:[=F(’{TICKET TAG:RESNUMBER}’,‘00000000’)]]
and not working this
[VF:[=F(’[{TICKET TAG:VFNUMBER}’,‘00000000’)]][CF:[=F(’[{TICKET TAG:CFNUMBER}’,‘00000000’)]]

something must be wrong when i try to put anoter ncfvf: label

Show your actual template.
When you paste it in select the code and click the</> button on the toolbar as the forum strips some of the code else.

[LAYOUT]
– General layout
Ticket
Date:{TICKET DATE}
Time:{TIME} -
TicketS

TicketN

NCF:[=F(’{TICKET TAG:VFNUMBER}’,‘00000000’)]
NCF:[=F(’{TICKET TAG:CFNUMBER}’,‘00000000’)]
GOB:[=F(’{TICKET TAG:GOBNUMBER}’,‘00000000’)]
RES:[=F(’{TICKET TAG:RESNUMBER}’,‘00000000’)]

{ENTITIES}
Ticket No:{TICKET NO}
-
{ORDERS}
=

{DISCOUNTS}
[Total Gift:|{ORDER STATE TOTAL:Gift}]
{SERVICES}
Total:|{TICKET TOTAL}
{PAYMENTS}

=
T H A N K Y O U

[DISCOUNTS]
{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

[SERVICES]
{CALCULATION NAME}|{CALCULATION TOTAL}

[PAYMENTS]
{PAYMENT NAME}|{PAYMENT AMOUNT}

[ORDERS]
– Default format for orders
- {QUANTITY} {NAME}|{TOTAL PRICE}
{ORDER TAGS}

[ORDERS:Gift]
– Format for gifted orders
- {QUANTITY} {NAME}|GIFT
{ORDER TAGS}

[ORDERS:Void]
– Nothing will print for void lines

[ORDER TAGS]
– Format for order tags
* {ORDER TAG NAME} | {ORDER TAG PRICE}

[ENTITIES:Table]
– Table entity format
Table: {ENTITY NAME}

[ENTITIES:Customer]
– Customer entity format
Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

is the default template just add the ticket tags part as i didnt working yet with the ticket before this

You didnt select the code and use the </> button

Should show like this;

<T>Ticket
<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
{ENTITIES}
<L00>Ticket No:{TICKET NO}
<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
{SERVICES}
<J10>Total:|{TICKET TOTAL}
{PAYMENTS}
<DB>
<F>=
<C10>T H A N K   Y O U

[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

[SERVICES]
<J00>{CALCULATION NAME}|{CALCULATION TOTAL}

[PAYMENTS]
<J00>{PAYMENT NAME}|{PAYMENT AMOUNT}

[ORDERS]
-- Default format for orders
<J00>- {QUANTITY} {NAME}|{TOTAL PRICE}
{ORDER TAGS}

[ORDERS:Gift]
-- Format for gifted orders
<J00>- {QUANTITY} {NAME}|**GIFT**
{ORDER TAGS}

[ORDERS:Void]
-- Nothing will print for void lines

[ORDER TAGS]
-- Format for order tags
<J00> * {ORDER TAG NAME} | {ORDER TAG PRICE}

[ENTITIES:Table]
-- Table entity format
<L00>Table: {ENTITY NAME}

[ENTITIES:Customer]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}