create_b2b_exchange_invoice
Creates a B2B exchange invoice (A0101) with mandatory seller address and item tax type DTaxType. Returns the API response.
Instructions
Create a B2B exchange invoice (A0101). Seller address is mandatory. Item tax type field is DTaxType. Returns the API response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | List of product items. Each item: {Description, Quantity, UnitPrice, DTaxType, Amount, SequenceNumber, optional: Unit, Remark, RelateNumber}. | |
| currency | No | Currency code (e.g. 'USD'). | |
| tax_rate | Yes | Tax rate. | |
| tax_type | Yes | Tax type. | |
| buyer_name | Yes | Buyer name. | |
| print_mark | Yes | Print mark ('Y' or 'N'). | |
| tax_amount | Yes | Tax amount. | |
| donate_mark | Yes | Donate mark ('0'=no donate). | |
| main_remark | No | Main remark. | |
| seller_name | Yes | Seller name. | |
| check_number | No | Check number. | |
| invoice_date | Yes | Invoice date (YYYYMMDD). | |
| invoice_time | Yes | Invoice time (HHmmss). | |
| invoice_type | Yes | Invoice type code. | |
| sales_amount | Yes | Taxable sales amount. | |
| seller_email | No | Seller email address. | |
| total_amount | Yes | Total amount including tax. | |
| buyer_address | No | Buyer address. | |
| exchange_rate | No | Exchange rate. | |
| invoice_number | Yes | Invoice number. | |
| seller_address | Yes | Seller address (mandatory for exchange invoices). | |
| discount_amount | No | Discount amount. | |
| buyer_identifier | Yes | Buyer tax ID. | |
| seller_facsimile | No | Seller facsimile number. | |
| seller_telephone | No | Seller telephone number. | |
| seller_identifier | Yes | Seller tax ID. | |
| bonded_area_confirm | No | Bonded area confirm. | |
| zero_tax_rate_reason | No | Zero-tax-rate reason code. | |
| customs_clearance_mark | No | Customs clearance mark. | |
| seller_person_in_charge | No | Seller person in charge. | |
| original_currency_amount | No | Original currency amount. |