For shipment invoice
- Create a fiscal document type code for triangular shipment in the Fiscal Document Type Code (lpbra0101m000) session with this data:
            
- Transaction Origin set to Inbound
 - Receipt set to Triangular Operation Shipment
 - Invoicing set to Not Applicable
 
 
In fiscal document type matrix, for this type of operation, this is used as a filter for the fields related to the standard functionality of Invoice by Stage Payments.
- Create a fiscal document type matrix in the Fiscal Document Type Code Matrix Definition (lpbra0102m000) session with this data:
            
- Transaction Origin set to Inbound
 - Source Type set to Not Applicable
 - Order Origin set to Purchase
 - Select Warehouse Receipt in the Receipt Type field of the General section
 - Select in the Invoice by Stage Payments field of the General section
 - Select the fiscal document type code for triangular shipment in the Fiscal Document Type Code field of the Search Data section