if you are looking to create something like below.
Create calculations as below.
If [Type]="invoice" then [Amount]
If [Type]="receipt" then [Amount]
Plot them against the date and select dual axis option. which will give you the above result.
Thanks and Regards,
Exactly what I wanted thanks