{"id":28392133,"url":"https://github.com/afassoftware/afassb-salesjournalentry-dotnet","last_synced_at":"2025-10-05T13:21:37.718Z","repository":{"id":231322603,"uuid":"781479795","full_name":"AFASSoftware/afassb-salesjournalentry-dotnet","owner":"AFASSoftware","description":"AFAS SB .NET Salesjournalentry Scaffolder","archived":false,"fork":false,"pushed_at":"2024-04-03T13:24:50.000Z","size":86,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-26T01:37:26.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AFASSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-03T13:13:42.000Z","updated_at":"2024-04-03T13:18:31.000Z","dependencies_parsed_at":"2024-04-03T14:44:08.602Z","dependency_job_id":null,"html_url":"https://github.com/AFASSoftware/afassb-salesjournalentry-dotnet","commit_stats":null,"previous_names":["afassoftware/afassb-salesjournalentry-dotnet"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AFASSoftware/afassb-salesjournalentry-dotnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AFASSoftware%2Fafassb-salesjournalentry-dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AFASSoftware%2Fafassb-salesjournalentry-dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AFASSoftware%2Fafassb-salesjournalentry-dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AFASSoftware%2Fafassb-salesjournalentry-dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AFASSoftware","download_url":"https://codeload.github.com/AFASSoftware/afassb-salesjournalentry-dotnet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AFASSoftware%2Fafassb-salesjournalentry-dotnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278460888,"owners_count":25990648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-31T11:41:02.307Z","updated_at":"2025-10-05T13:21:37.712Z","avatar_url":"https://github.com/AFASSoftware.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AFAS SB Integration Example\r\n\r\nThis project demonstrates how to integrate with AFAS SB using their APIs.\r\nAFAS SB is a powerful software suite for businesses that includes functionalities such as financial administration.\r\n\r\n## Overview\r\n\r\nThe example application supports various API operations including:\r\n\r\n1. Authorization using PKCE (Proof Key for Code Exchange) to obtain an access token.\r\n2. Retrieving a list of organizations, persons, payment conditions, administrations, and ledger accounts.\r\n3. Sending a sales journal entry.\r\n\r\nThe project consists of two main classes: `AfasAuthClient` and `AfasApiClient`. The `AfasAuthClient` handles the authentication and authorization flow, while the `AfasApiClient` handles the actual API requests and responses.\r\n\r\n## Prerequisites\r\n\r\nBefore you can run this project, you need to provide your AFAS instance details and credentials including client URL, client ID, client secret, and a redirect URI. Please contact your AFAS contact to get these details or use https://partner.afas.nl/aanmelden to get in touch.\r\n\r\nPlease read the [API Documentation](https://docs.afas.help/sb/nl/start)\r\n\r\n## Getting Started\r\n\r\n1. Clone the repository.\r\n\r\n2. Open the solution in your preferred C# development environment, such as Visual Studio.\r\n\r\n3. Update the `Program` class with your AFAS instance details and credentials.\r\n\r\n4. Build and run the application.\r\n\r\nWhen the application runs, it will first authenticate using PKCE, then retrieve some records like organizations and ledger accounts, and finally send a sales journal entry to your AFAS instance.\r\n\r\n## Notes\r\n\r\nThis example application is designed for educational purposes to help developers understand how to integrate with AFAS SB API. Please customize it to meet your specific project requirements and ensure proper error handling, API usage throttling, and other best practices are implemented.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafassoftware%2Fafassb-salesjournalentry-dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafassoftware%2Fafassb-salesjournalentry-dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafassoftware%2Fafassb-salesjournalentry-dotnet/lists"}