FP xml怎么解析
<?xml version="1.0" encoding="utf-8" standalone="yes"?><EInvoice>
<Header>
<EIid>24322000000091953490</EIid>
<EInvoiceTag>SWEI3200</EInvoiceTag>
<Version>0.32</Version>
<InherentLabel>
<InIssuType>
<LabelCode>Y</LabelCode>
<LabelName>是否蓝字**标志</LabelName>
</InIssuType>
<EInvoiceType>
<LabelCode>01</LabelCode>
<LabelName>电子**</LabelName>
</EInvoiceType>
<GeneralOrSpecialVAT>
<LabelCode>01</LabelCode>
<LabelName>增值税专用**</LabelName>
</GeneralOrSpecialVAT>
<TaxpayerType>
<LabelCode>1</LabelCode>
<LabelName>一般纳税人</LabelName>
</TaxpayerType>
</InherentLabel>
<UndefinedLabel>
<Label>
<LabelType>**开具方式标签</LabelType>
<LabelCode>1</LabelCode>
<LabelName>网页开票</LabelName>
</Label>
</UndefinedLabel>
</Header>
<EInvoiceData>
<SellerInformation>
<SellerIdNum>91320583MA1P8T004U</SellerIdNum>
<SellerName>昆山白杨电子有限公司</SellerName>
<SellerAddr>昆山市巴城镇玉石花园11号101室</SellerAddr>
<SellerTelNum>13913273742</SellerTelNum>
<SellerBankName>昆山农村商业银行</SellerBankName>
<SellerBankAccNum>3052234012019000000919</SellerBankAccNum>
</SellerInformation>
<BuyerInformation>
<BuyerIdNum>91320583679815336J</BuyerIdNum>
<BuyerName>昆山旋压金属制品有限公司</BuyerName>
</BuyerInformation>
<BasicInformation>
<TotalAmWithoutTax>6194.69</TotalAmWithoutTax>
<TotalTaxAm>805.31</TotalTaxAm>
<TotalTax-includedAmount>7000.00</TotalTax-includedAmount>
<TotalTax-includedAmountInChinese>柒仟圆整</TotalTax-includedAmountInChinese>
<Drawer>白杨</Drawer>
<RequestTime>2024-03-28 08:50:00</RequestTime>
</BasicInformation>
<IssuItemInformation>
<ItemName>*电子计算机*电脑</ItemName>
<MeaUnits>台</MeaUnits>
<Quantity>2</Quantity>
<UnPrice>3097.34513274336</UnPrice>
<Amount>6194.69</Amount>
<TaxRate>0.13</TaxRate>
<ComTaxAm>805.31</ComTaxAm>
<TotaltaxIncludedAmount>7000.00</TotaltaxIncludedAmount>
<TaxClassificationCode>1090509010000000000</TaxClassificationCode>
</IssuItemInformation>
<SpecificInformation/>
<AdditionalInformation/>
</EInvoiceData>
<SellerAuthentication>
<AuthenticationMethods>01</AuthenticationMethods>
</SellerAuthentication>
<TaxSupervisionInfo>
<InvoiceNumber>24322000000091953490</InvoiceNumber>
<IssueTime>2024-03-28</IssueTime>
<TaxBureauCode>13200000000</TaxBureauCode>
<TaxBureauName>国家税务总局江苏省税务局</TaxBureauName>
</TaxSupervisionInfo>
<TaxBureauSignature>
<Reference URI="/Einvoice/Header|/Einvoice/EinvoiceData|/Einvoice/SellerAuthentication|/Einvoice/TaxSupervisionInfo|/Einvoice/TaxBureauSignature/SignatureTime"/>
<SignatureAlgorithm>1.2.156.10197.1.501</SignatureAlgorithm>
<SignatureFormat>DETACH</SignatureFormat>
<SignatureTime>2024-03-28 08:50:50</SignatureTime>
<SignatureValue>3082017a060a2a811ccf550601040202a082016a30820166020101310e300c06082a811ccf550183110500300c060a2a811ccf550601040201318201413082013d02010130623058310b300906035504061302434e311b3019060355040b0c12e59bbde5aeb6e7a88ee58aa1e680bbe5b180312c302a06035504030c23e7a88ee58aa1e794b5e5ad90e8af81e4b9a6e7aea1e79086e4b8ade5bf8328534d322902060300000011bb300c06082a811ccf550183110500a06e301906092a864886f70d010903310c060a2a811ccf550601040201302f06092a864886f70d01090431220420e771b5852a34010569a9b083620533b309d0f60ca1c6981396599d7a4ac101723020060a2a864886f70d010919043112021032303139313132373030303030304441300c06082a811ccf550183750500044830460221008e9ae1b3b00b2df6fd05921fda62dc67a1884397ba83506f1514102b693a8bf7022100de7b059b4cd883607f9fc5c84f58df66109e0e2dff22b571ba2b4e5453d0f530&MjAyNDAzMjggMDg1MDUw</SignatureValue>
<KeyInfo/>
</TaxBureauSignature>
</EInvoice>
xml可以直接转成json,然后就可以各种处理了~
{:5_117:}
可以参考楼上小胖老师提供的插件哈,豪豪合集。
https://marketplace.grapecity.com.cn/ApplicationDetails?productID=SP2202280001&productDetailID=D2401150001&tabName=Tabs_detail 感谢大佬们的支持!
如果您的问题已解决,请及时更新帖子的状态为“已处理”,并设置最佳答案给有帮助到你的回复;
如果您的问题还未解决,欢迎跟帖补充;
如果您有新的问题,也欢迎创建新的求助帖呦。 收藏,备用! {:5_115:}
页:
[1]