🚀 A simple npm package for invoicing that wraps around Keez API.
Please consult Keez API documentation for more information on how to use the API.
npm install keez-invocing
const keezApi = new KeezApi({
application_id: 'KEEZ_APPLICATION_ID',
client_eid: 'KEEZ_CLIENT_ID',
secret: 'KEEZ_SECRET',
user: 'KEEZ_USER',
live: true,
});
const result = await keezApi.getAllInvoices();
console.log(result);
const result = await keezApi.createInvoice({
amount: 400,
currencyCode: 'RON',
itemId: 'KEEZ_ITEM_ID',
partner: {
isLegalPerson: false,
partnerName: 'John Doe',
countryName: 'Romania',
countryCode: 'RO',
countyCode: 'RO.B',
countyName: 'Bucuresti',
addressDetails: 'Str. Comerciala nr. 4',
cityName: 'Bucharest',
identificationNumber: '1234',
},
paymentType: 10,
series: 'exampleSeries',
});
console.log(result);
Contributions, issues and feature requests are welcome!
Copyright © 2023 TPN LABS - All rights reserved. This project is MIT licensed.