1
0
Files
PayPal-PHP-Server-SDK/doc/models/tax-info.md
Dani Kirby 6b43a4225b Beta Release 0.5.0 (#3)
* Automated commit message

* Automated commit message

* Automated commit message

* Automated commit message

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
2024-09-09 12:10:34 -05:00

830 B

Tax Info

The tax ID of the customer. The customer is also known as the payer. Both tax_id and tax_id_type are required.

Structure

TaxInfo

Fields

Name Type Tags Description Getter Setter
taxId string Required The customer's tax ID value.
Constraints: Minimum Length: 1, Maximum Length: 14, Pattern: ([a-zA-Z0-9])
getTaxId(): string setTaxId(string taxId): void
taxIdType string(TaxIdType) Required The customer's tax ID type.
Constraints: Minimum Length: 1, Maximum Length: 14, Pattern: ^[A-Z0-9_]+$
getTaxIdType(): string setTaxIdType(string taxIdType): void

Example (as JSON)

{
  "tax_id": "tax_id0",
  "tax_id_type": "BR_CPF"
}