avalara/avatax 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

avalara/avatax

Composer 安装命令:

composer require avalara/avatax

包简介

A set of classes to assist with integration to the Avalara AvaTax SOAP API.

README 文档

README

Other Samples

This is a PHP sample demonstrating the AvaTax SOAP API. For more information on the use of these methods and the AvaTax product, please visit our developer site or homepage

Dependencies:

  • PHP 5.3 or later (not tested on versions older than PHP 5.3)

Requirements:

  • Authentication requires an valid Account Number and License Key, which should be entered in the test file (e.g. GetTaxTest.php) you would like to run.
  • If you do not have an AvaTax account, a free trial account can be acquired through our developer site
  • SSL and SoapClient support must be enabled for your PHP interpreter. For windows, add the following extentions to php.ini:
extension=php_soap.dll
extension=php_openssl.dll

Note: For *nix, it may be necessary to recompile your PHP interpreter with soap.dll and openssl.dll enabled.

  • If you would like to use these core classes as part of a project and manage your depencies through composer, the Avatax classes can be added to your existing project by adding
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/avadev/AvaTax-Calc-SOAP-PHP"
        }
    ],
    "require": {
        "avalara/avatax": "*"
    }

to your composer.json file and run php composer.phar update from your command line.

Contents:

File Method Demonstrated
Samples/Credentials.php contains authentication elements (URL, Account, LicenseKey, Client) that are passed into the ATConfig object which ontains various service configuration parameters as class static variables.
Samples/IsAuthorizedTest.php IsAuthorized is a method that allows the user to specify a number of a methods or services to ascertain if they are permitted to use them based on the credentials provided in the request.
Samples/PingTest.php The Ping method can be used for testing connectivity to the AvaTax web service, verify supplied credentials, and return the service version in use by the AvaTax web service.
Samples/ValidateTest.php Validate demonstrates the ValidateAddress method that normalizes a provided address. US and Canada only.
Samples/GetTaxRequestTest.php The GetTaxRequest method calculates retail sales tax on documents such as sales orders, sales invoices, purchase orders, purchase invoices, or credit memos. Note: A document can be committed at this stage by setting the Commit property to true (default is false).
Samples/PostTaxTest.php The PostTax method can be used to modify the state of a SalesInvoice, ReturnInvoice or PurchaseInvoice document saved to the AvaTax database. Note: A document can be committed at this stage by setting the Commit property to true (default is false).
Samples/CommitTaxTest.php The CommitTax method can be used to modify the state of a document that is "posted" (only) to the AvaTax database via SalesInvoice, ReturnInvoice or PurchaseInvoice a methods. Note: CommitTax is not a required step to commit a document to AvaTax. Documents can be committed during the GetTax or PostTax document lifecycle.
Samples/GetTaxHistoryTest.php GetTaxHistory is a method that retrieves details from a previously saved (to the AvaTax database) documents.
Samples/AdjustTaxTest.php AdjustTax is a method that has the ability to modify elements of an already committed document. Note: Sets the Document Modified flag.
Samples/CancelTaxTest.php CancelTax is a method that cancels a tax document specified by the DocId, DocCode, and DocType parameters. See CancelTax for more details.
/AvaTax ../AvaTax is a Directory containing the core classes that enable the API samples to make Avatax web service calls.

Other Files Included in this Repository

.gitattributes GitHub attribute file. Not required for sample use.
.gitignore GitHub config file. Not required for sample use.
LICENSE.md Apache License TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
README.md This document describing how to make use of the sample API code.
composer.json Allows for composer management of packages.

Resources

Developer API Documentation is located here: http://developer.avalara.com/api-docs

The Avalara AvaTax API Reference is located here: http://developer.avalara.com/api-docs/avalara-avatax-api-reference

Find out what other developers are talking about on the Avalara Developer Community Forum located here: https://community.avalara.com/avalara/category_sets/developers

Frequently asked questions regarding the Avalara product is located here: https://help.avalara.com/

avalara/avatax 适用场景与选型建议

avalara/avatax 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 950.59k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2016 年 01 月 16 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 avalara/avatax 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 avalara/avatax 我们能提供哪些服务?
定制开发 / 二次开发

基于 avalara/avatax 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 950.59k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 23
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2016-01-16