Yes, I have successfully obtained the sandbox token. Please note that sandbox and production tokens are different, and it’s important to request each separately depending on your environment.
Also, IP whitelisting is mandatory before you can post data to the production or sandbox endpoints. Without whitelisting, your POST requests will be blocked.
As for the endpoints:
The validation endpoint is used to verify that your invoice payload is compliant with FBR requirements.
The POST endpoint is used to submit the actual invoice data to the FBR system once validation is successful.
I’m currently working through the posting step myself, so happy to collaborate with anyone else at this stage.
Thank you for your explanation — I truly appreciate it.
If I may, I’d like to ask a bit further regarding the IP address that needs to be whitelisted on the FBR server. Should it be the IP address of the computer running Manager, the server where the Manager application is hosted, or the server where the extension application is deployed?
Secondly, regarding the endpoint configuration — is my setup below correct?
Since I am sending data to the PRAL FBR server from the server side, I should use the public IP address of the server where the extension is deployed. However, I haven’t had a chance to test it yet.
Thank you for pointing out the error. My code hasn’t reached the stage of communicating with the PRAL server yet, but the information is very helpful and I will try to address it in the next phase.
Could you please try again?
The previous issue was caused by a failed connection to the PRAL server — most likely because the IP address from the Azure server in the India region was blocked.
I have now moved the server to the UAE North region, and I hope the connection to the PRAL server can go through this time, even if it’s not fully successful or still returns some errors.
Additionally, I have changed the extension endpoint from fbr-extension.azurewebsites.net to fbrextension.azurewebsites.net.
it is issue on my end during setup i forgot to add supplier tab. Now iam unable to generate custom fields. Please tell me how to re initiate extension so i can re generate custom fields.
Use the same payload as when creating a new CustomField, but send it using the PUT method instead.
I’ve finished adding all the functionalities to the project. I’m now waiting for someone to try it out.
After everything works as expected, I’ll publish the source code on GitHub.
@Mabaega A New Update scenario id are only required for sandbox testing as now i got my token there is required scenarios or test which i have to complete after that system will automatically generate production token. so sceraio id will not be required in production or real life scenarios.
Under the Federal Board of Revenue’s (FBR) e-invoicing system, a Debit Note is a specific type of document used to adjust previously issued sales tax invoices. It primarily serves to increase the value of a supply or the amount of sales tax that was originally charged.
Here’s a breakdown of what a Debit Note signifies in the FBR e-invoicing context:
Purpose of a Debit Note:
A Debit Note is issued by the supplier (seller) to the recipient (buyer) in situations where:
Original tax invoice was understated: The original invoice issued had a taxable value or tax charged that was less than the actual amount due.
Extra goods delivered: Additional goods were supplied beyond what was initially invoiced.
Incorrect pricing: Goods already delivered were charged at an incorrect, lower value.
Change in the nature or value of supply: Any event that necessitates an increase in the amount payable by the buyer.
Cancellation of supply or return of goods (in specific scenarios): While Credit Notes are more commonly associated with returns, a Debit Note can also be used in certain situations where a change leads to an increase in the net amount due.
Key Aspects of a Debit Note in FBR e-invoicing:
Issued by the Supplier: The seller is typically the one who issues a Debit Note to increase the amount owed by the buyer.
Impact on Sales Tax Liability: When a Debit Note is issued, it increases the seller’s sales tax liability and the buyer’s input tax (if applicable and eligible).
Reference to Original Invoice: A Debit Note must clearly reference the number and date of the original sales tax invoice it is amending.
Reason for Issuance: It must clearly state the reason for the adjustment (e.g., under-invoicing, additional supply).
Particulars Included: As per tax regulations, a Debit Note typically includes:
Name and National Tax Number (NTN) of both the recipient and the supplier.
Number and date of the original sales tax invoice.
The original value and sales tax from the original invoice.
The revised value and sales tax.
The difference in value and sales tax being adjusted.
The reason for the revision.
Signature and seal of the authorized person issuing the note.
Electronic Submission: Under the FBR’s e-invoicing system, Debit Notes, like sales invoices and Credit Notes, are generated and transmitted electronically to the FBR’s centralized system in real-time. This ensures immediate recording and validation.
Adjustment in Returns: Both the buyer and seller must reflect the adjustment made by the Debit Note in their respective sales tax returns for the period in which the note was issued. The buyer will increase their input tax (if eligible) and the supplier will increase their output tax.
Timeframe: Generally, adjustments through Debit Notes (and Credit Notes) need to be made within a specified timeframe, often 180 days (with a possible extension by the Commissioner in specific cases) from the relevant supply.
In essence, the Debit Note in FBR’s e-invoicing system is a crucial tool for businesses to correctly account for changes in sales transactions that lead to an increase in the value of the supply or the amount of sales tax due, ensuring compliance and transparency in tax reporting.