Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This is a Billingo (billingo.hu) API V3 PHP SDK clone from SwaggerHUB.

License

NotificationsYou must be signed in to change notification settings

deviddev/billingo-api-v3-php-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Billingo API v3 documentation. Our API based on REST software architectural style. API has resource-oriented URLs, accepts JSON-encoded request bodies and returns JSON-encoded responses. To use this API you have to generate a new API key on oursite. After that, you can test your API key on this page.

This PHP package is automatically generated by theSwagger Codegen project:

Requirements

PHP 5.5 and later

Installation & Usage

Composer

To install the bindings viaComposer, add the following tocomposer.json:

{  "repositories": [    {      "type": "git",      "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"    }  ],  "require": {    "GIT_USER_ID/GIT_REPO_ID": "*@dev"  }}

Then runcomposer install

Manual Installation

Download the files and includeautoload.php:

require_once('/path/to/SwaggerClient-php/vendor/autoload.php');

Tests

To run the unit tests:

composer install./vendor/bin/phpunit

Getting Started

Please follow theinstallation procedure and then run the following:

<?phprequire_once(__DIR__ .'/vendor/autoload.php');// Configure API key authorization: api_key$config =Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY','YOUR_API_KEY');// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');$apiInstance =newSwagger\Client\Api\BankAccountApi(// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.// This is optional, `GuzzleHttp\Client` will be used as default.newGuzzleHttp\Client(),$config);$body =new \Swagger\Client\Model\BankAccount();// \Swagger\Client\Model\BankAccount | BankAccount object that you would like to store.try {$result =$apiInstance->createBankAccount($body);print_r($result);}catch (Exception$e) {echo'Exception when calling BankAccountApi->createBankAccount:',$e->getMessage(),PHP_EOL;}// Configure API key authorization: api_key$config =Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY','YOUR_API_KEY');// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');$apiInstance =newSwagger\Client\Api\BankAccountApi(// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.// This is optional, `GuzzleHttp\Client` will be used as default.newGuzzleHttp\Client(),$config);$id =56;// int |try {$apiInstance->deleteBankAccount($id);}catch (Exception$e) {echo'Exception when calling BankAccountApi->deleteBankAccount:',$e->getMessage(),PHP_EOL;}// Configure API key authorization: api_key$config =Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY','YOUR_API_KEY');// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');$apiInstance =newSwagger\Client\Api\BankAccountApi(// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.// This is optional, `GuzzleHttp\Client` will be used as default.newGuzzleHttp\Client(),$config);$id =56;// int |try {$result =$apiInstance->getBankAccount($id);print_r($result);}catch (Exception$e) {echo'Exception when calling BankAccountApi->getBankAccount:',$e->getMessage(),PHP_EOL;}// Configure API key authorization: api_key$config =Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY','YOUR_API_KEY');// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');$apiInstance =newSwagger\Client\Api\BankAccountApi(// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.// This is optional, `GuzzleHttp\Client` will be used as default.newGuzzleHttp\Client(),$config);$page =56;// int |$per_page =25;// int |try {$result =$apiInstance->listBankAccount($page,$per_page);print_r($result);}catch (Exception$e) {echo'Exception when calling BankAccountApi->listBankAccount:',$e->getMessage(),PHP_EOL;}// Configure API key authorization: api_key$config =Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY','YOUR_API_KEY');// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');$apiInstance =newSwagger\Client\Api\BankAccountApi(// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.// This is optional, `GuzzleHttp\Client` will be used as default.newGuzzleHttp\Client(),$config);$body =new \Swagger\Client\Model\BankAccount();// \Swagger\Client\Model\BankAccount | Bank account object that you would like to update.$id =56;// int |try {$result =$apiInstance->updateBankAccount($body,$id);print_r($result);}catch (Exception$e) {echo'Exception when calling BankAccountApi->updateBankAccount:',$e->getMessage(),PHP_EOL;}?>

Documentation for API Endpoints

All URIs are relative tohttps://api.billingo.hu/v3

ClassMethodHTTP requestDescription
BankAccountApicreateBankAccountPOST /bank-accountsCreate a bank account
BankAccountApideleteBankAccountDELETE /bank-accounts/{id}Delete a bank account
BankAccountApigetBankAccountGET /bank-accounts/{id}Retrieve a bank account
BankAccountApilistBankAccountGET /bank-accountsList all bank account
BankAccountApiupdateBankAccountPUT /bank-accounts/{id}Update a bank account
CurrencyApigetConversionRateGET /currenciesGet currencies exchange rate.
DocumentApiarchiveDocumentPUT /documents/{id}/archiveArchive a proforma document.
DocumentApicancelDocumentPOST /documents/{id}/cancelCancel a document
DocumentApicreateDocumentPOST /documentsCreate a document
DocumentApicreateDocumentFromDraftPUT /documents/{id}Converts a draft to an invoice.
DocumentApicreateDocumentFromProformaPOST /documents/{id}/create-from-proformaCreate a document from proforma.
DocumentApicreateModificationDocumentPOST /documents/{id}/create-modification-documentCreate a modification document.
DocumentApicreateReceiptPOST /documents/receiptCreate a receipt
DocumentApicreateReceiptFromDraftPUT /documents/receipt/{id}Converts a draft to a receipt.
DocumentApideleteDocumentDELETE /documents/{id}Delete a draft.
DocumentApideletePaymentDELETE /documents/{id}/paymentsDelete all payment history on document
DocumentApidocumentCopyPOST /documents/{id}/copyCopy a document
DocumentApidownloadDocumentGET /documents/{id}/downloadDownload a document in PDF format.
DocumentApigetDocumentGET /documents/{id}Retrieve a document
DocumentApigetDocumentByVendorIdGET /documents/vendor/{vendor_id}Retrieve a document by vendor id
DocumentApigetOnlineSzamlaStatusGET /documents/{id}/online-szamlaRetrieve a document Online Számla status
DocumentApigetPaymentGET /documents/{id}/paymentsRetrieve a payment histroy
DocumentApigetPublicUrlGET /documents/{id}/public-urlRetrieve a document download public url.
DocumentApilistDocumentGET /documentsList all documents
DocumentApiposPrintGET /documents/{id}/print/posReturns a printable POS PDF
DocumentApisendDocumentPOST /documents/{id}/sendSend invoice to given email adresses.
DocumentApiupdatePaymentPUT /documents/{id}/paymentsUpdate payment history
DocumentBlockApilistDocumentBlockGET /document-blocksList all document blocks
DocumentExportApicreatePOST /document-exportCreate document export.
DocumentExportApidownloadGET /document-export/{id}/downloadReturn exported binary file.
DocumentExportApipollGET /document-export/{id}/pollRetrieve export state.
OrganizationApigetOrganizationDataGET /organizationRetrieve a organization data.
PartnerApicreatePartnerPOST /partnersCreate a partner
PartnerApideletePartnerDELETE /partners/{id}Delete a partner
PartnerApigetPartnerGET /partners/{id}Retrieve a partner
PartnerApilistPartnerGET /partnersList all partners
PartnerApiupdatePartnerPUT /partners/{id}Update a partner
ProductApicreateProductPOST /productsCreate a product
ProductApideleteProductDELETE /products/{id}Delete a product
ProductApigetProductGET /products/{id}Retrieve a product
ProductApilistProductGET /productsList all product
ProductApiupdateProductPUT /products/{id}Update a product
SpendingApispendingDeleteDELETE /spendings/{id}Deletes a spending.
SpendingApispendingListGET /spendingsLists all spending
SpendingApispendingSavePOST /spendingsCreates a new spending.
SpendingApispendingShowGET /spendings/{id}Retrieves one specific spending.
SpendingApispendingUpdatePUT /spendings/{id}Updates a spending item.
UtilApicheckTaxNumberGET /utils/check-tax-number/{tax_number}Check tax number.
UtilApigetIdGET /utils/convert-legacy-id/{id}Convert legacy ID to v3 ID.
UtilApigetServerTimeGET /utils/timeGet the server time

Documentation For Models

Documentation For Authorization

api_key

  • Type: API key
  • API key parameter name: X-API-KEY
  • Location: HTTP header

Author

hello@billingo.hu

About

This is a Billingo (billingo.hu) API V3 PHP SDK clone from SwaggerHUB.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp