Green’s Dictionary of Slang

damned soul n.

[note cit. 1788]

a customs house clerk.

[UK]Grose Classical Dict. of the Vulgar Tongue (2nd, 3rd edn) n.p.: Damned Soul. A clerk in a counting house, whose sole business it is to clear or swear off merchandise at the custom-house; and who, it is said, guards against the crime of perjury, by taking a previous oath, never to swear truly on those occasions.
[UK]Lex. Balatronicum.
[UK]Egan Grose’s Classical Dict. of the Vulgar Tongue.