Sample codes for invoice journal

hii all

can anyone post sample codes for invoice journal.