Breadcrumb history decision

Imagine that we have the following example:

We have a customer that has documents and accounts and we provide two ways to reach the documents or accounts, either from:

MAIN -> CUSTOMER -> Documents -> View Document with ID

MAIN -> CUSTOMER -> Accounts -> View Accounts with ID

and

MAIN -> View all Documents -> View Document with ID

MAIN -> View all Accounts -> View Accounts with ID

My question is, shall we use different breadcrumbs for each view in order for the user to be able to go back to the previous view without using the browser's back button?

e.g.

Main / Customer / Customer ID / Document / Document ID for the first case and

Main / Document / Document ID for the second case?

Is this correct?