# Prevent block errors with delayed invoicing

In Business Central, when an item (or one of its variants) is blocked, posting any entry that involves it stops with an error. This is a problem with delayed invoicing: the goods were already shipped or received before the block, but the invoice is posted later.

With this module, posting only the invoicing of quantities already shipped or received is no longer stopped if the item or variant has been blocked in the meantime.


The block check is skipped only for lines that do not move inventory quantities, that is, when posting only the invoicing of goods already shipped or received. For example:

- posting a **Sales Invoice** or **Purchase Invoice** created with **Get Shipment Lines** / **Get Receipt Lines**;
- posting a **Sales Order** or **Purchase Order** with the **Invoice** option, for quantities already shipped or received;
- posting credit memos linked to returns already received or shipped.


- If the line posts a quantity (shipment, receipt, inventory movement), the item and variant block is checked as usual and posting is prevented as normal.
- If the line posts value only (invoicing with no quantity), the item and variant block is ignored and the invoice is posted.
- No setup is required: the behavior is active automatically.