From the Hilton Honors terms and conditions:
...To earn Hilton Honors Points or credit toward tier status for hotel stays, a Member must be a registered, paying and staying guest at a participating hotel within the Hilton Portfolio and meet all of the conditions described herein. Members may also earn Hilton Honors Points for eligible charges to Hilton Honors credit cards, a list of such credit cards is available
here, subject to terms outlined in their Cardmember Agreement. See the Credit Card Terms and Conditions for additional details. Points may also be earned for other activities as designated by Hilton Honors from time to time.
...
A Member whose individual hotel bill is billed directly to a company and the Member is responsible for authorization for settlement at check-out is eligible for Hilton Honors Points as described herein. However, group master-billing arrangements where charges for multiple rooms are placed on one hotel bill and billed to a company or common address or settled at check-out by one individual are not eligible for Hilton Honors Points. Incidental charges (those charged to a Member's room) paid for directly by the Member at check-out are eligible for Point credit. Incidental charges billed to a master bill are not eligible for Point credit.
[Emphasis added]
There terms have been there for some time. For your direct billing situation it comes down to whether (1) you were part of a group (not eligible for points), (2) the hotel bill was direct billed and someone at your company is responsible for authorizing the charges (not eligible for points), or (3) the hotel bill was direct billed but you are responsible for authorizing the charges (eligible for points).
See also:
Can I collect a stay if my company has booked and paid
Night/Stay/Points credit for part of a group booking?
Earning points when someone else pays?
Hotel paid for by company. Points?
Hilton points ONLY if you are the payer