create_b2c_allowance_named
Create a B2C allowance for Taiwan e-invoices using named field format (D0401N). Returns the API response with allowance details.
Instructions
Create a B2C allowance using named field format (D0401N). Returns the API response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | List of product items. Each item: {ORIGINALINVOICEDATE, ORIGINALINVOICENUMBER, ALLOWANCESEQUENCENUMBER, ORIGINALDESCRIPTION, QUANTITY, UNITPRICE, AMOUNT, TAX, TAXTYPE, optional: UNIT, ORIGINALSEQUENCENUMBER}. | |
| address | No | Buyer address. | |
| buyer_name | Yes | Buyer name. | |
| tax_amount | Yes | Tax amount. | |
| role_remark | No | Buyer role remark. | |
| total_amount | Yes | Total amount. | |
| email_address | No | Buyer email address. | |
| allowance_date | Yes | Allowance date (YYYYMMDD). | |
| allowance_type | Yes | Allowance type ('2'=seller notice). | |
| customer_number | No | Buyer customer number. | |
| allowance_number | Yes | Allowance number. | |
| buyer_identifier | Yes | Buyer identifier (tax ID or empty string). | |
| facsimile_number | No | Buyer facsimile number. | |
| person_in_charge | No | Buyer person in charge. | |
| telephone_number | No | Buyer telephone number. | |
| original_invoice_buyer_id | No | Original invoice buyer ID. | |
| original_invoice_seller_id | No | Original invoice seller ID. |