Input_transaction

$model.description$.

Defined (1)

The class is defined in the following location(s).

/lib/taxamo/Taxamo/models/input_transaction.php  
  1. class Input_transaction { 
  2.  
  3. static $swaggerTypes = array( 
  4. 'invoice_date' => 'string',  
  5. 'invoice_address' => 'invoice_address',  
  6. 'buyer_credit_card_prefix' => 'string',  
  7. 'custom_fields' => 'array[custom_fields]',  
  8. 'additional_currencies' => 'additional_currencies',  
  9. 'buyer_tax_number' => 'string',  
  10. 'custom_id' => 'string',  
  11. 'tax_country_code' => 'string',  
  12. 'force_country_code' => 'string',  
  13. 'buyer_email' => 'string',  
  14. 'original_transaction_key' => 'string',  
  15. 'buyer_ip' => 'string',  
  16. 'invoice_place' => 'string',  
  17. 'verification_token' => 'string',  
  18. 'tax_deducted' => 'bool',  
  19. 'buyer_name' => 'string',  
  20. 'evidence' => 'evidence',  
  21. 'custom_data' => 'string',  
  22. 'billing_country_code' => 'string',  
  23. 'invoice_number' => 'string',  
  24. 'currency_code' => 'string',  
  25. 'description' => 'string',  
  26. 'supply_date' => 'string',  
  27. 'transaction_lines' => 'array[input_transaction_line]',  
  28. 'order_date' => 'string' 
  29.  
  30. ); 
  31.  
  32. /** 
  33. * Invoice date of issue. 
  34. */ 
  35. public $invoice_date; // string 
  36. /** 
  37. * Invoice address. 
  38. */ 
  39. public $invoice_address; // invoice_address 
  40. /** 
  41. * Buyer's credit card prefix. 
  42. */ 
  43. public $buyer_credit_card_prefix; // string 
  44. /** 
  45. * Custom fields, stored as key-value pairs. This property is not processed and used mostly with Taxamo-built helpers. 
  46. */ 
  47. public $custom_fields; // array[custom_fields] 
  48. /** 
  49. * Additional currency information - can be used to receive additional information about invoice in another currency. 
  50. */ 
  51. public $additional_currencies; // additional_currencies 
  52. /** 
  53. * Buyer's tax number - EU VAT number for example. If using EU VAT number, it is possible to provide country code in it (e.g. IE1234567X) or simply use billing_country_code field for that. In the first case, if billing_country_code value was provided, it will be overwritten with country code value extracted from VAT number - but only if the VAT has been verified properly. 
  54. */ 
  55. public $buyer_tax_number; // string 
  56. /** 
  57. * Custom identifier provided upon transaction creation. 
  58. */ 
  59. public $custom_id; // string 
  60. /** 
  61. * Two-letter ISO country code, e.g. FR. This code applies to detected/set country for transaction, but can be set using manual mode. 
  62. */ 
  63. public $tax_country_code; // string 
  64. /** 
  65. * Two-letter ISO country code, e.g. FR. Use it to force country code for tax calculation. 
  66. */ 
  67. public $force_country_code; // string 
  68. /** 
  69. * Buyer's declared email address. 
  70. */ 
  71. public $buyer_email; // string 
  72. /** 
  73. * Use data and evidence from original transaction. Tax will be re-calculated, but evidence won't be re-checked. 
  74. */ 
  75. public $original_transaction_key; // string 
  76. /** 
  77. * IP address of the buyer in dotted decimal (IPv4) or text format (IPv6). 
  78. */ 
  79. public $buyer_ip; // string 
  80. /** 
  81. * Invoice place of issue. 
  82. */ 
  83. public $invoice_place; // string 
  84. /** 
  85. * Verification token 
  86. */ 
  87. public $verification_token; // string 
  88. /** 
  89. * True if the transaction deducted from tax and no tax is applied. Either set automatically when VAT number validates with VIES correctly, but can also be provided in manual mode. 
  90. */ 
  91. public $tax_deducted; // bool 
  92. /** 
  93. * Buyer's name - first name and last name or company name. 
  94. */ 
  95. public $buyer_name; // string 
  96. /** 
  97. * Tax country of residence evidence. 
  98. */ 
  99. public $evidence; // evidence 
  100. /** 
  101. * Custom data related to transaction. 
  102. */ 
  103. public $custom_data; // string 
  104. /** 
  105. * Billing two letter ISO country code. 
  106. */ 
  107. public $billing_country_code; // string 
  108. /** 
  109. * Invoice number. 
  110. */ 
  111. public $invoice_number; // string 
  112. /** 
  113. * Currency code for transaction - e.g. EUR. 
  114. */ 
  115. public $currency_code; // string 
  116. /** 
  117. * Transaction description. 
  118. */ 
  119. public $description; // string 
  120. /** 
  121. * Supply date in yyyy-MM-dd format. 
  122. */ 
  123. public $supply_date; // string 
  124. /** 
  125. * Transaction lines. 
  126. */ 
  127. public $transaction_lines; // array[input_transaction_line] 
  128. /** 
  129. * Order date in yyyy-MM-dd format, in merchant's timezone. If provided by the API caller, no timezone conversion is performed. Default value is current date and time. When using public token, the default value is used. 
  130. */ 
  131. public $order_date; // string