Back to top

Billit API gives you the ability to connect to your billit.io account, retrieve your clients, check your invoice status, see your balance and your Tax obligations. You can of course generate new invoices from any kind of application by using a set of callable API endpoints. To perform an action using the API, you need to send a request to its endpoint specifying a method and some arguments, and you will receive a formatted response.

Getting started 

Selecting the api version

You need to parse the version of the API you are using. This actually means that you can use different versions of the api for different resourses without messing with the requests. It is mandatory to parse a header like this in each of your requests:

Version: 1.0

Responses

Currently only JSON is supported.

Support

In order to get help, contact me at [email protected] Provide details about the method you are using and the problem you are dealing with.

API environments

There are two environments, ‘live’ and ‘sandbox’. When the environment is ‘sandbox’ it means that the api user interacts with a testing database. At the same time user gains access to http://sandbox.billit.io so he can properly test his api calls on the front end. Every day at 00:00 (Timezone Europe/Athens) we truncate the testing database.

On the other hand ‘live’ environment means that you interact with the live database, so make sure you have thoroughly tested your implementation before swapping to live.

You need to parse a header like this in each of your requests to set the environment:

Environment: sandbox

Security

All end points are SSL encrypted while oAuth2 at the time of writing is the most secure method for authentication.

Authentication 

Billit uses oAuth2 so in order to access any of the resourses you need to have a valid token. All tokens have a TTL of 3600.

If you don’t already have your Public and Private keys, please contact us so we can set them up for you. You need to parse a header like this in each of your requests:

Authorization: fJHJFQEHVc4k1zvQMu59FnuGbqJ5FfPWsxngn5LW

Generate a token 

In order to have a valid token, you need to re-authenticate each time your key is expired. This is actually the beauty of oAuth authentication! Most often developers choose to run a cron or a try/catch block (for not authorized responses) in order to replace expired tokens with new ones.

Post invoices
/oauth/access_token
Parameter Type Description
grant_type required, string Make sure is equal to ‘client_credentials’
client_id required,string Your public key
client_secret required, string Your private key
scope required, string Make sure is equal to ‘basic’
state required, string Put any random string to avoid XSS attack
  • Response  200Toggle
  • Body
    {
                                        "access_token": "HFtLc2v0taoo5IB4zI4o3CG9OjyGyOeg3ZcPaWMN",
                                        "token_type": "bearer",
                                        "expires": 1406672949,
                                        "expires_in": 3600
    }
                                    
  • Response  401Toggle
  • Body
    {
                                        "error": "invalid_client",
                                        "error_description": "Client authentication failed"
    }
                                    

Invoices 

Invoices related resources.

List invoices 

Get invoices
/invoices{?fromDate}{&toDate}{&paid}{&tagid}{&latest}{&embedded}

You can use the optional parameters to filter invoices. For example you could send this GET request https://api.billit.dev/invoices?latest=5&vatId=EL075111111 and receive the latest 5 invoices for this specific client. You can add up any of the parameters to limit even more the returned index.

  • Parameters
  • fromDate
    string (optional) 

    Sets a fromDate so results can be filtered by date range. toDate is required when fromDate is set.

    toDate
    string (optional) 

    Sets a toDate.

    paid
    boolean (optional) 

    Set paid as true or false. This way you can filter the results regarding the payment status.

    tagid
    integer (optional) 

    Set the tagid if you want to filter the results according tags. You can use multiple ids like &tagid=1,5,6 e.t.c.

    latest
    integer (optional) 

    Set a number in case you need to take only the last results. Ex.: latest=5 will return the latest 5 invoices.

    vatId
    string (optional) 

    Set the Vatid of a customer. This way you can get a list with invoices of a specific client. This value can start with (optional) 2 capital latin letters and then only numbers. Ex. EL075111111 or 075111111

    embedded
    boolean (optional) 

    In case you want details about the items in each invoice result, set this up to true. Default is false.

  • Response  200Toggle
  • Headers
    Content-Type: application/json
    Body
    {
                                        "data": [
            {
                "no": 193,
                "issuer": {
                    "id": 82,
                    "company": "LOLLYPOP"
                },
                "customer": {
                    "id": 54,
                    "company": "LOLLYPOP",
                    "object": "ΓΡΑΦΙΚΕΣ ΤΕΧΝΕΣ - ΕΦΑΡΜΟΓΕΣ ΠΟΛΥΜΕΣΩΝ",
                    "afm": "075916854",
                    "doy": "Α' ΠΕΙΡΑΙΑ",
                    "street_address": "ΤΣΑΜΑΔΟΥ 82-84"
                },
                "invoiceType": {
                    "id": 1,
                    "nameGr": "ΤΙΜΟΛΟΓΙΟ ΠΑΡΟΧΗΣ ΥΠΗΡΕΣΙΩΝ",
                    "nameEn": "INVOICE"
                },
                "note": "",
                "amount": 15,
                "vatAmount": 3.45,
                "finalAmount": 18.45,
                "restAmount": 0,
                "payed": true,
                "preTax": 0,
                "date": {
                    "issued": "2014-09-20T00:00:00+0300",
                    "expired": null,
                    "created": "2014-09-20T14:37:28+0300",
                    "updated": "2014-09-20T14:37:28+0300"
                },
                "lang": "GR",
                "currency": "EUR",
                "tags": "tag1,tag2,tag3,tag4"
            }
        ]
    }
                                    

Create invoice 

Post invoices
/invoices

To create a new invoice you need to POST a json object. Before doing so, you need to have a vatId for each invoice item and the typeId of the invoice. You can get the corresponding info from the end points of ‘Invoice Types’ and ‘Vats’. Most probably this info can be cached locally for long periods in order to limit your request only to this very one POST.

Toggle Request to see a schema example

Parameter Type Description
typeId Integer required The type Id of the invoice you want to generate.
customerId Integer required The customer’s Id.
lang Enum required The language the invoice will be generated to. Languages supported are GR and EN
paid Bool required Payment status.
dateIssued Date required The overdue date of the invoice in d-m-Y format.
dateExpires Date optional The expiration of invoice in d-m-Y format.
preTax Integer optional A pretax %. This amount exists in Greece.
  • RequestToggle
  • Headers
    Content-Type: application/json
    Body
    {
                                        "typeId":1,
                                        "customerId":55,
                                        "note":"This is a note regarding this invoice",
                                        "lang":"GR",
                                        "paid": true,
                                        "dateIssued": "15-03-2014",
                                        "dateExpires": "30-03-2014",
                                        "preTax":20,
                                        "tags": "tag1,tag2,tag3,tag4",
                                        "items":[
                  {
                  "productId":23,
                  "unitPrice":5,
                  "quantity":1,
                  "taxId":43,
                  "description":"A Service"
                  },
                  {
                  "productId":"24",
                  "unitPrice":"50",
                  "quantity":1,
                  "taxId":43,
                  "description":"Another Service"
                  }
                ]
    }
                                    
  • Response  201Toggle
  • Headers
    Content-Type: application/json
    Body
    {
                                        "Num": 8,
                                        "Amount": 100,
                                        "taxAmount": 23,
                                        "fullAmount":123,
                                        "restAmount":0,
                                        "viewCode":"",
                                        "msg": "Invoice created succesfully",
                                        "error":false
    }
                                    

Invoice 

You need to parse the id, that is in a form of “7fdc040a-40ba-11e4-b9da-08002798cb51”

Show invoice
/invoices/{id}
  • Response  200Toggle
  • Body
    {
                                        "data": {
            "id": "7fdc040a-40ba-11e4-b9da-08002798cb51",
            "no": 193,
            "issuer": {
                "id": 82,
                "company": "LOLLYPOP"
            },
            "customer": {
                "id": 54,
                "company": "Test API A.E",
                "object": "ΓΡΑΦΙΚΕΣ ΤΕΧΝΕΣ - ΕΦΑΡΜΟΓΕΣ ΠΟΛΥΜΕΣΩΝ",
                "afm": "075916854",
                "doy": "Α' ΠΕΙΡΑΙΑ",
                "street_address": "ΤΣΑΜΑΔΟΥ 82-84"
            },
            "invoiceType": {
                "id": 1,
                "nameGr": "ΤΙΜΟΛΟΓΙΟ ΠΑΡΟΧΗΣ ΥΠΗΡΕΣΙΩΝ",
                "nameEn": "INVOICE"
            },
            "note": "",
            "amount": 15,
            "vatAmount": 3.45,
            "finalAmount": 18.45,
            "restAmount": 0,
            "payed": true,
            "preTax": 0,
            "date": {
                "issued": "2014-09-20T00:00:00+0300",
                "expired": null,
                "created": "2014-09-20T14:37:28+0300",
                "updated": "2014-09-20T14:37:28+0300"
            },
            "lang": "GR",
            "currency": "EUR",
            "tags": "tag1,tag2,tag3,tag4"
        }
    }
                                    
Update Invoice
/invoices/{id}

There are certain things you can update to an invoice.

  • Response  201Toggle
  • Headers
    Content-Type: application/json
    Body
    {
                                        "num": 8,
                                        "type": 1,
                                        "msg": "Invoice updated succesfully",
                                        "error":false
    }
                                    
Delete invoice
/invoices/{id}

Soft deletes an invoice. This actually means that you can’t delete an invoice, as the numbering must stay intact, even if you made a mistake and you want to delete a record. You won’t be able to see any result from this id, it will stay hidden in the database for reference and numbering purposes.

  • Response  201Toggle
  • Headers
    Content-Type: application/json
    Body
    {
                                        "num": 8,
                                        "type": 1,
                                        "fullAmount":123,
                                        "msg": "Invoice deleted succesfully",
                                        "error":false
    }
                                    

Customers 

Customers related resources.

List customers 

Get customers
/customers
  • Response  200Toggle
  • Headers
    Content-Type: application/json
    Body
    {
                                        "data": [
        {
            "id": 54,
            "email": "[email protected]",
            "inCharge": "Γιώργος",
            "info": null,
            "company": "Test",
            "object": "ΓΡΑΦΙΚΕΣ ΤΕΧΝΕΣ - ΕΦΑΡΜΟΓΕΣ ΠΟΛΥΜΕΣΩΝ",
            "vatId": "075916111",
            "doy": "Α' ΠΕΙΡΑΙΑ",
            "streetAddress": "ΤΣΑΜΑΔΟΥ 82-84",
            "city": "Πειραιάς",
            "zipCode": "18534",
            "phone": "2101111111",
            "mobile": "6974111111",
            "fax": null,
            "created": "2014-01-16T14:14:32+0200",
            "updated": "2014-08-29T11:25:39+0300"
        },
        {
            "id": 55,
            "email": "[email protected]",
            "inCharge": "Ελευθεριος Λανθιμος",
            "info": null,
            "company": "ΛΟΛΑMOΠ ΑΒΒΕ",
            "object": "ΒΙΟΜΗΧΑΝΙΑ ΕΤΟΙΜΩΝ ΕΝΔΥΜΑΤΩΝ",
            "vatId": "094071324",
            "doy": "ΦΑΕ ΠΕΙΡΑΙΑ",
            "streetAddress": "ΑΓ.ΔΗΜΗΤΡΙΟΥ 58",
            "city": "ΑΘΗΝΑ",
            "zipCode": "17399",
            "phone": null,
            "mobile": null,
            "fax": null,
            "created": "2014-01-16T14:14:32+0200",
            "updated": "2014-01-16T14:14:32+0200"
        },
        {
            "id": 56,
            "email": "[email protected]",
            "inCharge": "ΒΑΣΣΗ",
            "info": null,
            "company": "ΒΑΣΣΗ",
            "object": "ΤΟΥΡΙΣΤΙΚΟ ΓΡΑΦΕΙΟ",
            "vatId": "102206850",
            "doy": "Α' ΠΕΙΡΑΙΑ",
            "streetAddress": "ΙΑΚ. ΔΡΑΓΑΤΣΗ 8",
            "city": "ΠΕΙΡΑΙΑΣ",
            "zipCode": "18535",
            "phone": "2104123469",
            "mobile": null,
            "fax": null,
            "created": "2014-01-16T14:14:32+0200",
            "updated": "2014-01-16T14:14:32+0200"
        }
        ]
    }
                                    

Create customer 

Create customer
/customers

To create a new customer you need to post a json object. Toggle Request to see a schema example

  • Parameters
  • email
    string (optional) 

    A valid email address. This field is crucial in case you want to use the automatic email sender for invoices. Make sure is valid

    inCharge
    string (optional) 

    Full name of the person in charge.

    info
    string (optional) 

    Any details about the customer

    company
    string (required) 

    The company’s name

    object
    string (required) 

    The company’s subject

    vatId
    string (required) 

    The company’s vat Id. Its a string because its starts with 2 letters (Country’s code)

    doy
    string (required) 

    This is unique for Greek companies. If the company is not greek just use a “-“ character.

    streetAddress
    string (required) 

    The company’s address

    city
    string (required) 

    The city that the company is located. Its required when zipCode is filled in.

    zipCode
    string (required) 

    The postal code of the company

    phone
    integer (optional) 

    The phone number of the company

    mobile
    integer (optional) 

    The mobile phone number of the company

    fax
    integer (optional) 

    The fax phone number of the company

  • RequestToggle
  • Headers
    Content-Type: application/json
    Body
    {
                                        "email": "[email protected]",
                                        "inCharge": "Kalampakopoulos Emanouil",
                                        "info": "Testing new customer creation",
                                        "company": "Test API A.E",
                                        "object": "Just testing",
                                        "vatId": "0759168152111",
                                        "doy": "Α' Piraeus",
                                        "streetAddress": "Tsamadou 23-25",
                                        "city": "Piraeus",
                                        "zipCode": null,
                                        "phone": "2104111111",
                                        "mobile": "6974444444",
                                        "fax": null,
                                        }
                                    
  • Response  201Toggle
  • Headers
    Content-Type: application/json
    Body
    {
                                        "msg": "Customer created!",
                                        "error": false,
                                        "data": {
            "id": 278,
            "email": [email protected]',
            "inCharge": 'Kalampakopoulos Emanouil',
            "info": null,
            "company": "Test API S.A",
            "object": "Just testing",
            "vatId": "0759168152111",
            "doy": "Α' Piraeus",
            "streetAddress": "Tsamadou 23-25",
            "city": "Piraeus",
            "zipCode": null,
            "phone": "2104111111",
            "mobile": null,
            "fax": null,
            "created": "2014-09-27T20:53:32+0300",
            "updated": "2014-09-27T20:53:32+0300"
        }
    }
                                    
  • Response  400Toggle
  • Headers
    Content-Type: application/json
    Body
    {
                                        "msg": "Please check your JSON structure, doesn't seem valid to me.",
                                        "error": 400
    }
                                    
  • Response  400Toggle
  • Headers
    Content-Type: application/json
    Body
    {
                                        "msg": "Invalid Input: The vat id has already been taken.",
                                        "error": 400
    }
                                    

Customer 

Manage an existing customer

Show customer
/customers/{id}
  • Response  200Toggle
  • Body
    {
                                        "data": {
            "id": 81,
            "email": null,
            "inCharge": null,
            "info": "Some information about this client",
            "company": "OPEN LAPOS S.A",
            "object": "Input export services",
            "vatId": "01111111",
            "doy": "Koropi",
            "streetAddress": "Filonos 231",
            "city": "Athens",
            "zipCode": "19400",
            "phone": null,
            "mobile": null,
            "fax": null,
            "created": "2014-01-16T14:14:32+0200",
            "updated": "2014-01-16T14:14:32+0200"
        }
    }
                                    
Update customer
/customers/{id}

Update your customer data.

  • Response  200Toggle
  • Headers
    Content-Type: application/json
    Body
    {
                                        "msg": "Customer updated!",
                                        "error": false,
                                        "data": {
            "id": 54,
            "email": "[email protected]",
            "inCharge": "Γιώργος",
            "info": null,
            "company": "Test API A.E",
            "object": "ΓΡΑΦΙΚΕΣ ΤΕΧΝΕΣ - ΕΦΑΡΜΟΓΕΣ ΠΟΛΥΜΕΣΩΝ",
            "vatId": "075111111",
            "doy": "Α' ΠΕΙΡΑΙΑ",
            "streetAddress": "ΤΣΑΜΑΔΟΥ 23-24",
            "city": "Πειραιάς",
            "zipCode": "18534",
            "phone": "2104111111",
            "mobile": "6974444444",
            "fax": null,
            "created": "2014-01-16T14:14:32+0200",
            "updated": "2014-09-27T22:46:21+0300"
        }
    }
                                    
Delete customer
/customers/{id}

Soft deletes a customer.

  • Response  201Toggle
  • Headers
    Content-Type: application/json
    Body
    {
                                        "id": 8,
                                        "msg": "Customer 'Company Name' deleted!",
                                        "error":false
    }
                                    

Vats 

Vat related resources. You can have multiple vat types with different % percentages. Currently you can only get a list with all your Vats or your can grab a certain one by its ID.

List Vats 

List Vats
/vats
  • Response  200Toggle
  • Body
    {
                                        "data": [
            {
                "id": "1",
                "name": "23%",
                "percent": "0.230",
                "description": null,
                "created": "2013-11-21T01:16:05+0200",
                "updated": "2013-11-21T01:16:05+0200"
            },
            {
                "id": "2",
                "name": "13%",
                "percent": "0.130",
                "description": null,
                "created": "2013-11-21T01:16:05+0200",
                "updated": "2013-11-21T01:16:05+0200"
            },
            {
                "id": "3",
                "name": "0%",
                "percent": "0.000",
                "description": null,
                "created": "2013-11-21T01:16:05+0200",
                "updated": "2013-11-21T01:16:05+0200"
            },
            {
                "id": "195",
                "name": "7,5",
                "percent": "0.075",
                "description": null,
                "created": "2014-07-22T11:45:35+0300",
                "updated": "2014-07-22T11:45:35+0300"
            }
        ]
    }
                                    

Vat 

Manage an existing vat

Show vat
/vats/{id}
  • Response  200Toggle
  • Body
    {
                                        "data": {
            "id": "1",
            "name": "23%",
            "percent": "0.230",
            "description": null,
            "created": "2013-11-21T01:16:05+0200",
            "updated": "2013-11-21T01:16:05+0200"
        }
    }
                                    
  • Response  400Toggle
  • Body
     {
                                        "msg": "Page not found!",
                                        "error": 404
        }
  • Response  500Toggle
  • Body
    {
                                        "msg": "Bad Request: No query results for model [Vat].",
                                        "error": 500
    }
                                    

Invoice Types 

Invoice types related resources. Currently you can only get a list with all your Invoice types or your can grab a certain one by its ID.

List Invoice types 

List invoice types
/invoicetypes
  • Response  200Toggle
  • Body
    {
                                        "data": [
            {
                "id": 1,
                "startNumber": 104,
                "nameGr": "ΤΙΜΟΛΟΓΙΟ ΠΑΡΟΧΗΣ ΥΠΗΡΕΣΙΩΝ",
                "nameEN": "INVOICE",
                "status": true,
                "chargable": true,
                "credit": false,
                "stampDuty": null,
                "holdPreTax": 0,
                "description": "",
                "created": "2013-11-21T01:16:05+0200",
                "updated": "2014-01-16T14:37:34+0200"
            },
            {
                "id": 2,
                "startNumber": 1,
                "nameGr": "ΤΙΜΟΛΟΓΙΟ ΠΩΛΗΣΗΣ",
                "nameEN": "INVOICE",
                "status": true,
                "chargable": true,
                "credit": false,
                "stampDuty": null,
                "holdPreTax": 0,
                "description": "",
                "created": "2013-11-21T01:16:05+0200",
                "updated": "2013-11-21T01:16:05+0200"
            },
            {
                "id": 3,
                "startNumber": 1,
                "nameGr": "ΠΙΣΤΩΤΙΚΟ ΤΙΜΟΛΟΓΙΟ",
                "nameEN": "CREDIT NOTE",
                "status": true,
                "chargable": true,
                "credit": true,
                "stampDuty": null,
                "holdPreTax": 0,
                "description": "",
                "created": "2013-11-21T01:16:05+0200",
                "updated": "2013-11-21T01:16:05+0200"
            }
    }
    

Invoice Types 

Manage an existing invoice type

Show invoice type
/invoicetypes/{id}
  • Response  200Toggle
  • Body
    {
                                        "data": {
            "id": 1,
            "startNumber": 104,
            "nameGr": "ΤΙΜΟΛΟΓΙΟ ΠΑΡΟΧΗΣ ΥΠΗΡΕΣΙΩΝ",
            "nameEN": "INVOICE",
            "status": true,
            "chargable": true,
            "credit": false,
            "stampDuty": null,
            "holdPreTax": 0,
            "description": "",
            "created": "2013-11-21T01:16:05+0200",
            "updated": "2014-01-16T14:37:34+0200"
        }
    }
                                    
  • Response  400Toggle
  • Body
     {
                                        "msg": "Page not found!",
                                        "error": 404
        }
  • Response  500Toggle
  • Body
    {
                                        "msg": "Bad Request: No query results for model [InvoiceType].",
                                        "error": 500
    }
                                    

Payments 

Payments related resources. Your can create new ones or see a list of your payments.

List Payments 

List Payments
/payments
  • Response  200Toggle
  • Body
    {
                                        "data": [
            {
                "id": 1,
                "from": "Lollypop Web Services",
                "invoice": 'f68c24ce-7281-11e4-9c5b-08002798cb50',
                "paymentMethod": 'bank',
                "amount": 1200,
                "information": 'This is a test.',
                "date_occurred": "2014-11-22T00:00:00+0200",
                "created": "2014-11-22T13:36:05+0200",
                "updated": "2014-11-22T13:36:05+0200"
            },
            {
                "id": 10,
                "from": "Δοκιμαστική Ο.Ε",
                "invoice": "f68c24ce-7281-11e4-9c5b-08002798cb51",
                "paymentMethod": 'credit card',
                "amount": 12.75,
                "information": null,
                "date_occurred": "2014-11-22T00:00:00+0200",
                "created": "2014-11-22T21:58:44+0200",
                "updated": "2014-11-22T21:58:44+0200"
            }
        ]
    }
                                    

Payment 

Manage an existing payment

Show payment
/payments/{id}
  • Response  200Toggle
  • Body
    {
                                        "data": {
                "id": 1,
                "from": "Lollypop Web Services",
                "invoice": 'f68c24ce-7281-11e4-9c5b-08002798cb50',
                "paymentMethod": 'bank',
                "amount": 1200,
                "information": 'This is a test.',
                "date_occurred": "2014-11-22T00:00:00+0200",
                "created": "2014-11-22T13:36:05+0200",
                "updated": "2014-11-22T13:36:05+0200"
            }
    }
                                    
  • Response  400Toggle
  • Body
     {
                                        "msg": "Page not found!",
                                        "error": 404
        }
  • Response  500Toggle
  • Body
    {
                                        "msg": "Bad Request: No query results for model [Payment].",
                                        "error": 500
    }
                                    

Expenses 

Expenses related resources. Your can create new ones or see a list of your Expenses.

List Expenses 

List Expenses
/expenses
  • Response  200Toggle
  • Body
    {
                                        "data": [
            {
                "id": 1,
                "InvoiceNum": "A200",
                "company": "Company S.A",
                "vatId": "075959595",
                "doy": null,
                "address": null,
                "amount": 100,
                "tax": "23.00",
                "date": "2014-11-27T00:00:00+0200",
                "created": "2014-11-22T13:36:43+0200",
                "updated": "2014-11-22T13:36:43+0200"
            },
            {
                "id": 2,
                "InvoiceNum": "100",
                "company": "Company Name",
                "vatId": "123123",
                "doy": "Γ' Νίκαιας",
                "address": "Τσαμαδου 80",
                "amount": 12.54,
                "tax": "0.00",
                "date": "2014-12-24T00:00:00+0200",
                "created": "2014-12-23T16:35:58+0200",
                "updated": "2015-01-17T18:11:42+0200"
            }
        ]
    }
                                    

Expense 

Manage an existing expense

Show Expense
/expenses/{id}
  • Response  200Toggle
  • Body
    {
                                        "id": 2,
                                        "InvoiceNum": "100",
                                        "company": "Company Name",
                                        "vatId": "123123",
                                        "doy": "Γ' Νίκαιας",
                                        "address": "Τσαμαδου 80",
                                        "amount": 12.54,
                                        "tax": "0.00",
                                        "date": "2014-12-24T00:00:00+0200",
                                        "created": "2014-12-23T16:35:58+0200",
                                        "updated": "2015-01-17T18:11:42+0200"
    }
                                    
  • Response  400Toggle
  • Body
     {
                                        "msg": "Page not found!",
                                        "error": 404
        }
  • Response  500Toggle
  • Body
    {
                                        "msg": "Bad Request: No query results for model [Expense].",
                                        "error": 500
    }
                                    

Account 

Information regarding your account. Most probably you need to cache this data so you can build your requests

List Account Details 

List Account
/account
  • Response  200Toggle
  • Body
    {
                                        "data": {
            "subscription": {
                "plan": "Pro",
                "starting": "2014-12-02T00:00:00+0200",
                "ending": "2024-12-02T00:00:00+0200",
                "active": true
            },
            "biller": {
                "company": "LOLLYPOP",
                "company_en": "Lollypop WS",
                "afm": "000000000",
                "doy": "Α' ΠΕΙΡΑΙΑ",
                "object": "ΓΡΑΦΙΚΕΣ ΤΕΧΝΕΣ",
                "city": "Πειραιάς",
                "zipcode": "18534",
                "url": "www.billit.io",
                "active": false,
                "street_address": "ΤΣΑΜΑΔΟΥ 000"
            },
            "paymentmethods": [
                {
                    "id": 1,
                    "name": "Κατάθεση σε Τράπεζα",
                    "info": null,
                    "info_en": null
                },
                {
                    "id": 2,
                    "name": "Μετρητά",
                    "info": null,
                    "info_en": null
                },
                {
                    "id": 3,
                    "name": "VivaPayment",
                    "info": null,
                    "info_en": null
                }
            ],
            "taxes": [
                {
                    "id": 1,
                    "name": "23%",
                    "value": "0.230"
                },
                {
                    "id": 2,
                    "name": "13%",
                    "value": "0.130"
                },
                {
                    "id": 3,
                    "name": "0%",
                    "value": "0.000"
                }
            ],
            "created": "2013-11-21T01:16:05+0200"
        }
    }
                                    

Generated by aglio on 20 Jan 2015