|
|
@@ -119,7 +119,7 @@ public class WechatPayFapiaoService {
|
|
|
|
|
|
var buyerInfo = new HashMap<String, Object>();
|
|
|
buyerInfo.put("type", "ORGANIZATION".equals(invoice.getInvoiceType())
|
|
|
- ? "ENTERPRISE" : "INDIVIDUAL");
|
|
|
+ ? "COMPANY" : "INDIVIDUAL");
|
|
|
buyerInfo.put("name", invoice.getInvoiceTitle());
|
|
|
if (invoice.getTaxId() != null && !invoice.getTaxId().isBlank()) {
|
|
|
buyerInfo.put("taxpayer_id", invoice.getTaxId());
|