When should I use FNB document type
The FNB document type is being used as an order document which is informative and doesn’t not transmitted to the IAPR. The FNB document is being used only to the internal operation of the shops, and in no case are they tax envidence (i.e. legal receipts). It is offset against the final receipt/invoice and is not sent to the AADE. For example, order form in the restaurant of the hotel.
So that to be offset against the final receipt/invoice, the field “fnbClearance” has to being added to the final receipt/invoice which is an array with the Internal Documents Ids of the fnb documents. For example:
"fnbClearance": [
"10001",
"10002"
] // array of internalDocumentIds from Order Invoices associated with the receipt
By using the fnbClearance field in the final receipt, you inform the service about the internal documents ids of the delivery notes that has to be cleared with this final receipt/invoice. This document does not transmitted to the IAPR right now, it is only been archived in the portal. It is used for internal operation in the shops. In the future it will transmitted to IAPR.