BIR Electronic Invoicing System · e-invoice JSON format v2.01 (CAS and CRM/POS)
Paste one e-invoice object or choose a .json file. CAS or CRM/POS is detected automatically.
| Unique Invoice IDEisUniqueId |
|---|
| Invoice No. or B/S No. or SOA No.CompInvoiceId |
|---|
| Issuance DateIssueDtm | Document TypeDocType | Transaction ClassTransClass | |||
|---|---|---|---|---|---|
| CorrectionCorrYN | Reason for CorrectionCorrectionCd | Unique ID CorrectedPrevUniqueId | |||
| NoteRmk1 | |||||
| SELLER | TINTin | Branch CodeBranchCd | VAT or Non-VATType | |||
|---|---|---|---|---|---|---|
| NameRegNm | ||||||
| Business NameBusinessNm | ||||||
| AddressRegAddr | ||||||
| E-mail AddressEmail | ||||||
| BUYER | TINTin | Branch CodeBranchCd | ||
|---|---|---|---|---|
| NameRegNm | ||||
| Business NameBusinessNm | ||||
| AddressRegAddr | ||||
| E-mail AddressEmail | ||||
| Delivery AddressDevAddr | ||||
| Airway Bill NumberAirNum | Airway Bill Number DateAirNumDt | |||
| Bill of Lading NumberLadNum | Bill of Lading Number DateLadNumDt | |||
| No. | Item NameNm | Description of ItemDesc | QuantityQty | UnitUnit | Unit CostUnitCost | Sales AmountSalesAmt | Regular Discount AmountRegDscntAmt | Special Discount AmountSpeDscntAmt | Net of Item SalesNetSales | |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | ||||||||||
| 2 | ||||||||||
| 3 | ||||||||||
| 4 | ||||||||||
| 5 | ||||||||||
| 6 | ||||||||||
| 7 | ||||||||||
Sum of net of item sales: | ||||||||||
| Discount AmountDiscount | Senior CitizenScAmt | |
|---|---|---|
| PWDPwdAmt | ||
| RegularRegAmt | ||
| SpecialSpeAmt | ||
| RemarkRmk2 |
| Deduct: Creditable Withholding Tax | Income TaxWithholdIncome | |
|---|---|---|
| Business VATWithholdBusVAT | ||
| Business PercentageWithholdBusPT | ||
| Other Taxable Revenue (e.g. service charge)OtherTaxRev | ||
| Other Non-taxable Charges (e.g. local tax)OtherNonTaxCharge | ||
| Total Net Sales AmountTotNetItemSales | |
|---|---|
| ForCur | |
| Currency AmountForexAmt | |
| Total Net Sales After DiscountTotNetSalesAftDisct | |
| VAT AmountVATAmt | |
| Net Amount PayableNetAmtPay |
| PTU No. / Acknowledgment Certificate Control No.PtuNum |
|---|
Checks and totals are calculated on the server.
| Type | Field | Message | BIR code |
|---|---|---|---|
| Note | Totals · VAT amount | Is 301,398.00; expected 301,236.00. |
{
"CompInvoiceId": "0000000205",
"IssueDtm": "20220217",
"EisUniqueId": "2022021720146IT400000205",
"DocType": "01",
"TransClass": "01",
"CorrYN": "N",
"CorrectionCd": "",
"PrevUniqueId": "",
"Rmk1": "test e-invoice : 2022021720146IT400000205",
"SellerInfo": {
"Tin": "999999999",
"BranchCd": "00000",
"Type": "0",
"RegNm": "DOUZONE",
"BusinessNm": "DOUZONE",
"Email": "tester@douzone.com",
"RegAddr": "130, Beodeul 1-gil, Namsan-myeon, Chuncheon-si, Gangwon-do, Republic of Korea"
},
"BuyerInfo": {
"Tin": "225125979",
"BranchCd": "00000",
"RegNm": "DONG-A PHARMA PHILS. INC.",
"BusinessNm": "DONG-A PHARMA PHILS. INC.",
"Email": "donga_admin@donga.com",
"RegAddr": "UNIT 2803 ATLANTA CENTRE ILOILO 1500 PHILIPPINES",
"DevAddr": "UNIT 2803 ATLANTA CENTRE ILOILO 1500 PHILIPPINES",
"AirNum": "",
"AirNumDt": "",
"LadNum": "",
"LadNumDt": ""
},
"ItemList": [
{
"Nm": "Wehago",
"Desc": "Wehago",
"Qty": 2.00,
"Unit": "EA",
"UnitCost": 44130.00,
"SalesAmt": 88260.00,
"RegDscntAmt": 440.00,
"SpeDscntAmt": 40.00,
"NetSales": 87780.00
},
{
"Nm": "Nahago",
"Desc": "Nahago",
"Qty": 9.00,
"Unit": "EA",
"UnitCost": 77840.00,
"SalesAmt": 700560.00,
"RegDscntAmt": 550.00,
"SpeDscntAmt": 650.00,
"NetSales": 699360.00
},
{
"Nm": "ERP10",
"Desc": "ERP10",
"Qty": 9.00,
"Unit": "EA",
"UnitCost": 56070.00,
"SalesAmt": 504630.00,
"RegDscntAmt": 80.00,
"SpeDscntAmt": 390.00,
"NetSales": 504160.00
},
{
"Nm": "GroupWare",
"Desc": "GroupWare",
"Qty": 4.00,
"Unit": "EA",
"UnitCost": 54810.00,
"SalesAmt": 219240.00,
"RegDscntAmt": 840.00,
"SpeDscntAmt": 660.00,
"NetSales": 217740.00
},
{
"Nm": "A Item",
"Desc": "A Item",
"Qty": 4.00,
"Unit": "EA",
"UnitCost": 88700.00,
"SalesAmt": 354800.00,
"RegDscntAmt": 240.00,
"SpeDscntAmt": 580.00,
"NetSales": 353980.00
},
{
"Nm": "B Item",
"Desc": "B Item",
"Qty": 5.00,
"Unit": "EA",
"UnitCost": 97670.00,
"SalesAmt": 488350.00,
"RegDscntAmt": 200.00,
"SpeDscntAmt": 340.00,
"NetSales": 487810.00
},
{
"Nm": "C Item",
"Desc": "C Item",
"Qty": 2.00,
"Unit": "EA",
"UnitCost": 81020.00,
"SalesAmt": 162040.00,
"RegDscntAmt": 430.00,
"SpeDscntAmt": 790.00,
"NetSales": 160820.00
}
],
"TotNetItemSales": 2511650.00,
"Discount": {
"ScAmt": 360.00,
"PwdAmt": 230.00,
"RegAmt": 740.00,
"SpeAmt": 550.00,
"Rmk2": ""
},
"OtherTaxRev": 530.00,
"TotNetSalesAftDisct": 2510300.00,
"VATAmt": 301398.00,
"WithholdIncome": 420.00,
"WithholdBusVAT": 990.00,
"WithholdBusPT": 93.00,
"OtherNonTaxCharge": 97.00,
"NetAmtPay": 2810385.00,
"ForCur": {
"Currency": "USD",
"ConvRate": 60.00,
"ForexAmt": 380.00
},
"PtuNum": "20146IT4-4"
}
Read-only. This exact text is the JWS payload. Size: 3,143 bytes.
Signs the e-invoice JSON as a JWS with your EIS key pair, encrypts it with the session secret key and prepares the Invoice Issuance API request (API guide §6.4, §8.2). Everything is computed on the server.
| EIS Key-pair ID (kid) | Application ID | ||
|---|---|---|---|
| EIS Key-pair Private KeyPKCS#8, Base64 or PEM | |||
| Session Secret Key | Auth Token | ||
| Submit ID | Request DatetimeAsia/Manila | ||
| API Path | The exact path you call, without the domain. | ||
Keys are sent to this server only to compute the JWS. They are not logged or stored.