Expenses to be passed on to your customers are normally posted via the posting workflow with the transaction “Material and service expenses”, it is best to use one tag for the project or the customer concerned. You can then evaluate account 4000 with the corresponding tag in the account detail and assign the total amount of your invoice to the customer accordingly.